Rui Jiang
Rui Jiang

Reputation: 1672

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

Configuration:

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.

Upvotes: 1

Views: 1094

Answers (1)

Rui Jiang
Rui Jiang

Reputation: 1672

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

Upvotes: 2

Related Questions