I am using Openfire 4.6.3 and trying to do a simple connection test from Postman. Using http://localhost:7070/ws I get the following error in postman:
HTTP ERROR 405 HTTP method GET is not supported by this URL
MESSAGE: HTTP method GET is not supported by this URL
There are no log entries in Openfire for this. In this version of Openfire, is there something I need to configure to allow for web sockets?
That is correct: websockets are supported out-of-the-box with this version of Openfire. They will be enabled when http-bind is enabled (which by default is the case).
Furthermore, @totzkotz is correct: you’ll need to use the ws URL scheme, instead of http (or wss instead of https). I’m not sure if your testing tool supports this. One way to go about testing this would be to use another web-based XMPP client, to see if that will work with websockets. That way, you’re ruling out your client as the source of the problem.