/ws/feed /ws/logs returning 400

The log streaming stopped working for me and i’m getting these errors in the console:

VM197:161 WebSocket connection to 'ws://drone.example.com/ws/feed' failed: Error during WebSocket handshake: Unexpected response code: 400

and

WebSocket connection to 'ws://drone.example.com/ws/logs/org/repo/build/1' failed: Error during WebSocket handshake: Unexpected response code: 400

I’m using drone 0.5, any ideas?

Which version of drone are you using? websockets were removed in 0.8 in favor of server sent events. Here is a link to the relevant github issue in case you want some background: https://github.com/drone/drone/issues/2076

Also for future reference I’ve been trying to be better about detailing breaking changes, such as this, in our release notes :slight_smile: http://docs.drone.io/release-0.8.0

I am using drone 0.5

Changing my ELB protocol from HTTP to TCP fixed the issue

1 Like