-
Notifications
You must be signed in to change notification settings - Fork 90
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
argument error on WebSocketsClient::beginSSL. with the default example. #101
Comments
It happened to me. After some research i realized it has something to do with the board manager In the menu bar, open Tools > Board > Boards Manager. then you should be able to compile without errors |
oh thanks that works ! |
I have version 3.0.2, and I had the same issue. So I added casting to fingerprint in the function beginSSL (const char*) --> (uint8_t*), and then everything was working well. |
Can you give me detail how to do it? |
Open "...Arduino/libraries/SocketIoClient/SocketIoClient.cpp" in your computer, then go to the function "void SocketIoClient::beginSSL(const char* host, const int port, const char* url, const char* fingerprint)" and add " (uint8_t*) " where it is in the following line: Let me know if you still have a problem. |
I was scratching my head for the past two hours thinking why .beginSSL() was showing up even though I am just using the .begin(). Thanks @itaygenkin for the solution; It worked. |
Hi, i been trying to connect to a socket.io server using this library. and im facing a issue. below is the complete stack trace
it seems like a issue with conversion and my code is almost the default example. i have attached it below.
thanks in advance.
The text was updated successfully, but these errors were encountered: