XMPP Punjab BOSH connection manager giving 405 while using Strophe.js

1k Views Asked by At

Configuration:

  • Windows 7
  • Python 2.7
  • TwistedPython 10.2.0
  • Latest Punjab on GitHub

I started Punjab from the command line with: "python c:\python27\scripts\twisted.py -y punjab.tac"

I can hit the url just fine from Chrome: http://localhost:5280. The page gives the XEP-0124 response.

While using Strophe.js though, I keep getting a "405 method not allowed" response from Punjab. I'm fairly certain its not Strophe as I've been able to connect using public Punjab deployments just fine. Perhaps something I'm missing with the Punjab configuration?

Any help is welcome.

1

There are 1 best solutions below

0
On

Forgot to put "http-bind" at the end of the url. The full url should be "http://localhost:5280/http-bind".