-
Notifications
You must be signed in to change notification settings - Fork 149
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
Websocket cloud server connection issue #36
Comments
Hi, You could try #define OCPP_HOST "splendidwasp21.loca.lt"
#define OCPP_PORT 9055
#define OCPP_URL "ws://splendidwasp21.loca.lt/v1.6/alpha" Otherwise, you can play a little bit around by exchanging the canonical names with the IP address or adding the port number to the The best way to debug it, is to start a test sketch with the WebSockets library only. Markus's example sketches get you started very quickly. To mimic an OCPP connection, you have to change the If the WebSocket connection works but you observe that the library fails to upgrade the connection to OCPP, please open a new issue. |
this issue is fixed as per above url suggestion |
I am unable to connect NodeMCU to the OCPP server hosted in cloud while able to connect in localhost with IP : 192.168.1.11:9055/v1.6/alpha
The same OCPP cloud server can be connected from chrome extension Websocket King Client.
There is no SSL enabled on cloud
Sample URL :
ws://splendidwasp21.loca.lt/v1.6/alpha.
Node MCU main.cpp macro definitions for server
#define OCPP_HOST "splendidwasp21.loca.lt"
#define OCPP_PORT '\0'
#define OCPP_URL "v1.6/alpha"
Is the above assignment correct to connect to cloud server.
if not what is the right way to connect to cloud server. Is something needs to be added during initialisation?
The text was updated successfully, but these errors were encountered: