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

No connection to eu1.cloud.thethings.network #9

Open
OZ1BV opened this issue Nov 18, 2021 · 4 comments
Open

No connection to eu1.cloud.thethings.network #9

OZ1BV opened this issue Nov 18, 2021 · 4 comments

Comments

@OZ1BV
Copy link

OZ1BV commented Nov 18, 2021

Hi

I have 2 gateways, one that uses the ESP8266 library v3.0.2 and another using v2.7.4 and none of them are able to connect.
The RFM is initialized and WiFi is up and running.

I have created 2 gateways using the console (https://eu1.cloud.thethings.network/console/gateways) and I am 100% sure that the ID's are correct. The port is not changed so it should be ok (1700).
The status is continuously "Disconnected" for both.

I see no error output in the "Wan Server connection console log" so I have no idea about what is wrong.
The gateways are seeing packages and seems to forward them.

Best regards, Brian

@pulsartronic
Copy link
Owner

Hello @OZ1BV , check that your router hasn't an active firewall .... communication between the gateway and TTN is over UDP, and some routers are configured by default to allow outgoing packets but not incoming ones, thus, TTN receives your data yet the gateway receives no acknowledge at all, which is needed to show as "connected" ... if you don't know how to set it up, try another connection/router to see if it is the case

@OZ1BV
Copy link
Author

OZ1BV commented Nov 23, 2021

Hi again

The router has no active FW and I had a Raspberry pi that acted like a gateway without problems.
Beside this I am using VOIP.

Best regards, Brian

@OZ1BV
Copy link
Author

OZ1BV commented Nov 26, 2021

I got access to a remote Linux machine outside my home and I have configured the local router to forward UDP traffic on port 1700. I am able to send UDP messages to this machine. Then I changed the host on the LoRa gateway to the remote Linux machines external IP-address. I am using netcat. This is the raw console output:

oz8sma@SMA01 ~ $ nc -l -u -p 1700
�����[���KH4��[��[���KH4��9��[���KH4��i�[���KH4{"stat":{"lati":1,"long":1,"alti":1,"rxnb":0,"rxok":0,"rxfw":0,"ackr":0,"dwnb":0,"txnb":0}}�n���[���KH4�����[���KH4��&��[���KH4�-#�[���KH4{"stat":{"lati":1,"long":1,"alti":1,"rxnb":0,"rxok":0,"rxfw":0,"ackr":0,"dwnb":0,"txnb":0}}�����[���KH4�$9��[���KH4

This is making me 100% sure that my local router is not blocking the traffic.
But, I am not sure how to test if incoming packages are rejected. I will be back later when I have figured this out.

@rena2019
Copy link

Hey guys, is it still possible to use this single channel packet forwarder? Or is it not working anymore because TTN is blocking such forwarder?

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

3 participants