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

Azure -c- shared-utility on Raspberry pi #2528

Closed
Chandana-Ramagoni023 opened this issue Sep 8, 2023 · 5 comments
Closed

Azure -c- shared-utility on Raspberry pi #2528

Chandana-Ramagoni023 opened this issue Sep 8, 2023 · 5 comments

Comments

@Chandana-Ramagoni023
Copy link

Chandana-Ramagoni023 commented Sep 8, 2023

Hello,

when I run the application, I'm facing the below issue:

=============================================
------reached to external -----

Creating device Handle

---------Success--------

Error: Time:Fri Sep 8 11:38:28 2023 File:/home/pi/Desktop/RPiLockEmulator-Bluetooth-connectivity/iot-application_Extended/c-utility/src/uws_client.c Func:uws_client_close_async Line:1786 close has been called when already CLOSED
Error: Time:Fri Sep 8 11:38:28 2023 File:/home/pi/Desktop/RPiLockEmulator-Bluetooth-connectivity/iot-application_Extended/c-utility/adapters/tlsio_openssl.c Func:decode_ssl_received_bytes Line:895 SSL channel closed in decode_ssl_received_bytes.
Error: Time:Fri Sep 8 11:38:28 2023 File:/home/pi/Desktop/RPiLockEmulator-Bluetooth-connectivity/iot-application_Extended/c-utility/adapters/tlsio_openssl.c Func:on_underlying_io_bytes_received Line:944 Error in decode_ssl_received_bytes.

I want to send the information from cloud to raspberry pi using mqtt websocket protocol.

@ericwolz
Copy link
Contributor

ericwolz commented Sep 8, 2023

This usually happens if you have two devices that use the same device ID on the hub. If another device connects with the same device ID, the previous device connection will be closed by the service.

@Chandana-Ramagoni023
Copy link
Author

This usually happens if you have two devices that use the same device ID on the hub. If another device connects with the same device ID, the previous device connection will be closed by the service.

How to check the devices which are having same device id?

@ericwolz
Copy link
Contributor

look at you other devices on the hub and see what device ID thay are connection with.

Try and change the name of this device 'RaspPi-Gateway-1' to some other name.

@Chandana-Ramagoni023
Copy link
Author

look at you other devices on the hub and see what device ID thay are connection with.

Try and change the name of this device 'RaspPi-Gateway-1' to some other name.
Yeah i had given the other connection string even through it is throwing the same errors. Please help me in solving this. Thanks in advance.

@ericwolz
Copy link
Contributor

What is the new device ID? The server logs shows you have two devices trying to use the same device ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants