aws/aws-iot-device-sdk-js

Not able to connect to wss through network proxy

karanberiwal opened this issue · 4 comments

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
});

How to provide network proxy support for the above device

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.

⚠️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.

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