orbited is very unstable

58 views
Skip to first unread message

grace wang

unread,
Apr 2, 2013, 5:17:54 AM4/2/13
to orbite...@googlegroups.com

environment:  python2.7.2 + twisted12.0.0 + orbited 0.7.10 


configuration file:

example.cfg[global]
session.ping_interval = 300
reactor = epoll
[listen]
http://:5000
stomp://:61613
[access]
* -> cloudchat.chinacache.com:61613
[logging]
info = /home/cloud/log/orbited_info.log
[loggers]
Proxy=info

Most successed in firefox, but failed sometimes. All failed in chrome/safari

error in terminal:

Unhandled Error
Traceback (most recent call last):
  File "/usr/local/bin/orbited", line 9, in <module>
    load_entry_point('orbited==0.7.10', 'console_scripts', 'orbited')()
  File "/usr/local/lib/python2.7/dist-packages/orbited/start.py", line 183, in main
    reactor.run()
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run
    self.mainLoop()
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
    self.runUntilCurrent()
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 800, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/usr/local/lib/python2.7/dist-packages/orbited/cometsession.py", line 335, in timeout
    self.close("timeout", True)
  File "/usr/local/lib/python2.7/dist-packages/orbited/cometsession.py", line 365, in close
    self.hardClose()
  File "/usr/local/lib/python2.7/dist-packages/orbited/cometsession.py", line 352, in hardClose
    self.cometTransport.close()
  File "/usr/local/lib/python2.7/dist-packages/orbited/transports/base.py", line 72, in close
    self.request.finish()
  File "/usr/local/lib/python2.7/dist-packages/twisted/web/http.py", line 866, in finish
    "Request.finish called on a request after its connection was lost; "
exceptions.RuntimeError: Request.finish called on a request after its connection was lost; use Request.notifyFinish to keep track of this.

error in browser:

Failed to load resource: the server responded with a status of 404 (Not Found)

http://cloudchat.chinacache.com:5000/tcp/8dbfb62ab0744aa988f6936615007a60/longpoll?nocache=0.2962763903196901&ack=2

I don't how to resolve it, someone can give me a hand,Thank you!!!




desmaj

unread,
Apr 3, 2013, 8:40:56 AM4/3/13
to orbite...@googlegroups.com
Hi Grace,

I'm not sure about this, exactly. I'll take a look at it in the coming days. My first thought, though, is that this is the consequence of some changes in the Twisted API in the new 12.0 line. So maybe downgrading your Twisted to 11 or even 10 would help.

Thanks,
Matthew
Reply all
Reply to author
Forward
0 new messages