Error when trying to connect to Oracle

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @LEANDRO_TI, while you wait for a response, here are some things that might help:

Suggested resources

Automatically matched to your question.

Docs:

Forum:

@Buggy_Arbor, @Pranav_Son, @nebelwaende.de - you’ve helped with similar issues before, can you take a look?

Automatically suggested by n8n’s community bot. It’s a pilot - please share feedback here.

This is happening because your database user is using a password hash with the older 11G-compatible format which isn’t supported by Thin mode. Thin mode only speaks with the newer 12c verifier.

You can fix this by resetting the user’s password on the Oracle side so it regenerates with the 12c verifier. It works if ‘SQLNET.ALLOWED_LOGON_VERSION_SERVER’ on your DB allows it.

If you are unable to touch the DB configuration you would need Thick mode instead. N8n’s Oracle credential does not currently expose that so it would be rather hard to do.

You should try to check the 'SELECT password_versions FROM dba_users WHERE username = ‘N8N_USER’;` to confirm which verifiers there are for that account.

yeah I did that the user was created to use 10G 11G 12C and still I can’t manage it.

That will only control which verifier version the server is going to accept; it won’t regenerate the hash for an existing password. It may still be missing the 12C verifier entirely if the password was created before the parameter changed.

Now that the parameter allows it try an actual password reset with: ALTER USER N8N_USER IDENTIFIED BY “same_or_new_password”;

Then go and re-check: SELECT password_versions FROM dba_users WHERE username = ‘N8N_USER’;

If 12C is still not showing up the listener/db may need a restart from the change to actually take effect.

And still it doesn’t work.

The screenshot confirms that the DB side is fine. Here’s what to check for next to make sure everything is working good.

Did you re-enter the password in the n8n credential itself after the ALTER USER? n8n stores the credential separately, so if you didn’t resave it there with the new password it is still going to try to authenticate against the old one.

Next you can check sqlnet.ora on the server for “SQLNET.ALLOWED_LOGON_VERSION_SERVER” even though you have 12C available, if that is set to something like 11 the server may still be trying to negotiate with the older verifier by default. It needs to be a 12a minimum to force through an auth that is compatible with Thin-mode.

Can you confirm that you resaved the n8n credential with the exact new password, and then paste the current value of SQLNET.ALLOWED_LOGON_VERSION_SERVER?