You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Chris mildebrandt (JIRA)" <ji...@apache.org> on 2014/05/23 18:02:04 UTC
[jira] [Created] (THRIFT-2542) Tornado server fails connections
when using IPv6
Chris mildebrandt created THRIFT-2542:
-----------------------------------------
Summary: Tornado server fails connections when using IPv6
Key: THRIFT-2542
URL: https://issues.apache.org/jira/browse/THRIFT-2542
Project: Thrift
Issue Type: Bug
Components: Python - Library
Affects Versions: 0.9.1
Reporter: Chris mildebrandt
When a client attempts to connect to a tornado server using IPv6, the following error is raised:
ERROR:root:thrift exception in handle_stream
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/thrift/TTornado.py", line 142, in handle_stream
host, port = address
ValueError: too many values to unpack
ERROR:tornado.application:Error in connection callback
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/tornado/tcpserver.py", line 243, in _handle_connection
self.handle_stream(stream, address)
File "/usr/local/lib/python2.7/site-packages/thrift/TTornado.py", line 155, in handle_stream
trans.close()
UnboundLocalError: local variable 'trans' referenced before assignment
--
This message was sent by Atlassian JIRA
(v6.2#6252)