aws / aws-iot-device-sdk-js

SDK for connecting to AWS IoT from a device using JavaScript/Node.js
Apache License 2.0
965 stars 385 forks source link

Not able to connect to wss through network proxy #394

Closed karanberiwal closed 2 years ago

karanberiwal commented 2 years ago

I am trying to connect to wss://<> through network proxy but i am getting connection timeout.

code snippet:

const device = deviceModule({ protocol: "wss-custom-auth", customAuthHeaders: { }, clientId: clientId, region: config.region, port: config.port, host: config.host, debug: config.debug });

karanberiwal commented 2 years ago

How to provide network proxy support for the above device

jmklix commented 2 years ago

As mentioned in this issue it's probably blocking the web socket upgrade. The previously mentioned issue was set as a feature request, but it was never added to this sdk. Please take a look the v2 sdk as we are no longer accepting any feature requests for this v1 sdk.

github-actions[bot] commented 2 years ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

bhaskars99 commented 2 years ago

@karanberiwal i'm having same issue. is there any break through for this?