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

MetaGate 1.16.2 is failing to start in Ubuntu 16.04 #4

Open
macrokernel opened this issue Oct 9, 2018 · 12 comments
Open

MetaGate 1.16.2 is failing to start in Ubuntu 16.04 #4

macrokernel opened this issue Oct 9, 2018 · 12 comments

Comments

@macrokernel
Copy link

Hi,

I am getting the following error while starting MetaGate 1.16.2 in Ubuntu 16.04:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-vncuser'
Version 1.16.2 prod 5d5f50f
Platform linux
Machine uid 29539;51042;054448
Set messenger javascript path /home/vncuser/.metahash_wallets/
Javascript setMessengerPathsJs("Ok", 0, "");
node torrent. tor.net-dev.metahash.org. 5795.
node proxy. proxy.net-dev.metahash.org. 9999.
node torrent_main. tor.net-main.metahash.org. 5795.
node proxy_main. proxy.net-main.metahash.org. 9999.
node torrent_delegate. tor.net-test.metahash.org. 5795.
node proxy_delegate. proxy.net-test.metahash.org. 9999.
Start ns resolve after 1 ms
qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
Dns scan start
Wss client started. Url wss://ws.metahash.io/
Wss client onStarted. Url wss://ws.metahash.io/
dns ok torrent. 10
Wss client finished
Error Not open file /home/vncuser/.metagate/pages/lastVersion.txt. Error at file

I have tried removing /home/vncuser/.metagate/pages and /home/vncuser/.metagate with no success.

It looks like MetaGate is failing to download lastVersion.txt from a server and terminates. SSL errors are looking worrying too.

Here is a log of running MetaGate under strace: https://paste.ofcode.org/uatUkddQzBirWntDrCmzuk

@sv-91
Copy link
Contributor

sv-91 commented Oct 25, 2018

Hello. lastVersion.txt not downloaded from server. You can remove /home/vncuser/.metagate folder and send log?

@macrokernel
Copy link
Author

Hi,

vncuser@2f6393a40b0d:$ rm -rf /home/vncuser/.metagate/
vncuser@2f6393a40b0d:
$ cd /home/vncuser/MetaGate/
vncuser@2f6393a40b0d:~/MetaGate$ ./run.sh
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-vncuser'
Version 1.16.2 prod 5d5f50f
Platform linux
Machine uid 29539;51042;054448
Set messenger javascript path /home/vncuser/.metahash_wallets/
Javascript setMessengerPathsJs("Ok", 0, "");
node torrent. tor.net-dev.metahash.org. 5795.
node proxy. proxy.net-dev.metahash.org. 9999.
node torrent_main. tor.net-main.metahash.org. 5795.
node proxy_main. proxy.net-main.metahash.org. 9999.
node torrent_delegate. tor.net-test.metahash.org. 5795.
node proxy_delegate. proxy.net-test.metahash.org. 9999.
Start ns resolve after 1 ms
qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
Dns scan start
Wss client started. Url wss://ws.metahash.io/
Wss client onStarted. Url wss://ws.metahash.io/
dns ok torrent. 10
Wss client finished
Error Not open file /home/vncuser/.metagate/pages/lastVersion.txt. Error at file

Perhaps it is the OpenSSL errors which must be fixed?

@sv-91
Copy link
Contributor

sv-91 commented Oct 25, 2018

Strange that deleting a folder does nothing. At least, I do not see in the log that he discovered the miss of directories.
With ssl, there may be problems in the future, but now it should not affect.
I can also recommend downloading a more recent version, but maybe this error will remain there

@macrokernel
Copy link
Author

Hi,

I am unable to find a more recent Linux version at https://github.com/metahashorg/metagate/releases/

@sv-91
Copy link
Contributor

sv-91 commented Oct 25, 2018

It turns out that the new version has not yet been released :)
Strange that I do not see in the log of records of interest to me.
Can you make sure rm deletes this directory?
As a solution, you can try to move the startSettings directory from the application folder to .metagate/pages and settings.ini to .metagate/settings.ini.
But it can only mask the real problem.

@macrokernel
Copy link
Author

I am pretty sure that rm -rf /home/vncuser/.metagate/ does completely remove the /home/vncuser/.metagate directory with all of its contents.

Masking the real problem is not exactly what we want to achieve here, huh? ;)

@sv-91
Copy link
Contributor

sv-91 commented Oct 25, 2018

Perhaps the problem is due to the fact that I am building an application under ubuntu 14.
We had some problems due to different versions.
I hope next week I will build under 16.04 and higher.

@macrokernel
Copy link
Author

Hi,

It is still failing with Metagate version 1.18.0.

./run.sh 
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-vncuser'
Version 1.18.0 prod 10818e8
Platform linux
Machine uid 29539;39119;2449424494
QObject::startTimer: Timers cannot have negative intervals
node torrent. tor.net-dev.metahash.org. 5795.
node proxy. proxy.net-dev.metahash.org. 9999.
node torrent_main. tor.net-main.metahash.org. 5795.
node proxy_main. proxy.net-main.metahash.org. 9999.
node torrent_delegate. tor.net-dev.metahash.org. 5795.
node proxy_delegate. proxy.net-dev.metahash.org. 9999.
node torrent_v8. torv8.net-dev.metahashnetwork.com. 5795.
node proxy_v8. proxy.net-dev.metahashnetwork.com. 9999.
Start ns resolve after 1 ms
Database payments app's version 2 new version 2
qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
Dns scan start
Wss client started. Url wss://ws.metahash.io/
Wss client onStarted. Url wss://ws.metahash.io/
dns ok proxy. 16
Wss client finished
QObject::killTimer: Timers cannot be stopped from another thread
QObject::~QObject: Timers cannot be stopped from another thread
Error Not open file /home/vncuser/.metagate/pages/lastVersion.txt. Error at file ../../WalletMetahash/src/uploader.cpp line 40

@petirico
Copy link

Hi guys any up on Metagate running under ubuntu ?

@Nikitaempower
Copy link

Nikitaempower commented Apr 19, 2019

Hello Petirico,

Have you tried to install the latest version of the application?

@Nikitaempower
Copy link

Hello Sergey,

Please let me know if you are still experiencing this issue.

@davidbios
Copy link

I am using Ubuntu 16.04 and try all the ways I know but Metagate not working and give me error
mhc@mhc-945GCMX-S2:~/Downloads$ sudo su
[sudo] password for mhc:
root@mhc-945GCMX-S2:/home/mhc/Downloads# '/home/mhc/Downloads/MetaGate-linux-1.20.0.bin'
bash: /home/mhc/Downloads/MetaGate-linux-1.20.0.bin: cannot execute binary file: Exec format error

can any one help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants