Closed zafersn closed 5 years ago
This does not seem to be a valid issue for the wifi manager
Hi @tonyp7 . I think it is about wifi manager. Because.
I've read and applied a solution for the "mbedtls_net_connect returned -0x52" error. https://stackoverflow.com/a/46749602
It is said that the problem may be the static IP configuration and the missing or incorrect setting of the DNS settings. When I examined the wifimanager configuration, I observed that there was a static IP configuration available.
I have no knowledge about network configuration, so I tried to switch off and try static ip configurations in wifi configuration settings in wifimanager.c and the result was successful. I am no longer receiving the error "aws_iot: failed! Mbedtls_net_connect returned -0x52" . But now after receiving the message "autoreconnect ... Subscribing ... Subscribing Success", I get an error like "MQTT DisconnectAuto Reconnect is Enabled," when I wait before publishing a message. If I want to post a message, I get an error such as "E (58050) aws_iot: failed! Mbedtls_ssl_write returned -0x50".
Hi. I'm trying to connect to aws_iot, but I get "aws_iot: failed! mbedtls_net_connect returned -0x52" error. This error may be a network connection problem. The point I'm curious about is how the network configuration of the aws configuration is trying to connect and how I can select it. I'm using aws embedded c sdk.
and
I call aws_set_event_start() in the following code block.
subscribe_publish_sample.c