Skip to content
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

Fail to connect to olark #1

Open
aescaffre opened this issue Apr 22, 2014 · 3 comments
Open

Fail to connect to olark #1

aescaffre opened this issue Apr 22, 2014 · 3 comments

Comments

@aescaffre
Copy link

Hi,
Firstly, this project is a great idea! I am trying to set this up. After a blind and unsuccesful attempt on Heroku, I am now working locally on my mac. When I start the script, it tries to connect my user on Olark but fails:
HipChat operators: [{u'user_id': 284019, u'name': u'Alain Escaffre'}] | Olark state: disconnected
Connecting to olark...
HipChat operators: [{u'user_id': 284019, u'name': u'Alain Escaffre'}] | Olark state: disconnected
Connecting to olark...
ERROR:sleekxmpp.xmlstream.xmlstream:Error reading from XML stream.
ERROR:sleekxmpp.xmlstream.xmlstream:Error reading from XML stream.
^CERROR:sleekxmpp.xmlstream.xmlstream:Error processing event handler: <bound method Olark._session_timeout_check of <olarkclient.Olark object at 0x10d1a5110>>
Traceback (most recent call last):
File "/Users/aescaffre/Sources/olark-hipc

Any idea of how I could go further ? Is there something specific to enable on Olark side ?
Thank you

Alain

@sylvinus
Copy link
Contributor

Hi!

Glad you find this useful. I recommend doing a tcpdump to see what's
happening over the network, maybe Olark is sending an error that we don't
catch.

Best,

Sylvain Zimmer

blog: sylvinus.org
gsm: +33 6 64 67 61 71

On Tue, Apr 22, 2014 at 7:46 PM, aescaffre [email protected] wrote:

Hi,
Firstly, this project is a great idea! I am trying to set this up. After a
blind and unsuccesful attempt on Heroku, I am now working locally on my
mac. When I start the script, it tries to connect my user on Olark but
fails:
HipChat operators: [{u'user_id': 284019, u'name': u'Alain Escaffre'}] |
Olark state: disconnected
Connecting to olark...
HipChat operators: [{u'user_id': 284019, u'name': u'Alain Escaffre'}] |
Olark state: disconnected
Connecting to olark...
ERROR:sleekxmpp.xmlstream.xmlstream:Error reading from XML stream.
ERROR:sleekxmpp.xmlstream.xmlstream:Error reading from XML stream.
^CERROR:sleekxmpp.xmlstream.xmlstream:Error processing event handler: >
Traceback (most recent call last):
File "/Users/aescaffre/Sources/olark-hipc

Any idea of how I could go further ? Is there something specific to enable
on Olark side ?
Thank you

Alain


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

@aescaffre
Copy link
Author

I have used Wireshark,It looks like the xml it sends is not the one that olark expects, any hint ?

 :</stream:stream><?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81285384' from='olark.com' version='1.0'><stream:error><xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>

Thank you

@sylvinus
Copy link
Contributor

sylvinus commented May 2, 2014

Not really sorry :-/ Maybe you should take that upstream to Olark to check
what's happening on their side?

Best,

Sylvain Zimmer

blog: sylvinus.org
gsm: +33 6 64 67 61 71

On Wed, Apr 23, 2014 at 6:02 PM, aescaffre [email protected] wrote:

I have used Wireshark,It looks like the xml it sends is not the one that
olark expects, any hint ?

:/stream:streamstream:error/stream:error
/stream:stream

Thank you


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-41179746
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants