[Deprecated Version] Failed to connect to server using basic client - Error code: -1 #258
Replies: 4 comments 2 replies
-
That library is end of life and I have always said that the support is also ended. The new library is better in any kind e.g. flexibility, speed, code size, reliability, performance, simple API, network independent, portable etc. No need to migrate as both library design concepts are different, but you can make your old code to work by deleting The new library is network independent and does nothing with network library you used (WiFi/Ethernet/GSM). There is no network set up in the new Firebase library. And no filesystem set up as the library is filesystem independent too. The only thing you have to do is making your network/SSL client that can connect to the network and server as usual. |
Beta Was this translation helpful? Give feedback.
-
At the time I'm posting the Github frontend system is error. As I said that this library does nothing with your network library, but the example code is also provided when working with Ethernet and mobile modem (GSM/LTE). Please see the initModem() function and how to use ESP_SSLClient in this example. |
Beta Was this translation helpful? Give feedback.
-
At the time I'm posting the Github frontend system is error. As I said that this library does nothing with your network library, but the example code is also provided when working with Ethernet and mobile modem (GSM/LTE). Please see the initModem() function and how to use ESP_SSLClient in this example. |
Beta Was this translation helpful? Give feedback.
-
The error is because the old Firebase library does not detect the modem you used. ERROR.mConnectBasicClient: Failed to connect to server using basic client Make sure that you define the macro TINY_GSM_MODEM_???? in the old library config file and in your sketch. If you are using TinyGSMClient forked library from device developer that some new macros TINY_GSM_MODEM_???? are added and the old Firebase library does not know them, you cannot use that forked TinyGSMClient library, use the official TinyGSMClient library instead. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @mobizt,
Could you help us understand what Error code: -1 represents in this context?
Is there any known workaround or patch we can apply while still using this deprecated version?
Is the issue possibly related to ESP_SSLClient handshake or unstable GSM connections?
We truly appreciate the work you’ve done and understand if official support is limited. Any advice would still be very helpful.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions