bugpokersource - Bugs: bug #15515, poker-network communication error:...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #15515: poker-network communication error: No JSON object could be decoded

Submitted by:  Johan Euphrosine <proppy>
Submitted on:  Mon 01 Mar 2010 10:43:17 AM UTC  
 
Category: poker-networkSeverity: 3 - Normal
Priority: 7 - HighStatus: Ready For Test
Privacy: PublicAssigned to: Johan Euphrosine <proppy>
Open/Closed: Open

(Jump to the original submission Jump to the original submission)

Mon 15 Mar 2010 03:57:47 PM UTC, comment #6:

Should be fixed by pokersocial custom nagios plugin:
http://drupal-kez.pokersource.info/hg/pokersocial/rev/bfbb2f0fa396

Johan Euphrosine <proppy>
Project MemberIn charge of this item.
Mon 15 Mar 2010 12:35:08 PM UTC, comment #5:

Nagios should be updated to do the following check:

curl 'http://drupal-kez.pokersource.info/POKER_REST?oauth_nonce=0ba95c4f75412608cf8c7476e29e9d90&oauth_timestamp=1268656269&oauth_consumer_key=drupal-kez.pokersource.info&opensocial_owner_id=1&opensocial_viewer_id=1&opensocial_app_id=15&oauth_token=&xoauth_signature_publickey=http%3A%2F%2Fdrupal-kez.pokersource.info%2Fdrupal6%2Fsites%2Fall%2Fmodules%2Fshindig_integrator%2Fshindig%2Fphp%2Fpublic.cer&oauth_signature_method=RSA-SHA1&oauth_signature=Ooschfk9bT%2FaPJWfOaHv5WBAStKF8MHgXFqDkmhuubkLUC8gaPeygfJvjvo%2FJ1RJLFJn0kOMfS1U%2F225tVXTmzYXhphCBNx9aDfJYrkUp5UZ9Ex%2BG58S%2FZh20Wo83nDUFKTnlm1Yq45SK%2Bgb7zIi3HfPzUZ2099af3sxQ4n6es0%3D&auth=BC03972677ECA61C71B2457DD915F23C25FE25D8&uid=1325B7748489ED525C8BD0566B85D292FE48D304&' -d 'container=default&packet=%7B%22type%22%3A%22PacketPokerTableSelect%22%2C%22string%22%3A%22%22%7D'

Johan Euphrosine <proppy>
Project MemberIn charge of this item.
Mon 15 Mar 2010 08:48:44 AM UTC, comment #4:

define command{
command_name poker_rest_social
command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ --url /POKER_REST\
-e "HTTP/1.1 500 Internal Server Error" -r "No JSON object could be decoded"
}

Johan Euphrosine <proppy>
Project MemberIn charge of this item.
Mon 15 Mar 2010 08:46:49 AM UTC, comment #3:

Sometimes it comes from:

2010-03-15 05:06:09+0100 [HTTPChannel,5571,127.0.0.1] PokerResource: (x-forwarded-f\
or:94.23.241.173, 10.10.1.44) render

nslookup 10.10.1.44
Server: 127.0.0.1
Address: 127.0.0.1#53

44.1.10.10.in-addr.arpa name = proxy.mekensleep.vm.gnt.

nslookup 94.23.241.173
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
173.241.23.94.in-addr.arpa name = z2-1.pokersource.info.

Authoritative answers can be found from:
241.23.94.in-addr.arpa nameserver = dns15.ovh.net.
241.23.94.in-addr.arpa nameserver = ns15.ovh.net.
ns15.ovh.net internet address = 213.251.128.134
ns15.ovh.net has AAAA address 2001:41d0:1:1986::1
dns15.ovh.net internet address = 213.251.188.134
dns15.ovh.net has AAAA address 2001:41d0:1:4a86::1

Johan Euphrosine <proppy>
Project MemberIn charge of this item.
Mon 15 Mar 2010 08:43:12 AM UTC, comment #2:

Due to nagios check:

2010-03-15 09:39:31+0100 [HTTPChannel,5681,127.0.0.1] PokerResource: (x-forwarded-f\
or:10.10.1.12) render

and:

nslookup 10.10.1.12
Server: 127.0.0.1
Address: 127.0.0.1#53

12.1.10.10.in-addr.arpa name = nagios.vm.gnt.

Johan Euphrosine <proppy>
Project MemberIn charge of this item.
Fri 12 Mar 2010 11:06:39 AM UTC, comment #1:

Need to reproduce it and attach client side logs.

Johan Euphrosine <proppy>
Project MemberIn charge of this item.
Mon 01 Mar 2010 10:43:17 AM UTC, original submission:

2010-03-01 07:20:06+0100 [HTTPChannel,7345,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/twisted/protocols/basic.py", line 231, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 1067, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 1108, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 626, in requestReceived
self.process()
--- <exception caught here> ---
File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 150, in process
self.render(resrc)
File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 157, in render
body = resrc.render(self)
File "/usr/lib/python2.5/site-packages/pokernetwork/pokersite.py", line 208, in render
args = simplejson.loads(data, encoding = 'UTF-8')
File "/var/lib/python-support/python2.5/simplejson/__init__.py", line 324, in loads
return cls(encoding=encoding, **kw).decode(s)
File "/var/lib/python-support/python2.5/simplejson/decoder.py", line 321, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/var/lib/python-support/python2.5/simplejson/decoder.py", line 340, in raw_decode
raise ValueError("No JSON object could be decoded")
exceptions.ValueError: No JSON object could be decoded

Johan Euphrosine <proppy>
Project MemberIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by proppy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 15 Mar 2010 03:57:47 PM UTCproppyStatusConfirmed=>Ready For Test
    Mon 15 Mar 2010 08:50:43 AM UTCproppyStatusNeed Info=>Confirmed
    Fri 12 Mar 2010 11:06:39 AM UTCproppyStatusIn Progress=>Need Info
    Mon 01 Mar 2010 06:43:53 PM UTCproppyStatusNone=>In Progress
    Mon 01 Mar 2010 10:43:48 AM UTCproppyCategoryNone=>poker-network
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup