sematic
sematic copied to clipboard
When the server runs locally, it is unable to POST to /events
When the server runs locally (either via $ bazel run ...
or $ sematic start
) and the SocketIO server is the same as the API server, the server is unable to POST to /events
(POST to itself) to trigger SocketIO broadcasts.
This error blocks in the pipeline logs (not server logs):
ERROR:engineio.client:packet queue is empty, aborting
This hasn't been too much of an issue yet, because when running pipelines with LocalResolver
, most requests to POST /events
are made by the resolver, not by the server. When using CloudResolver
, some of them are made by the server, but then it is assumed that the server is deployed via the Helm chart, which deploys a separate SocketIO server.