-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tigase stanza error #95
Conversation
It's not that Tigase can't create session before bindings. The spec says that the session is created after the resource bind, and Tigase just follows the spec. Besides, the session feature has been deprecated and removed from the last spec. Tigase only offers it for backward compatibility as lots of clients are not updated and require it. |
Add in-band registration support (XEP 0077)
Could you trim this down to only the relevant commit (on a feature branch) with some specs? |
blather-0.8.4 still/again has issues with connection to Tigase. pavlo's patch 25a12da somehow got lost. could you please add a regression to ensure the bind-before-session request scheme works? thx |
A pull request would be lovely :) |
not sure i understand. pull request #95 exists, what is it you want me to do? |
You say it's regressed due to a lack of test coverage... |
right. can you tell me what your plans are for this pull request? it contains the fix plus lots of other stuff. should i extract that patch, add a test, and open a new pull request? |
Ah, I see, apologies, I failed to fully check on the status of this. Yeah, this can't be merged until specs are added and only the relevant commits are included. It seems @arturhefczyc simply disappeared, and this was never merged. I don't use Tigase, so I can't justify working on this myself. Contributions from those who care are welcome, but they have to meet a certain standard to be included. |
ok. i isolated the fix and added a test. however, i can't make the test run through, it keeps hanging somewhere in the mock server. can you help? https://gist.github.com/5680241 |
Ben, What you mean by "arturhefczyc simply disappeared"? ;-) Artur On May 30, 2013, at 7:58 AM, Ben Langfeld notifications@github.com wrote:
|
This was your pull request, and it was never completed, which is the |
#95 fixes client auth issue with Tigase
@arturhefczyc Yet again, I make a boob. Sincerest apologies, this PR was originally submitted by @pmashchak. @tomquas got some specs in for this and submitted #112, which has now been merged. I'm doing a little bit of cleanup and will get 0.8.5 out shortly. Thanks everyone, and apologies again for my lack of close attention. I'm going to have to quit iPhone PR review. |
It quick and a bit dirty fix, but hope this will help fix the problem.
Tigase is really wide used XMPP server and I think you should not miss opportunity to support it also.
The problem was here with priority of child nodes in
<stream:features stanza>
It was looking like this:
Tigase can't create session before binding.
I solve this problem by sorting child nodes to move
<bind/>
before<session/>
request.Maybe this is not the best way, but we found a root of the problem.