Skip to content

Update pubSubTest.ino to remove intermittent DNS bug#8

Open
paulmand3l wants to merge 1 commit intoExploreEmbedded:masterfrom
paulmand3l:patch-2
Open

Update pubSubTest.ino to remove intermittent DNS bug#8
paulmand3l wants to merge 1 commit intoExploreEmbedded:masterfrom
paulmand3l:patch-2

Conversation

@paulmand3l
Copy link

Prior to this change, certain network settings would yield aws_iot: failed! mbedtls_net_connect returned -0x52 most of the time (though would occasionally work). -0x52 indicates a DNS problem. I honestly have no idea why that would be related to trying to execute WiFi.begin(...) more than once.

However, this change resolves the error for me.

Prior to this change, certain network settings would yield `aws_iot: failed! mbedtls_net_connect returned -0x52` most of the time (though would occasionally work). -0x52 indicates a DNS problem. I honestly have no idea why that would be related to trying to execute `WiFi.begin(...)` more than once.

However, this change resolves the error for me.
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

Successfully merging this pull request may close these issues.

1 participant