TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
975 stars 306 forks source link

Unable to configure an LBS gateway in LNS mode on port 443 #5299

Closed ymgupta closed 1 year ago

ymgupta commented 2 years ago

Summary

TTS Cloud and TTS Community Edition support connecting LBS gateways in LNS mode on port 443. But, there is a bug on The Things Stack end that needs to be fixed to get this working.

Previous Context: https://github.com/TheThingsIndustries/lorawan-stack-support/issues/724

Steps to Reproduce

What do you see now?

What do you want to see instead?

Connect LBS gateway to TTS cloud in LNS mode on port 443.

Environment

TTS v3.18.1

How do you propose to implement this?

...

How do you propose to test this?

...

Can you do this yourself and submit a Pull Request?

No.

onsolutionjames commented 2 years ago

Hi @ymgupta. I've been having similar issues with LNS on port 443 - I think it's two main things, see my existing Github issues and proposed fixes here:

So from my testing I can get it to work on 443 on a local install, however a The Things Industries support person has suggested that they don't support LNS on port 443 for TTS Cloud and TTS Community Edition. See this thread for some history.

See this specific reply in the forum about what you need to configure in your server/reverse-proxy to get it to work for self-hosted installs.

Perhaps after my fixes have gone through, they can make the additional changes needed that @htdvisser suggested in the forum (my guess is some kind of config changes to the Envoy proxy that they use?)

KrishnaIyer commented 2 years ago

I found the problem. It's an issue with our AWS configuration. This will be fixed as part of https://github.com/TheThingsIndustries/lorawan-stack-aws/issues/672

KrishnaIyer commented 1 year ago

The required change is merged to our infrastructure templates. This change will be deployed in v3.23.0