Skip to content

Connection issue after updating 3.3.6 #251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sekertr opened this issue Apr 17, 2025 · 15 comments
Closed

Connection issue after updating 3.3.6 #251

sekertr opened this issue Apr 17, 2025 · 15 comments

Comments

@sekertr
Copy link
Contributor

sekertr commented Apr 17, 2025

After the 3.3.6 update, I have a connection issue. It tries to connect but never connects. I have tried restarting Home Assistant or restarting the addon but to no avail.

n8n add on version: 3.3.6
HA Core: 2025.4.2
HA Supervisor: 2025.04.0
HA Operating System: 15.2
HA Frontend: 20250411.0

@sekertr
Copy link
Contributor Author

sekertr commented Apr 17, 2025

Image

@Rbillon59
Copy link
Owner

Hello,

Could you send the logs of the addon ?

Thank you

@sekertr
Copy link
Contributor Author

sekertr commented Apr 17, 2025

changed my url to https://homeasistant.mydomain.com

logs.txt

@sekertr
Copy link
Contributor Author

sekertr commented Apr 18, 2025

I went back to version 3.3.5 and everything works.

@ffMathy
Copy link
Collaborator

ffMathy commented Apr 18, 2025

I think this needs to be reported on n8n's repo. It fails for me too on localhost, but if I load it via the Nabu Casa remote URL, it works.

@denug
Copy link

denug commented Apr 19, 2025

same on my end, connection lost keeps blinking inside app so I went to backup 3.3.5 until fix is posted

@sekertr
Copy link
Contributor Author

sekertr commented Apr 20, 2025

This problem was also reported in the n8n repo. Everyone downgrade to version 1.8.6 because 1.8.8 was not working.

@pepelatc
Copy link

same problem!

@ffMathy
Copy link
Collaborator

ffMathy commented Apr 22, 2025

@sekertr can you link to the issue on n8n's repo?

@ffMathy
Copy link
Collaborator

ffMathy commented Apr 22, 2025

Progress tracked here: n8n-io/n8n#14769

As soon as that fix comes out, we'll update the addon too. Closing now, as this is not in our scope, but an N8N problem instead.

@ffMathy ffMathy closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2025
@gbertsch
Copy link

Anyone find a workaround for NPM (Nginx Proxy Manager) ?

@sekertr
Copy link
Contributor Author

sekertr commented Apr 29, 2025

After updating to the latest version (v3.3.9) I realized something.

I don't have n8n connection problem in local network, but in versions released after 3.3.5, although the configuration is the same, the connection error persists in remote connections.

Summary

after version 3.3.5:

@sekertr
Copy link
Contributor Author

sekertr commented May 3, 2025

I had time to look into this connection issue after a long time. With the last update(3.4.0), the disconnection problem was still there for me. When I looked deeper, it couldn't connect due to websocket's origin error, so it was getting a 'connection lost' error.

I forked this repo to test my homeassistant and change some parameters in nginx.conf file and its working good in last update.

Here is what I added to nginx configuration:

proxy_set_header Origin $scheme://$http_host
proxy_cache off
proxy_buffering off

Full nginx.conf file can be found here

@ffMathy @Rbillon59

@ffMathy
Copy link
Collaborator

ffMathy commented May 3, 2025

Well, in that case, let's get it merged in. Create a PR and we'll get it shipped.

@ffMathy
Copy link
Collaborator

ffMathy commented May 3, 2025

PR here: #266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants