fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

RECEIVE error: socket closed (with or without TLS) #1347

Closed CraniumDad closed 6 years ago

CraniumDad commented 6 years ago

Please provide as much as possible information to reproduce the issue.

Basic information

Compile issues

using pre-compiled binaries xmr-stak-win64

Issue with the execution

AMD OpenCl issue

not using AMD

Stability issue

output: [2018-04-07 11:09:43] : Mining coin: monero7 [2018-04-07 11:09:43] : Starting NVIDIA GPU thread 0, no affinity. [2018-04-07 11:09:44] : WARNING: No AMD OpenCL platform found. Possible driver issues or wrong vendor driver. [2018-04-07 11:09:44] : WARNING: backend AMD disabled. [2018-04-07 11:09:44] : Starting 1x thread, affinity: 0. [2018-04-07 11:09:44] : hwloc: memory pinned [2018-04-07 11:09:44] : Starting 1x thread, affinity: 1. [2018-04-07 11:09:44] : hwloc: memory pinned [2018-04-07 11:09:44] : Starting 1x thread, affinity: 2. [2018-04-07 11:09:44] : hwloc: memory pinned [2018-04-07 11:09:44] : Starting 1x thread, affinity: 3. [2018-04-07 11:09:44] : hwloc: memory pinned [2018-04-07 11:09:44] : Starting 1x thread, affinity: 4. [2018-04-07 11:09:44] : hwloc: memory pinned [2018-04-07 11:09:44] : Starting 1x thread, affinity: 5. [2018-04-07 11:09:44] : hwloc: memory pinned [2018-04-07 11:09:44] : Starting 1x thread, affinity: 6. [2018-04-07 11:09:44] : hwloc: memory pinned [2018-04-07 11:09:44] : Starting 1x thread, affinity: 7. [2018-04-07 11:09:44] : hwloc: memory pinned [2018-04-07 11:09:44] : Fast-connecting to us-east.cryptonight-hub.miningpoolhub.com:20580 pool ... [2018-04-07 11:09:44] : Pool us-east.cryptonight-hub.miningpoolhub.com:20580 connected. Logging in... [2018-04-07 11:09:44] : SOCKET ERROR - [us-east.cryptonight-hub.miningpoolhub.com:20580] RECEIVE error: socket closed [2018-04-07 11:10:14] : Fast-connecting to us-east.cryptonight-hub.miningpoolhub.com:20580 pool ... [2018-04-07 11:10:31] : Pool us-east.cryptonight-hub.miningpoolhub.com:20580 connected. Logging in... [2018-04-07 11:10:32] : SOCKET ERROR - [us-east.cryptonight-hub.miningpoolhub.com:20580] RECEIVE error: socket closed

pools.txt config.txt cpu.txt nvidia.txt

agentpatience commented 6 years ago

I get the same problem using supportxmr pool, if i switch to coinfoundry pool the error is "result rejected by pool" XM Rig works.

psychocrypt commented 6 years ago

@agentpatience Pleas epost you error. I tested supportxmr pool a vew min ago and everything works well. Please post also you pools.txt

psychocrypt commented 6 years ago

@CraniumDad set "use_tls" : true

CraniumDad commented 6 years ago

@psychocrypt As mentioned in subject, I've tried both use_tls true and false with same error.

[2018-04-08 12:43:22] : Mining coin: monero7 [2018-04-08 12:43:22] : Starting NVIDIA GPU thread 0, no affinity. ... [2018-04-08 12:43:23] : hwloc: memory pinned [2018-04-08 12:43:23] : Fast-connecting to us-east.cryptonight-hub.miningpoolhub.com:20580 pool ... [2018-04-08 12:43:24] : TLS fingerprint [us-east.cryptonight-hub.miningpoolhub.com:20580] SHA256:1MSzz8JiJQj1CB4szMPW9cXQy4Jgidgi9z+KRqUBNdI= [2018-04-08 12:43:24] : Pool us-east.cryptonight-hub.miningpoolhub.com:20580 connected. Logging in... [2018-04-08 12:43:25] : SOCKET ERROR - [us-east.cryptonight-hub.miningpoolhub.com:20580] RECEIVE error: socket closed

psychocrypt commented 6 years ago

i think it is an pool issue I also had problems at the beginning. but I am not sure if it was an mistake in my pool cfg. After a view retries it works but it was no issue from the miner

CraniumDad commented 6 years ago

Ok. Can you share the pool.cfg that works after retries?

psychocrypt commented 6 years ago

ahh sry I can not test mininghub because I need an account for that. I tried to register but I never got the mail. I tested xmrsupport.com. If you provide me with the username of your account (via reddit pm user psychocrypt) I can test it again.

CraniumDad commented 6 years ago

Strange. Played around and retried a few more times and now my install works too. Thanks and good now.