aws / aws-iot-device-sdk-js

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

when we generate build file with aws-iot-device-sdk in node js .. it has connection issue.. #421

Closed patson12 closed 1 year ago

patson12 commented 1 year ago

Describe the bug

Hello, i have an node app using aws-iot-device-sdk working fine in development mode when i change it in production mode and create executable file with pkg. using this lib https://www.npmjs.com/package/pkg.. it gives me connection error.. otherwise its working finewhen i run through source code.. only issue with executable linux file..

Expected Behavior

it should work as smooth and without bugs like development mode..

Current Behavior

connection issue i guess. its in production mode error so cant clearly rectifyu..

Reproduction Steps

just created pkg file with aws-iot-client ..

Possible Solution

No response

Additional Information/Context

No response

SDK version used

version": "2.2.12

Environment details (OS name and version, etc.)

linux, node 14.17.0, npm 6.14.14

yasminetalby commented 1 year ago

Hello @patson12 ,

Thank you very much for your new submission.

As requested previously could you please provide more information on this issue. What is the exact connection error message are you receiving?

Best,

Yasmine

patson12 commented 1 year ago

hello yasmine , now my problem is solved .. it was permission issue when we create executable files.. thank you so much for your help :)

yasminetalby commented 1 year ago

Hello @patson12,

Thank you very much for the update on both submission! I am glad to hear that your issue was resolved.

If you have any questions or need any support in the future, feel free to reach out with an issue submission or discussion. I will be happy to assist you.

I wish you a great day!

Sincerely,

Yasmine

github-actions[bot] commented 1 year 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.