You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyethapp --data-dir pyethapp_client/ -c eth.network_id=1337 -b 'enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@localhost:30303' -c eth.genesis=custom_genesis_block.json run (--fake) # tried both options with and without fake
gives:
INFO:p2p.peermgr starting listener addr=('0.0.0.0', 30303)
Traceback (most recent call last):
File "/usr/local/bin/pyethapp", line 9, in <module>
load_entry_point('pyethapp', 'console_scripts', 'pyethapp')()
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/mg13/Work/3dtrust/Topics/BlockchainsIn3DPrinting/Apps/pyethapp/pyethapp/app.py", line 232, in run
app.start()
File "/usr/local/lib/python2.7/dist-packages/devp2p-0.7.2-py2.7.egg/devp2p/app.py", line 37, in start
service.start()
File "/usr/local/lib/python2.7/dist-packages/devp2p-0.7.2-py2.7.egg/devp2p/peermanager.py", line 152, in start
self.server.start()
File "/usr/local/lib/python2.7/dist-packages/gevent-1.1.0-py2.7-linux-x86_64.egg/gevent/baseserver.py", line 291, in start
self.init_socket()
File "/usr/local/lib/python2.7/dist-packages/gevent-1.1.0-py2.7-linux-x86_64.egg/gevent/server.py", line 80, in init_socket
self.socket = self.get_listener(self.address, self.backlog, self.family)
File "/usr/local/lib/python2.7/dist-packages/gevent-1.1.0-py2.7-linux-x86_64.egg/gevent/server.py", line 91, in get_listener
return _tcp_listener(address, backlog=backlog, reuse_addr=self.reuse_addr, family=family)
File "/usr/local/lib/python2.7/dist-packages/gevent-1.1.0-py2.7-linux-x86_64.egg/gevent/server.py", line 177, in _tcp_listener
sock.bind(address)
File "<string>", line 1, in bind
socket.error: [Errno 98] Address already in use: ('0.0.0.0', 30303)
Is it possible to specify the listening port?
The text was updated successfully, but these errors were encountered:
Checklist
pyethapp
inside a virtualenvSystem/environment
Expected behaviour
pyethapp should connect to the bootstrap node running inside docker. Similarly, pyethapp should also be able to connect to a standalone bootstrap node
Observed behaviour
pyethapp tries to bind to the listening socket and throws a socket busy exception (in both instances; standalone and through docker):
Launching bootstrap node:
$ pyethapp --data-dir pyethapp_server_bootstrap/ -c eth.network_id=1337 -c node.privkey_hex=091bd6067cb4612df85d9c1ff85cc47f259ced4d4cd99816b14f35650f59c322 -b 'enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@localhost:30303' -c eth.genesis=custom_genesis_block.json -m 1000 run
Launching client node:
pyethapp --data-dir pyethapp_client/ -c eth.network_id=1337 -b 'enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@localhost:30303' -c eth.genesis=custom_genesis_block.json run (--fake) # tried both options with and without fake
gives:
Is it possible to specify the listening port?
The text was updated successfully, but these errors were encountered: