In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsGeneral Usage Support (Moderator: MordyT)STDERR Exception in thread - v1.80b
Pages: [1]   Go Down
  Print  
Author Topic: STDERR Exception in thread - v1.80b  (Read 159 times) Bookmark and Share
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3, RO2, COD-BO
Posts: 127
Offline Offline
« on: January 28, 2012, 12:42:59 AM »

After running for several days with no issues, today I saw this error which caused b3 to crash and have to be restarted

Code:

120125 22:13:19 ERROR   'STDERR \'Exception in thread Thread-3:\\nTraceback (most recent call last):\\n  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner\\n    self.run()\\n  File "/usr/lib/python2.6/threading.py", line 484, in run\\n    self.__target(*self.__args, **self.__kwargs)\\n  File "/home/b3/b3/plugins/cod7http.py", line 245, in processData\\n    response = urllib2.urlopen(request)\\n  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen\\n    return _opener.open(url, data, timeout)\\n  File "/usr/lib/python2.6/urllib2.py", line 391, in open\\n    response = self._open(req, data)\\n  File "/usr/lib/python2.6/urllib2.py", line 409, in _open\\n    \\\'_open\\\', req)\\n  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain\\n    result = func(*args)\\n  File "/usr/lib/python2.6/urllib2.py", line 1190, in http_open\\n    return self.do_open(httplib.HTTPConnection, req)\\n  File "/usr/lib/python2.6/urllib2.py", line 1163, in do_open\\n    r = h.getresponse()\\n  File "/usr/lib/python2.6/httplib.py", line 990, in getresponse\\n    response.begin()\\n  File "/usr/lib/python2.6/httplib.py", line 391, in begin\\n    version, status, reason = self._read_status()\\n  File "/usr/lib/python2.6/httplib.py", line 355, in _read_status\\n    raise BadStatusLine(line)\\nBadStatusLine\\n\\n\''


Log snippet here http://pastebin.com/VEDYqxAF
Full log available if required

I guess I should have started b3 with the -restart option as it looked like it was trying to restart itself but failed (last lines in the log)
Logged

Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #1 on: January 28, 2012, 08:13:09 AM »

Looks like something went wrong with the gamservers log connection, really no way of knowing what exactly it was.
Logged
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3, RO2, COD-BO
Posts: 127
Offline Offline
« Reply #2 on: January 30, 2012, 01:20:01 PM »

Well, its just happened again but this time b3 didn't auto-restart even though I had started it with the --restart command :-

Code:

120130 20:20:35 ERROR   'STDERR \'Exception in thread Thread-3:\\nTraceback (most recent call last):\\n  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner\\n    self.run()\\n  File "/usr/lib/python2.6/threading.py", line 484, in run\\n    self.__target(*self.__args, **self.__kwargs)\\n  File "/home/b3/b3/plugins/cod7http.py", line 245, in processData\\n    response = urllib2.urlopen(request)\\n  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen\\n    return _opener.open(url, data, timeout)\\n  File "/usr/lib/python2.6/urllib2.py", line 391, in open\\n    response = self._open(req, data)\\n  File "/usr/lib/python2.6/urllib2.py", line 409, in _open\\n    \\\'_open\\\', req)\\n  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain\\n    result = func(*args)\\n  File "/usr/lib/python2.6/urllib2.py", line 1190, in http_open\\n    return self.do_open(httplib.HTTPConnection, req)\\n  File "/usr/lib/python2.6/urllib2.py", line 1163, in do_open\\n    r = h.getresponse()\\n  File "/usr/lib/python2.6/httplib.py", line 990, in getresponse\\n    response.begin()\\n  File "/usr/lib/python2.6/httplib.py", line 391, in begin\\n    version, status, reason = self._read_status()\\n  File "/usr/lib/python2.6/httplib.py", line 355, in _read_status\\n    raise BadStatusLine(line)\\nBadStatusLine\\n\\n\''


Bigger log snippet showing problems when b3 tries to restart itself here -->  http://pastebin.com/RXuvHQB7

confirmation of use of --restart

Code:
[matts@h1977585 logs]$ ps aux | grep b3
b3       12063  0.0  0.3  15612  7640 ?        S    21:06   0:00 python /home/b3/b3_run.py /home/b3/b3/conf/b3.cod7.xml --restart
Logged
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #3 on: January 30, 2012, 03:31:09 PM »

Does it restart properly if you use !restart?

Do you have --config before the xml filespec?
« Last Edit: January 30, 2012, 03:36:18 PM by 82ndAB.Bravo17 » Logged
Tags: bugs 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal