Problems setting up HighLevel OAuth2 API

Hey I’m trying to set up HighLevel API.
I’m able to follow every step but when I log in in the platform I have the error ssl_error_rx_record_too_long in Mozilla and ERR_SSL_PROTOCOL_ERROR in Google Chrome in the URL https://n8n.agileadad.io:5678/rest/oauth2-credential/callback?code=cdec8b1530356335d706a44a8a51f2d81b1b2cc8&state=eyJ0b2tlbiI6IkZ1cW1XTXR6LTZJZGRRWXlmYll5dXpTYktMU3RZMlJNd1kzSSIsImNpZCI6ImtrakptTkJRT3lqRW1IUk4ifQ%3D%3D

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

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

The information is there! Thank you for your automated reply :slight_smile:

Hey @Federico_Quiroga_Diz,

Welcome to the community :tada:

Most of the information is there, You have not included your OS or the executions process which is why the bot replied :smiley:

To answer your question your URL doesn’t look right to me, If you look at it you have the port in it still so I suspect you have set n8n_protocol to https and the host to your url but you have not set WEBHOOK_URL to https://n8n.agileadad.io, Can you try this and stop / start n8n and verify that the oauth redirect url has changed to not include the port then try again.

Thank you Jon, to be completly honest I don’t have a clue on how to do that.
My OS is Debian 12. How do I set WEBHOOK_URL to https://n8n.agileadad.io ?

Thank you again for your explanation and generosity
I checked in the /root/ecosystem.config.js and this is what I see


For what I understand the Webhook_URL si set to “https://n8n.agileadad.io/
Am I understanding it too wrong?