Hey, I installed the snap package on Ubuntu because the Dockerfile we have is erroring out during the build. When I installed the package I was given 2 new executables called monero.monero-wallet-rpc and monero.monero-wallet-cli. I used the Wallet CLI to generate my Monero addresses and such. I waited for it to sync and now when I login to it, it doesn't say (out of sync) or anything. Now, I'm trying to run the Wallet RPC client so I can connect to it with this pool I'm trying to set up. Here's my start parameters:
When I look at the process with pm2 logs "Monero RPC" it looks like the Monero RPC hangs when trying to start the server... This is what I see in the logs, followed by a lot of stuff that's coming from wallet.wallet2:
0|Monero R | 2018-02-15 05:51:12.150 7f49f3476740 TRACE net contrib/epee/include/net/net_helper.h:397 READ ENDS: Success. bytes_tr: 2612
0|Monero R | 2018-02-15 05:51:12.150 7f49f3476740 DEBUG wallet.wallet2 src/wallet/wallet2.cpp:1550Got 1 and OK
0|Monero R | 2018-02-15 05:51:12.152 7f49f3476740 DEBUG wallet.wallet2 src/wallet/wallet2.cpp:1610update_pool_state end
0|Monero R | 2018-02-15 05:51:12.152 7f49f3476740 INFO wallet.wallet2 src/wallet/wallet2.cpp:1793Refresh done, blocks received: 1, balance: 0.000000000000, unlocked: 0.000000000000
0|Monero R | 2018-02-15 05:51:12.152 7f49f3476740 INFO wallet.rpc src/wallet/wallet_rpc_server.cpp:1883 Loaded ok
0|Monero R | 2018-02-15 05:51:12.152 7f49f3476740 INFO net contrib/epee/include/net/abstract_tcp_server2.inl:795 Set server type to: 1 from name: RPC, prefix_name = RPC
0|Monero R | 2018-02-15 05:51:12.152 7f49f3476740 INFO global contrib/epee/include/net/http_server_impl_base.h:70 Binding on 127.0.0.1:18082
0|Monero R | 2018-02-15 05:51:12.152 7f49f3476740 DEBUG net contrib/epee/include/net/abstract_tcp_server2.inl:734 start accept
0|Monero R | 2018-02-15 05:51:12.153 7f49f3476740 INFO net.p2p src/p2p/connection_basic.cpp:164Spawned connection p2p#0 to 0.0.0.0 currently we have sockets count:1
0|Monero R | 2018-02-15 05:51:12.153 7f49f3476740 INFO net contrib/epee/include/net/abstract_tcp_server2.inl:85 test, connection constructor set m_connection_type=1
0|Monero R | 2018-02-15 05:51:12.153 7f49f3476740 WARN wallet.rpc src/wallet/wallet_rpc_server.cpp:1898 Starting wallet rpc server
0|Monero R | 2018-02-15 05:51:12.153 7f49f3476740 INFO net.http contrib/epee/include/net/http_server_impl_base.h:83 Run net_service loop( 1 threads)...
0|Monero R | 2018-02-15 05:51:12.153 [SRV_MAIN] INFO net contrib/epee/include/net/abstract_tcp_server2.inl:821 Run server thread name: RPC
0|Monero R | 2018-02-15 05:51:12.153 [SRV_MAIN] INFO net contrib/epee/include/net/abstract_tcp_server2.inl:828 JOINING all threads
When running nodejs-pool, I'm getting an error from the Worker saying that it was unable to open the wallet.
Any body know how I can debug this?
Also, another question: how is the daemon running? Does it run when I run monero.monero-wallet-rpc? Also, with the Snap package I notice that I don't have access to the monerod command... am I missing something?
Hey, I installed the snap package on Ubuntu because the Dockerfile we have is erroring out during the build. When I installed the package I was given 2 new executables called monero.monero-wallet-rpc and monero.monero-wallet-cli. I used the Wallet CLI to generate my Monero addresses and such. I waited for it to sync and now when I login to it, it doesn't say (out of sync) or anything. Now, I'm trying to run the Wallet RPC client so I can connect to it with this pool I'm trying to set up. Here's my start parameters:
I run the process by executing:
Here's the process.json file:
When I look at the process with pm2 logs "Monero RPC" it looks like the Monero RPC hangs when trying to start the server... This is what I see in the logs, followed by a lot of stuff that's coming from wallet.wallet2:
When running nodejs-pool, I'm getting an error from the Worker saying that it was unable to open the wallet.
Any body know how I can debug this?
Also, another question: how is the daemon running? Does it run when I run monero.monero-wallet-rpc? Also, with the Snap package I notice that I don't have access to the monerod command... am I missing something?