using bad --relay-url= gives an unhelpful traceback
See original GitHub issueAfter installing wormhole (from pypi release or github’s master), when I follow the example commands I get an exception:
Unhandled Error
Traceback (most recent call last):
File "/home/fabien/env/lib/python2.7/site-packages/twisted/internet/task.py", line 936, in react
_reactor.run()
File "/home/fabien/env/lib/python2.7/site-packages/twisted/internet/base.py", line 1243, in run
self.mainLoop()
File "/home/fabien/env/lib/python2.7/site-packages/twisted/internet/base.py", line 1255, in mainLoop
self.doIteration(t)
File "/home/fabien/env/lib/python2.7/site-packages/twisted/internet/epollreactor.py", line 235, in doPoll
log.callWithLogger(selectable, _drdw, selectable, fd, event)
--- <exception caught here> ---
File "/home/fabien/env/lib/python2.7/site-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/home/fabien/env/lib/python2.7/site-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/home/fabien/env/lib/python2.7/site-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/fabien/env/lib/python2.7/site-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/home/fabien/env/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 610, in _doReadOrWrite
self._disconnectSelectable(selectable, why, inRead)
File "/home/fabien/env/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 255, in _disconnectSelectable
selectable.connectionLost(f)
File "/home/fabien/env/lib/python2.7/site-packages/twisted/internet/tcp.py", line 478, in connectionLost
self._commonConnection.connectionLost(self, reason)
File "/home/fabien/env/lib/python2.7/site-packages/twisted/internet/tcp.py", line 292, in connectionLost
protocol.connectionLost(reason)
File "/home/fabien/env/lib/python2.7/site-packages/twisted/internet/endpoints.py", line 139, in connectionLost
return self._wrappedProtocol.connectionLost(reason)
File "/home/fabien/env/lib/python2.7/site-packages/twisted/application/internet.py", line 436, in connectionLost
return self._protocol.connectionLost(reason)
File "/home/fabien/env/lib/python2.7/site-packages/autobahn/twisted/websocket.py", line 128, in connectionLost
self._connectionLost(reason)
File "/home/fabien/env/lib/python2.7/site-packages/autobahn/websocket/protocol.py", line 3357, in _connectionLost
WebSocketProtocol._connectionLost(self, reason)
File "/home/fabien/env/lib/python2.7/site-packages/autobahn/websocket/protocol.py", line 1096, in _connectionLost
self._onClose(self.wasClean, WebSocketProtocol.CLOSE_STATUS_CODE_ABNORMAL_CLOSE, "connection was closed uncleanly (%s)" % self.wasNotCleanReason)
File "/home/fabien/env/lib/python2.7/site-packages/autobahn/twisted/websocket.py", line 171, in _onClose
self.onClose(wasClean, code, reason)
File "/home/fabien/env/lib/python2.7/site-packages/wormhole/_rendezvous.py", line 40, in onClose
self._RC.ws_close(wasClean, code, reason)
File "/home/fabien/env/lib/python2.7/site-packages/wormhole/_rendezvous.py", line 205, in ws_close
self._N.lost()
File "/home/fabien/env/lib/python2.7/site-packages/automat/_methodical.py", line 129, in lost
(outputs, outTracer) = transitioner.transition(self)
File "/home/fabien/env/lib/python2.7/site-packages/automat/_core.py", line 158, in transition
inputSymbol)
File "/home/fabien/env/lib/python2.7/site-packages/automat/_core.py", line 137, in outputForInput
raise NoTransition(state=inState, symbol=inputSymbol)
automat._core.NoTransition: no transition for MethodicalInput(method=<function lost at 0x7fd76faf7e60>) in MethodicalState(method=<function S0A at 0x7fd76faf77d0>)
Issue Analytics
- State:
- Created 6 years ago
- Comments:13
Top Results From Across the Web
using bad --relay-url= gives an unhelpful traceback · Issue #180
After installing wormhole (from pypi release or github's master), when I follow the example commands I get an exception: Unhandled Error ...
Read more >Event-Driven and Asynchronous Programming with Python
every occurrence of a trademarked name, logo, or image we use the names, logos, ... Each operating system family provides its own, more...
Read more >Definitions - ITU
Security of access to UPT service is required in order to protect the user's resources or information from unauthorized persons (fraudulent use), ...
Read more >iu_wkbk_2002-03.pdf - Kabay
The current taxonomy is listed here and is used throughout this edition ... In addition with the hotel-guest information, this could give an ......
Read more >re.search Example - Program Talk
0 err = err.splitlines() assert b"Wrong unpacker used" in err[0] assert ... self.detailedresults += traceback.format_exc() self.logger.log(LogPriority.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
With latest version:
I can netcat, but http GET half working:
I’m using autobahn[twisted]>=0.14.1.
But, still good news: using localhost server it works! A configuration file to set default server would be awesome 😉
@merlinengine I was upgrading the server about 6-9 hours ago, so it’s possible you ran into the 5 minute when the server was down. If you try again now, do you see any problems?