I’m using n8n self hosted.
Adding the Google Drive OAuth credentials window shows the given redirect url which contains the port 5678
https://…:5678/…
With that port inside the url Google cant find the server.
I´m always getting a: ERR_CONNECTION_TIMED_OUT
I think that if I could remove the port within the redirect url it would solve my problem.
But I cannot edit the url.
Has anyone an idea how to solve the problem?
I think that I cannot be the only one struggeling here.
thanks in advance!
Tom
Hi @Tom_Jaud
In your environment variables, include this setting.
WEBHOOK_URL=https://yourdomain.com/
What is your self hosted url?
Here is the docker-compose.yml
rbreen
4
@Tom_Jaud
Is this what you are using for the redirect?
https://n8n.drgreen.at/rest/oauth2-credential/callback
In n8n it says I have to use this link:
(https://n8n.drgreen.at:5678/rest/oauth2-credential/callback)
And in Google I´ve tried both, with and without port
And this is the /opt/n8n/Caddyfile:
n8n.drgreen.at {
reverse_proxy n8n:5678
}