8
lorentz
4y

I would like to call out the moron who decided to control docker through HTTP when the maximum time the server can take to finish the task is longer than the HTTP timeout.
If you expect things might time out, you don't use a HTTP request. You use a resource and poll it, or Websockets, or possibly SSE.
Shoehorning your API into a frame that obviously doesn't fit doesn't help anyone. Just admit that you don't know what HTTP is and use a regular TCP socket with regular pings.

Comments
  • 2
    ?!?

    This sounds more like an configuration issue.

    Docker can use e.g. SSH, Unix Sockets, Named Pipes and so on.

    Look at docker host string - or docker context.

    And an HTTP server with low timeouts sounds like an administration issue ...
  • 0
    @IntrusionCM I'll check it out, I had no idea this wasn't normal.
Add Comment