Go-ipfs websocket


I have configured go-ipfs to use websocket on port 8081 and traefik to make reverse proxy to it with SSL.

I also set Swarm to use websocket in ipfs config:

 "Swarm": [

When I now test websockets connection is closing immediately.

I forgot set something ?

Version is from docker latest
Server is running on direct port binding: ws://ipfs.krk.ftdl.pl:8081/p2p/12D3KooWJJreApXPG9yPS1m92ZoR2Nv6RjyTCxLodJQ8yzLeuAb2
or via traefik with ssl:

Thanks in advanced!