Paperspace arch linux: API Network Error 99


#1

Trying to get Paperspace to work on my Arch Linux (64 bit) instance.

The client starts up but when I launch the machine from Paperspace it shows API Network Error 99.

paperspace.log:
Sun Mar 4 23:15:02 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --startup
Sun Mar 4 23:15:02 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 2 --startup
Sun Mar 4 23:15:02 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:15:02 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 6 --startup
Sun Mar 4 23:15:02 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:15:02 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:15:07 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:15:10 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:15:10 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:15:18 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:15:20 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:15:20 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:15:27 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:15:27 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:15:27 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:17:01 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:17:04 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --startup
Sun Mar 4 23:17:04 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 2 --startup
Sun Mar 4 23:17:05 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:17:05 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 6 --startup
Sun Mar 4 23:17:05 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:17:05 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:17:08 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:17:08 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:17:08 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:17:14 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:17:14 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:17:14 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:17:21 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:17:21 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:17:21 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:17:25 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:17:25 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:17:25 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:17:31 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:17:31 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:17:31 2018 - to many crashes
Sun Mar 4 23:22:40 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:22:52 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --startup
Sun Mar 4 23:22:53 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 2 --startup
Sun Mar 4 23:22:53 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:22:53 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 6 --startup
Sun Mar 4 23:22:53 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:22:53 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:22:54 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:22:54 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:22:54 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:22:56 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:22:56 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:22:56 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:22:58 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:22:58 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:22:58 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:23:02 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:23:02 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:23:02 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:23:05 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:23:05 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:23:05 2018 - to many crashes
Sun Mar 4 23:27:36 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:27:44 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --startup
Sun Mar 4 23:27:44 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 2 --startup
Sun Mar 4 23:27:44 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:27:45 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 6 --startup
Sun Mar 4 23:27:45 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:27:45 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:27:47 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:27:48 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:27:48 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:27:50 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:27:50 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:27:50 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:27:53 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:27:53 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:27:53 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:27:55 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:27:56 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:27:56 2018 - calling: - with wait - /home/firefly/code/Paperspace/Paperspace --testaudio 8 --startup
Sun Mar 4 23:27:59 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json
Sun Mar 4 23:28:00 2018 - app failed to exit properly - assuming crash
Sun Mar 4 23:28:00 2018 - to many crashes
Sun Mar 4 23:28:31 2018 - /home/firefly/code/Paperspace/crashes/6.0.0.13/meta.json

$ cat crashes/6.0.0.13/meta.json
{
“MemFree”: “879696”,
“MemTotal”: “3909612”,
“_old_MemFree”: “848072”,
“_old_MemTotal”: “3909612”,
“_old_decoder0”: “Software”,
“_old_decoder1”: “Software”,
“_old_frontendstate”: “6”,
“_old_fullscreen”: “true”,
“_old_idealThreadCount”: “4”,
“_old_lastruntime”: “284”,
“_old_openglMode”: “new”,
“_old_openglOperationMode”: “2”,
“_old_openglerror”: “0”,
“_old_os_type”: “arch”,
“_old_os_version”: “unknown”,
“_old_release”: “6.0.0.13”,
“_old_server_name”: “animagus”,
“_old_shutdown”: “1”,
“_old_usbFeature”: “false”,
“_old_userId”: “10807”,
“decoder0”: “Software”,
“decoder1”: “Software”,
“frontendstate”: “6”,
“fullscreen”: “true”,
“idealThreadCount”: “4”,
“initialOpenglMode”: null,
“lastruntime”: “47”,
“openglMode”: “new”,
“openglOperationMode”: “2”,
“openglerror”: “0”,
“os_type”: “arch”,
“os_version”: “unknown”,
“release”: “6.0.0.13”,
“server_name”: “animagus”,
“shutdown”: “1”,
“usbFeature”: “false”,
“userId”: “10807”
}

I tried installing the 32 bit audio libraries by that didn’t fix the problem.


#2

Having the same issue on Arch GNU/Linux, but the bug doesn’t seem to be audio - from what I gather this means that the native application can’t reach the network. Tried different network connections, no dice.

As I was trying to use Paperspace for CAD using the browser version doesn’t work for me at all because I need hotkeys to work for smooth experience. Please look into this, I know Arch GNU/Linux is a niche but I’m not willing to switch distros for Paperspace.


#3

I managed to reproduce the problem in Debian 9 virtual machine. Ubuntu 16.04 works.


#4

The issue was that the paperspace client only works with openssl 1.0. I had to symlink the open ssl library on my system in the Paperspace lib dir from 1.1 to 1.0.
Paperspace]$ ls -l /usr/lib/libssl*
-rwxr-xr-x 1 root root 380144 Jan 18 13:47 /usr/lib/libssl3.so
lrwxrwxrwx 1 root root 13 Nov 2 09:20 /usr/lib/libssl.so -> libssl.so.1.1
-r-xr-xr-x 1 root root 498544 Dec 9 04:23 /usr/lib/libssl.so.1.0.0
-rwxr-xr-x 1 root root 434176 Nov 2 09:21 /usr/lib/libssl.so.1.1
Paperspace]$ ln -s /usr/lib/libssl.so.1.0.0 lib/libssl.so
The client works after that.

You can see some more information by running in debug mode:
./Paperspace --startup
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
qt.network.ssl: QSslSocket: cannot resolve SSLeay
qt.network.ssl: QSslSocket: cannot resolve SSLeay_version
qt.network.ssl: QSslSocket: cannot call unresolved function SSLeay
qt.network.ssl: Incompatible version of OpenSSL
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init


#5

This solution is confirmed and working in Arch Linux. Thank you :slight_smile: .


Ubuntu 18.04 - API Network Error 99
#6

Looks like this doesn’t work for Ubuntu 18.


#7

For Ubuntu 18.04:

ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 lib/libssl.so.1.0.0
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 lib/libcrypto.so.1.0.0