main ProfileManager Could not download profiles from http://127.0.0.1:8080/knime/rest/v4/profiles/contents

Hi,

after our upgrade from 4.10 → 4.12
I cannot get the config to work :frowning:

Every time I start the executor with a profile I get:
main ProfileManager Could not download profiles from http://127.0.0.1:8080/knime/rest/v4/profiles/contents

I set the knime.ini:
-profileLocation
http://127.0.0.1:8080/knime/rest/v4/profiles/contents
-profileList
executor

Also tried
-profileLocation
http://localhost:8080/knime/rest/v4/profiles/contents
-profileList
executor

As well as
Also tried
-profileLocation
http://serverIP:8080/knime/rest/v4/profiles/contents
-profileList
executor

Not quite sure if I put the wrong executor.epf format into (as the installer did not create the folder nor the sample in the folder)

In workflow_repository/config/client-profiles

file_export_version=3.0
/instance/org.knime.workbench.core/database_timeout=7200
/instance/org.knime.database/drivers/tera/database_type=default
/instance/org.knime.database/drivers/tera/description=TeraDB
/instance/org.knime.database/drivers/tera/driver_class=com.teradata.jdbc.TeraDriver
/instance/org.knime.database/drivers/tera/name=com.teradata.jdbc.TeraDriver
/instance/org.knime.database/drivers/tera/paths/0=/opt/…/software/jdbc-jars/TeradataJDBC
/instance/org.knime.database/drivers/tera/url_template=jdbc:teradata://db_id
/instance/org.knime.database/drivers/tera/version=16.10.0

Can you confirm that within that directory there is another folder named executor, which contains the epf, i.e. workflow_repository/config/client-profiles/executor/executor.epf?

Can you try to curl http://serverip:8080/knime/rest/v4/profiles/contents?

Did you adjust the server.xml such that it only allows https?

1 Like

Hi @Marten_Pfannenschmidt ,

yes I think that was the problem!
Thank you so much! :slight_smile:

Still one questions - I setup the JDBC config in the executor (old and new) and exported the executor.epf
However it does not seem to get the legacy drivers in the file.
Do I have to set them up somewhere else?

By saying legacy drivers, are you referring to jdbc drivers you have registered for the legacy DB framework? Those also need to be configured via preferences, but by using another parameter (/instance/org.knime.workbench.core/database_drivers=<<-list-of-paths-to-drivers->>)

1 Like

Hi @Marten_Pfannenschmidt ,

thanks - that was the problem :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.