[zope2-tracker] [Bug 1436677] [NEW] raise 500 error when receive the Wechat xml message

adam777 568066794 at qq.com
Thu Mar 26 06:34:34 CET 2015

Public bug reported:

I running a Plone based Zope2-2.13.22.
I used wechat simulator (https://github.com/xixilive/wecheat) and send text message to a browser view in plone instance.
the view isn't response the request.I check instance-z2.log and   found the following error: - Anonymous [26/Mar/2015:13:11:34 +0800] "POST /xsgs998/@@receive_weixin?timestamp=1427346534&nonce=suwkv7m6dz9ol3agyheyiaw5kpbfqjqe&signature=fe3322802cf60b4b228870a8a5827d42a07ce288 HTTP/1.1" 500 0 "" "Ruby".
Obviously ,the zope instance can't operate the post request  that come from the wechat server.
So I set debug code in http_server.py module that located in Zope2-2.13.22/ZServer/medusa. The output of debug is in attachment.

** Affects: zope2
     Importance: Undecided
         Status: New

** Tags: wechat xml

** Attachment added: "zopebug.txt"

You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.

  raise 500 error when receive the Wechat xml message

To manage notifications about this bug go to:

More information about the zope2-tracker mailing list