pricingassistant / olark-hipchat

Broadcast presence on HipChat to Olark, receive messages from Olark on HipChat
5 stars 0 forks source link

Fail to connect to olark #1

Open aescaffre opened 10 years ago

aescaffre commented 10 years ago

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 commented 10 years ago

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 notifications@github.com 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/pricingassistant/olark-hipchat/issues/1 .

aescaffre commented 10 years ago

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 commented 10 years ago

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 notifications@github.com wrote:

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:error/stream:error /stream:stream

Thank you

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