Skip to content

Problems with docker image #16

@mmzeynalli

Description

@mmzeynalli

Good day,
I recently wrote an OCPP application and wanted to test it with this nice simulator tool. However, when I run it in docker, I get error messages and empty web pages:

[MO] ERROR (FilesystemUtils.cpp:96): Could not open file ./mo_store/simulator.jsn
[MO] ERROR (ConfigurationContainerFlash.cpp:264): could not save configs file: ./mo_store/simulator.jsn
[MO] ERROR (FilesystemUtils.cpp:96): Could not open file ./mo_store/ws-conn.jsn
[MO] ERROR (ConfigurationContainerFlash.cpp:264): could not save configs file: ./mo_store/ws-conn.jsn
[MO] ERROR (FilesystemUtils.cpp:96): Could not open file ./mo_store/bootstats.jsn
[MO] ERROR (FilesystemUtils.cpp:96): Could not open file ./mo_store/opstore.jsn
[MO] ERROR (ConfigurationContainerFlash.cpp:264): could not save configs file: ./mo_store/opstore.jsn
[MO] ERROR (FilesystemUtils.cpp:96): Could not open file ./mo_store/txstore.jsn
[MO] ERROR (ConfigurationContainerFlash.cpp:264): could not save configs file: ./mo_store/txstore.jsn
[MO] ERROR (FilesystemUtils.cpp:96): Could not open file ./mo_store/ocpp-config.jsn
[MO] ERROR (ConfigurationContainerFlash.cpp:264): could not save configs file: ./mo_store/ocpp-config.jsn
[MO] ERROR (FilesystemUtils.cpp:96): Could not open file ./mo_store/client-state.jsn
[MO] ERROR (ConfigurationContainerFlash.cpp:264): could not save configs file: ./mo_store/client-state.jsn
[MO] ERROR (FilesystemUtils.cpp:96): Could not open file ./mo_store/reservations.jsn
[MO] ERROR (ConfigurationContainerFlash.cpp:264): could not save configs file: ./mo_store/reservations.jsn
[MO] info (MicroOcpp.cpp:344): initialized MicroOcpp v1.1.0
[MO] ERROR (FilesystemUtils.cpp:96): Could not open file ./mo_store/simulator.jsn
[MO] ERROR (ConfigurationContainerFlash.cpp:264): could not save configs file: ./mo_store/simulator.jsn
[MO] ERROR (FilesystemUtils.cpp:96): Could not open file ./mo_store/simulator.jsn
[MO] ERROR (ConfigurationContainerFlash.cpp:264): could not save configs file: ./mo_store/simulator.jsn
[MO] warning (MicroOcppMongooseClient.cpp:474): Insecure connection (WS)
[MO] info (MicroOcppMongooseClient.cpp:478): connection ws://echo.websocket.events/charger-01 -- connected!
[MO] Recv: echo.websocket.events sponsored by Lob.com
[MO] warning (RequestQueue.cpp:182): Invalid input! Not a JSON
[MO] warning (MicroOcppMongooseClient.cpp:484): processing input message failed
[MO] Send: [2,"1000000","BootNotification",{"chargePointModel":"MicroOcpp Simulator","chargePointVendor":"MicroOcpp"}]
[MO] Recv: [2,"1000000","BootNotification",{"chargePointModel":"MicroOcpp Simulator","chargePointVendor":"MicroOcpp"}]
[MO] Send: [3,"1000000",{"currentTime":"2022-01-28T11:59:55.000Z","interval":86400,"status":"Accepted"}]
[MO] Recv: [3,"1000000",{"currentTime":"2022-01-28T11:59:55.000Z","interval":86400,"status":"Accepted"}]
[MO] info (BootNotification.cpp:91): request has been Accepted
[MO] info (StatusNotification.cpp:53): New status: Available (connectorId 0)
[MO] info (StatusNotification.cpp:53): New status: Available (connectorId 1)
[MO] info (StatusNotification.cpp:53): New status: Available (connectorId 2)

And there is no station/connectors in web page:

image
image

I am using MacOS 13.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions