What is causing this connection error for running an ETA consumer in a Docker container?

We are trying run an ETA consumer application in a docker container and when we try to connect to a specific endpoint we are getting this error.

channelInactive fd=4 <<Impl/ripcsrvr.c:6068> Error: 1002 Could not read IPC Mount Ack.  Connection attempt has failed. System errno: (115) 

Is there something that needs to be done in order to have the connection go through and stay open? It is looking as though we are able to get a connection but it is automatically closing.

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

    I can run an ETA consumer example properly in a docker container. Please refer to this article regarding steps to setup Elektron SDK in a docker container.

    In short, you can build an image by using this command.

    $ sudo docker build -t elektron-sdk https://github.com/TR-API-Samples/Article.EMA.ETA.Docker.git

    After that, you can test it by following steps in Usages section.

    From the error, please make sure the consumer application is connecting to the correct RSSL TCP port (14002).