-
Hello, when I change and re-upload my config at ESP8266 in a short time, it is not possible to get the auth. token for some hours. After that also the old config or a sample config from the library does not work anymore. Error code: Everything else worked before :/ |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Check your internet connection and the free heap. The message "Not connect" caused by the internet connection issue. If free heap memory is too low, the SSL client will fail to perform the SSL handshake and then can't establish connection to server. You should debug WIFi and SSL which are available from IDE debug options. |
Beta Was this translation helpful? Give feedback.
-
You should explain "re-upload config" I didn't get it. |
Beta Was this translation helpful? Give feedback.
-
The config is shared usage in the library which pass to function as pointer and keep some operating data inside. Don't store/restore or swap the config data as you will break the authentication info that keep inside by the library. Config contains dynamic data that temporary stored by library e.g. timeout, session data instead of user static data only. |
Beta Was this translation helpful? Give feedback.
Check your internet connection and the free heap.
The message "Not connect" caused by the internet connection issue.
If free heap memory is too low, the SSL client will fail to perform the SSL handshake and then can't establish connection to server.
You should debug WIFi and SSL which are available from IDE debug options.