I'm actually migrating my traefik 1.7 setup to traefik 2.0 and I'm facing one big problem with one application using websockets:
Socket-IO js-client -> traefik 1.7 -> uwsgi -> flask Socket-IO python app ... everything https-secured
While using traefik 1.7, my websocket client (Socket-IO js) requesting a websocket connection via protocol upgrade, connection is established and kept open ... all fine...
After upgrading to traefik 2.0 uwsgi is giving me a 400 bad request on protocol upgrade request. When using gunicorn, the protocol upgrade is done with response code 101 but the connection is closed immediately.
traefik debug log says: "begin ServeHttp on request ... Forwarding this request to URL ... completed ServeHttp on request" and Socket-IO is falling back to long polling requests..which is generally working, but not wanted...
When doing the protocol upgrade without https, the connection is kept open and communication is possible over webocket connection.
So, anyone else has this problem, or could give me any advice or link how to properly configure such a setup?
Thanks in advance!