Skip to content
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

Tunnel connection Issue in Cloud #1624

Open
TheSundayDev opened this issue Dec 22, 2024 · 2 comments
Open

Tunnel connection Issue in Cloud #1624

TheSundayDev opened this issue Dec 22, 2024 · 2 comments

Comments

@TheSundayDev
Copy link

Hi all,
thanks for this library.
I'm using it and everything is ok on local but when i move my code in cloud (eg aws lamda) I have this error even if params are ok:

Tunnel connection could not be established

I try also from a remote computer outside my netwrok and it works but when I move to cloud it doesn't work.
I think it' s network issue but the network is open.
Any suggestion?

thanks a lot

@farmio
Copy link
Member

farmio commented Dec 22, 2024

Hi 👋!
I hope you know what you are doing there - having access to a KNX IP interface from the internet is almost never a good idea. That said, if the connection fails, you should usually see a stack trace revealing more info.

@TheSundayDev
Copy link
Author

hi,
thanks for your reply.
I'm just testing in a dev environment.
I have just this message:
File "/opt/python/xknx/io/tunnel.py", line 209, in _connect_request
xknx.exceptions.exception.CommunicationError: ConnectRequest failed. Status code: None

thanks

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

2 participants