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

Nucleus: support for MQTT over Websockets #1662

Open
1 of 2 tasks
aslafy-z opened this issue Sep 24, 2024 · 1 comment
Open
1 of 2 tasks

Nucleus: support for MQTT over Websockets #1662

aslafy-z opened this issue Sep 24, 2024 · 1 comment
Labels
needs-triage Needs eyeballs

Comments

@aslafy-z
Copy link

Feature Description
I would like Nucleus to connect to IoT Core with MQTT over Websocket. I've seen this was possible in the past and automatically enabled when using a proxy, but could not find this feature now. Is it still a thing?

Use Case
IoT core is fronted by a nginx proxy. Every requests are TLS SNI analyzed and routed according to the proxy target.
I would prefer not having to setup a specific port with the stream protocol, instead use the built-in websocket support.

Proposed Solution
Add a mqtt.websocket which defaults to false and configures the transport to talk to the websocket endpoint of IoT Core.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change
@aslafy-z aslafy-z added the needs-triage Needs eyeballs label Sep 24, 2024
@aws-kevinrickard
Copy link
Member

Hi @aslafy-z ,

MQTT over Websockets was removed because it's no longer required for use over a proxy; See #994

If you need to use port 443 for the MQTT connection when using a proxy (so that you don't need to use port 8883), Greengrass supports this when connecting over a proxy: https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-alpn-network-proxy , and can be configured : https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-mqtt-port-443

Do you still have a need for MQTT over a websocket over a proxy?

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

No branches or pull requests

2 participants