-
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
Getting "PP: internal error, state == PI" under 0.8.2 #108
Comments
I'm going to need more context here. Please provide the code you used, some wire logs and a full stack trace. |
Tested with a minimal script and included the outputs: https://gist.github.com/4466375#file-connect-rb All dependent gems are the same version.
|
I'm afraid I don't see "PP: internal error, state == PI" anywhere in those logs. All I see is your XMPP server failing to respond to an |
Updated the output to capture stderr. Relevant line: https://gist.github.com/4466375#file-0-8-2-output-1357504474-L196 How can I capture more useful information? Any ideas? |
I'm seeing something similar in flapjack (https://github.com/flpjck/flapjack/) with blather 0.8.2 (whereas 0.8.0 and 0.8.1 are fine):
Let me know if you'd like a wire trace to be captured. See also that coordinator.rb line in context: https://github.com/flpjck/flapjack/blob/3e5ebbf2ef4ae8013be872fae151e5931761cfae/lib/flapjack/coordinator.rb#L38 |
I'd love a wire trace |
Is there a way to configure blather to not to TLS? I have a wire trace but it's encrypted after the TLS start. Alternatively, is there a way to have blather dump all communications back and forth? |
Blather will print a wire log if you set the log level to debug. You can do this by passing |
+1, Going back to 0.8.1 works for us on ejabberd |
Would someone mind bisecting between 0.8.1 and 0.8.2 to locate the commit that triggered this? |
I can run our crashing app, but I don't know how to tell ruby to look for a local version of blather instead of an installed gem. |
In your Gemfile, specify: gem 'blather', github: 'adhearsion/blather', ref: 'somesha1' Then do Regards, On 1 February 2013 15:05, Christoph Burgmer notifications@github.comwrote:
|
Sorry, I cannot get bundle to properly install the locally available git repo via :path => …, so I am unable to to do a proper bisect without putting much more time into this. Please see my minimal program and the resulting output (when failing) here: https://gist.github.com/4694226 For reference, my issue above is the following:
when the Gemfile points to
|
You need to do |
Thanks!
|
+1 on the issue, I'm using 0.8.1 until it is fixed. I'll try to find the problem and report here. |
This was fixed by f318807. Not sure why I didn't update the issue. Try using 0.8.3. |
0.8.3 works a treat, thank you @benlangfeld |
I am running a simple script that connects to jabber.org and sends messages. 0.8.2 upgrade errors with the message PP: internal error, state == PI.
0.8.1 is working. My ruby env:
The text was updated successfully, but these errors were encountered: