Closed ilmoralito closed 7 years ago
How did you install it? Did you activate the virtualenv in the shell you're trying to run wormhole
in?
Thanks for answering and I have not activated it, I followed the installation guide and probe. What could be the next step?
What have you done thus far; it's not clear which instructions you followed?
I followed the installation instructions https://github.com/warner/magic-wormhole#installation
That doesn't include explicit virtualenv instructions, though. So you did the apt-get
commands, and then what?
I Run the commands in this order:
sudo apt-get install python-pip build-essential python-dev libffi-dev libssl-dev pip install magic-wormhole
At this point i got a message about upgrade pip
So i run
pip install --upgrade pip
This last step i do not know if it is relevant
After that i tried sending a file
wormhole send somefile.txt
And i get wormhole: command not found message
You should upgrade pip and then install wormhole. Also, there is no virtualenv involved in your above steps (perhaps pip defaults to using --user
on Ubuntu? I do not know). Try this:
virtualenv venv
source venv/bin/activate
pip install --upgrade pip setuptools
pip install magic-wormhole
wormhole --help
It works.
When I try to send a file after a while I get this message
wormhole send Roshiandkids.png
ERROR: We had a problem connecting to the relay server: (relay URL was ws://relay.magic-wormhole.io:4000/v1) User timeout caused connection failure.
Firewall I guess
@ilmoralito I have the same problem, so how do u solve this at the end ? Set up some http proxy or disable the firewall?
Most firewalls should allow HTTP traffic; perhaps it is sad about the non-default port (4000 instead of 80 or 443)?
@meejah The government of People's Republic of China has a internet censorship called Great FireWall which blocks your relay servers. Is it possible to use wormhole with proxies?
birkhoff at Birkhoff-MBPR in ~
$ wormhole send README.md
ERROR: We had a problem connecting to the relay server:
(relay URL was ws://relay.magic-wormhole.io:4000/v1)
connection was closed uncleanly (WebSocket opening handshake timeout (peer did not finish the opening handshake in time))
@meejah I also installed under a university server which has a known proxy and just running wormhole send yields the same error. Why doesn't it pick up the proxy and send it through it? (it's both set on HTTP_PROXY and HTTPS_PROXY)
@ysig I made your comment a new issue. Please feel free to add more details if you have :)
Hi. I getting the message wormhole: command not found in a fresh and free of errors installation in ubuntu 16.04 LTS. Thanks for any idea