Skip to content

Failed to subscribe TimeoutError: MetaApi websocket client request XXX of type subscribe timed out. #14

Open
@zallesov

Description

@zallesov

We are experiencing LOTS of timeout errors.

Failed to subscribe TimeoutError: MetaApi websocket client request Qt175mMzq9kgBIaIR8Uz3hmER7dGm36R of type subscribe timed out. Please make sure your account is connected to broker before retrying your request.

This becomes a problem to the extent that MetaAPI is unusable. Our server can not execute many orders because of this error. It happens every hour. Some orders still happen thou.

Image

Here is a code we are using
https://gist.github.com/zallesov/fa94d504e69c65de138a51250062c13a
It is based on the code example from here
https://github.com/metaapi/metaapi-javascript-sdk/blob/main/examples/node/mt5/rpc.js

Our server is connected and operational

Image

We run our code on Google Cloud Run.

Please advise on the solution. What can we do differently? Will upgrading the metaApi subscription resolve it?

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