Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I run a node from the US Virgin Islands? #300

Closed
newbyca opened this issue Jul 19, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@newbyca
Copy link

commented Jul 19, 2018

Hi there, I just installed a mysterium node on a local debian virtual machine via docker. The installation went smooth, no errors. But when I try to run the node with sudo docker start mysterium-node I just get one line back, "mysterium-node", and I'm back to a prompt.

What should happen when I start a node? It would be helpful to know this for diagnostics.

Below is my log. The last line says "failed to resolve country" ...is this because I'm in the US Virgin Islands or should I change my vm's network settings (currently using Bridged Adapter)?

Tx :)

2018-07-19T17:21:03.595116791 [Info] User agreed with terms & conditions: true
2018-07-19T17:21:03.595475849 [Info] Starting Mysterium Server (source.dev-build)
2018-07-19T17:21:03.601879896 [Info] [Openvpn check] OpenVPN 2.4.4 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 23 2017
2018-07-19T17:21:03.6018917 [Info] [Openvpn check] library versions: LibreSSL 2.5.5, LZO 2.10
2018-07-19T17:21:03.60189482 [Info] [Openvpn check] Originally developed by James Yonan
2018-07-19T17:21:03.601897446 [Info] [Openvpn check] Copyright (C) 2002-2017 OpenVPN Technologies, Inc. <sales@openvpn.net>
2018-07-19T17:21:03.601900222 [Info] [Openvpn check] Compile time defines: enable_async_push='no' enable_comp_stub='no' enable_crypto='yes' enable_crypto_ofb_cfb='yes' enable_debug='yes' enable_def_auth='yes' enable_dlopen='unknown' enable_dlopen_self='unknown' enable_dlopen_self_static='unknown' enable_fast_install='yes' enable_fragment='yes' enable_iproute2='yes' enable_libtool_lock='yes' enable_lz4='yes' enable_lzo='yes' enable_management='yes' enable_multihome='yes' enable_pam_dlopen='no' enable_pedantic='no' enable_pf='yes' enable_pkcs11='no' enable_plugin_auth_pam='yes' enable_plugin_down_root='yes' enable_plugins='yes' enable_port_share='yes' enable_selinux='no' enable_server='yes' enable_shared='yes' enable_shared_with_static_runtimes='no' enable_small='no' enable_static='yes' enable_strict='no' enable_strict_options='no' enable_systemd='no' enable_werror='no' enable_win32_dll='yes' enable_x509_alt_username='no' with_crypto_library='openssl' with_gnu_ld='yes' with_mem_check='no' with_sysroot='no'
2018-07-19T17:21:04.320029562 [Info] [NATS.DialogWaiter] Connecting to: &discovery.AddressNATS{servers:[]string{"nats://testnet-broker.mysterium.network:4222"}, topic:"0x43b613804824233579b2d0533306b8a90be68a00", connection:nats.Connection(nil)}
2018-07-19T17:21:06.071625642 [Info] [ipify.api] IP detected: ###.###.###.###
2018-07-19T17:21:06.071821028 [Info] [Detect Outbound IP] IP detected: 192.168.0.111
2018-07-19T17:21:06.074410632 [Info] [nat] Stopped forwarding packets from '10.8.0.0/24' to IP: 192.168.0.111
failed to resolve country
@tadovas

This comment has been minimized.

Copy link
Member

commented Jul 20, 2018

Hi,
It's probably because your IP didn't match any country in geoip db we are using. You can try to specify your country with --location.country, for example: sudo docker start mysterium-node --location.country=US

@newbyca

This comment has been minimized.

Copy link
Author

commented Jul 20, 2018

Thanks @tadovas! ...fyi, when I run sudo docker start mysterium-node --location.country=US I get an error saying "Unknown flag: --location.country"

Instead, I tried re-configuring the container (including the location.country flag this time):

sudo docker rm mysterium-node
sudo docker run --cap-add NET_ADMIN --net host --publish "1194:1194" --name mysterium-node -d mysteriumnetwork/mysterium-node --agreed-terms-and-conditions --location.country=US

Then I started the node and tailed the log:

sudo docker start mysterium-node
sudo docker logs -f mysterium-node

And it looked like the node was up and running as I could see lines like this at the end:

[Mysterium.api] Proposal registered for node: 0xfab35726f8549098c2c6f7c1d36d2428e7e06c38

Finally, I opened the Mysterion client and verified I could see my node in the Country dropdown.

Awesome! ...thanks again :)

@newbyca newbyca closed this Jul 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.