electroneum / electroneum-pool

GNU General Public License v2.0
177 stars 172 forks source link

wallet ECONNREFUSED in admin panel #212

Open Warlordas opened 6 years ago

Warlordas commented 6 years ago

Hey,

I'm having this error in the admin panel under wallet: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":19735}

What am i missing? The daemon is running the api is running, the pool website works fine, the blockchain is synchronised

I think i have problems with my RPC not connecting to the daemon, but i cant figure out why Edit: Yeah i definitely have problems with my rpc 2018-Jan-30 19:10:26.401029 ERROR /electroneum/contrib/epee/include/net/http_client.h:920 failed to connect localhost:19734 2018-Jan-30 19:10:26.401121 ERROR /electroneum/src/wallet/wallet2.cpp:1320 !r. THROW EXCEPTION: error::no_connection_to_daemon

Could someone help?

Warlordas commented 6 years ago

I think starting the rpc crashes the coin daemon. Has anyone experienced this?

domsob1974 commented 6 years ago

I am having the exact same issue. I have not checked nor do I currently understand how to check if my RPC is connecting (I guess I will read up). Following this thread to see what others say.

domsob1974 commented 6 years ago

I have a very similar issue. I can get my error to change to a { } in the admin panel (on the wallet side) if I change my config.js wallet port to 127.0.0.1 , If I try to change it to my server's internal IP it gives me your error.

debughost commented 6 years ago

I had this issue (ECONNREFUSED) at one point. Can you do a netstat to see if the server is listening on port 7777 already? if so, you may have a daemon running on that server already. Perhaps used forever or screen-S RPC somewhere that hasn't been properly killed?

On Sun, Feb 11, 2018 at 9:02 PM, domsob1974 notifications@github.com wrote:

I have a very similar issue. I can get my error to change to a { } in the admin panel (on the wallet side) if I change my config.js wallet port to 127.0.0.1 , If I try to change it to my server's internal IP it gives me your error.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/electroneum/electroneum-pool/issues/212#issuecomment-364824082, or mute the thread https://github.com/notifications/unsubscribe-auth/AiF3G67jFI6fP9s0U7ojNK1LNxJHhQ7cks5tT7fVgaJpZM4RyvdX .