Hi everybody,
I would need some help in running a certain workflow on the KNIME Server (WebPortal). The workflow correctly run locally in the Analytics Platform but when I try to run it on the server it gives me the following warnings and errors:
WARN : pool-4-thread-3 : 64423b22-051e-4f41-b903-404412f696aa : Node : Credentials Configuration : 3:30:0:8 : No password set after loading workflow - reconfigure the node to fix it
ERROR : KNIME-Worker-178-PostgreSQL Connector 3:1197:0:3 : 64423b22-051e-4f41-b903-404412f696aa : Node : PostgreSQL Connector : 3:1197:0:3 : Execute failed: The server requested password-based authentication, but no password was provided by plugin null
org.postgresql.util.PSQLException: The server requested password-based authentication, but no password was provided by plugin null
The workflow contains a component with a Credentials Configuration node with which credentials to access a remote PostgreSQL database instance (Amazon RDS) are set. These credentials shouldn’t be asked to the webportal user and for this reason I used a Credentials Configuration instead then a Credentials Widget. I realised that when I export the workflow to the KNIME server, password on the Credential Configuration node is reset.
I tried defining database username and password as workflow credentials, as workflow variables and also inside the workflow, passing them from a Table Creator node to the Credentials Configuration node as flow variables but any of these 3 trials triggered the warning and error reported above.
- In this case what would be the best practices to allows the workflow to run and so access the RDS?
- Any suggestion to avoid the error?
Thanks in advance,
Gio