0

This seems similar to some unanswered questions on stack overflow.

I am running a python socketio app on heroku and I get this error when I launch the website :

Error during websocket handshake Unexpected response code: 400

I kept thinking this was a flask-socketio error but reading similar problems online makes me think this is a socketio error. Any one knows how to proceed with this?

Denny George
  • 535
  • 1
  • 6
  • 19

1 Answers1

1

I solved it by following this link https://github.com/benoitc/gunicorn/issues/1147

Apparently gunicorn 19.x has issues working with websockets. Downgrading to 18.0 worked.

That1Guy
  • 7,075
  • 4
  • 47
  • 59
Denny George
  • 535
  • 1
  • 6
  • 19