Closed BradleyNeild closed 6 months ago
If you have Steve and microOcpp in different docker networks, then the "localhost" for microOcpp docker is different, and won't see your application. I have tried to host a forward web socket with ngrok, and put ngrok link in the web view of the simulator, however, it still is not connected. The next step might be creating a network between two containers and use localhost, but have not tried that yet.
Creating a network in my SteVe docker-compose.yml and running MicroOcppSimulator on that network allowed me to connect with the IP given by the SteVe console. Thanks!
Would you be kind to show how you integrated simulator to your docker environment?
I am able to connect to SteVe locally using a simple websocket script, but when attempting to connect using MicroOcppSimulator with the same WebSocket URL, I receive a connection error. No logs appear in the SteVe console, so the connection attempt is not reaching SteVe.
I'm using Docker for both, SteVe 3.6.0, and the latest release of MicroOcppSimulator.
Working code: