Skip to content

Websocket not polling chain data when frontend expects it to #25

@elliothllm

Description

@elliothllm

Sometimes you can get the frontend to start rpc services but the services have stopped in the back end. This then causes the frontend to appear like it is waiting for chain data to be polled but no data comes. You must then stop and start the services in order for them to work.

Proposal:

  • Add a check to see if we are expecting data to be polled.
  • Start services if we are expecting polled data.

We need a way to see if we have services running from the frontend. Maybe sending something through the websocket when we have rpc services running. Then in the ws handler we can check that and start services if we need to.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions