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

Connection Not Accepted: 0x3: Server Unavailable #16

Open
besso-exceline opened this issue Jul 12, 2019 · 1 comment
Open

Connection Not Accepted: 0x3: Server Unavailable #16

besso-exceline opened this issue Jul 12, 2019 · 1 comment

Comments

@besso-exceline
Copy link

Hi,

ESP32 crashes and reboots when connection time occures with Azure IoT hub: error message:

Info: >>>Connection status: timeout
Info: >>>Re-connect.
Info: Initializing SNTP
Info: SNTP initialization complete
Info: IoT Hub SDK for C, version 1.1.23

iothubtransport_mqtt_common.c Func:mqtt_operation_complete_callback Line:1234
Connection Not Accepted: 0x3: Server Unavailable

Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4016c199 PS : 0x00060c30 A0 : 0x800d6824 A1 : 0x3ffb1b90
A2 : 0x00000000 A3 : 0x3ffb1bcc A4 : 0x00000040 A5 : 0x00000151
A6 : 0x0000000a A7 : 0x3ffbc5b0 A8 : 0x00000003 A9 : 0x3ffb1b60
A10 : 0x00000000 A11 : 0x3ffb1bcc A12 : 0x00000004 A13 : 0x00000004
A14 : 0x00000001 A15 : 0x3ffc893c SAR : 0x00000008 EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000038 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff

Backtrace: 0x4016c199:0x3ffb1b90 0x400d6821:0x3ffb1bb0 0x4016bcbf:0x3ffb1c30 0x400e008b:0x3ffb1c50 0x400de755:0x3ffb1c80 0x400dec75:0x3ffb1cf0 0x400daa8d:0x3ffb1d10 0x400d5694:0x3ffb1d40 0x400d5716:0x3ffb1d80 0x400d58c1:0x3ffb1da0 0x400d4118:0x3ffb1dc0 0x400e1f29:0x3ffb1fb0 0x40088e01:0x3ffb1fd0

Rebooting...
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:8424
ho 0 tail 12 room 4
load:0x40080400,len:5868
entry 0x4008069c

@TsaiRongFu
Copy link

I am the same situation. I don't know if there is any solution.

Initializing...

WiFi
Connecting...
...WiFi connected
IP address:
192.168.0.108
IoT Hub
Info: Initializing SNTP

Info: SNTP initialization complete

Info: IoT Hub SDK for C, version 1.1.23

Error: Time:Sun Sep 1 12:09:49 2019 File:C:\Users\user\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\libraries\AzureIoT\src\az_iot\iothub_client\src\iothubtransport_mqtt_common.c Func:mqtt_operation_complete_callback Line:1234 Connection Not Accepted: 0x5: Not Authorized

Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x40169b95 PS : 0x00060230 A0 : 0x800d4808 A1 : 0x3ffb1d80
A2 : 0x00000000 A3 : 0x3ffb1dbc A4 : 0x00000040 A5 : 0x00000134
A6 : 0x0000000a A7 : 0x3ffbc5b0 A8 : 0x00000003 A9 : 0x3ffb1d50
A10 : 0x00000000 A11 : 0x3ffb1dbc A12 : 0x00000004 A13 : 0x00000004
A14 : 0x00000001 A15 : 0x3ffc8524 SAR : 0x00000008 EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000038 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff

Backtrace: 0x40169b95:0x3ffb1d80 0x400d4805:0x3ffb1da0 0x40169697:0x3ffb1e20 0x400de06f:0x3ffb1e40 0x400dc739:0x3ffb1e70 0x400dcc59:0x3ffb1ee0 0x400d8a71:0x3ffb1f00 0x400d3644:0x3ffb1f30 0x400d2635:0x3ffb1f70 0x400dfc1f:0x3ffb1fb0 0x40088b69:0x3ffb1fd0

Rebooting...
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:8424
ho 0 tail 12 room 4
load:0x40080400,len:5868
entry 0x4008069c

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

No branches or pull requests

2 participants