Websocket connection not working, or unclear documentation
I am trying to get a websocket connection to my XMPP server working with Gajim. By reading through the code (I couldn't find any documentation on it), it looks like I'm supposed to set the host parameter to wss://server/ws_path , but it seems that gajim still appends the port to the end of the host string. This makes it wss://server/ws_path:port , which 404s on my server. Am I doing something wrong, or is this a bug?
I was able to fix this by changing the get_custom_host function to not return the port when the protocol is WEBSOCKET.
This is with version 1.2.2 on Arch Linux.