Bitcoin Forum
June 19, 2025, 02:22:00 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Issue with Mining Proxy for Pool Connection - "Unauthorized Worker" Error  (Read 291 times)
TankenMiner (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 30, 2024, 03:16:30 PM
 #1

Hi everyone,

I'm setting up a mining proxy to improve efficiency and reduce bandwidth and maintenance costs when connecting miners to pools. However, I'm encountering an issue while submitting shares to the pool.

The pool I’m trying to connect to is ViaBTC, and the problem occurs when the proxy tries to submit a share. The pool responds with an "Unauthorized Worker" error (error code 24), even though I’ve double-checked the worker credentials and they match the pool's configuration.

My Questions:

Could this be related to the way my proxy handles authentication with the pool?
Are there specific configurations or settings I should verify for ViaBTC?
Has anyone experienced a similar issue with their mining proxy, and how did you resolve it?
If anyone has experience with this or ideas on how to fix it, I’d greatly appreciate your help. Let me know if more details are needed to troubleshoot the issue.

Thank you in advance for your support!
BitMaxz
Legendary
*
Online Online

Activity: 3654
Merit: 3344


Don't get greedy...


View Profile WWW
December 30, 2024, 04:36:38 PM
 #2

I don't think ViaBTC restricts miners from using proxies.
Have you tried to connect your miner without the proxy? If it's connecting properly, meaning the proxy might be the issue, you need to change it to maybe HTTP proxies instead of using socks5 and proxies that encrypt data sent to the pool server.

Would you mind to share the unit model of your miner?
And the type of proxy you use(HTTP, Socks4, Socks5)?

.
 betpanda.io 
 
ANONYMOUS & INSTANT
.......ONLINE CASINO.......
▄███████████████████████▄
█████████████████████████
█████████████████████████
████████▀▀▀▀▀▀███████████
████▀▀▀█░▀▀░░░░░░▄███████
████░▄▄█▄▄▀█▄░░░█▄░▄█████
████▀██▀░▄█▀░░░█▀░░██████
██████░░▄▀░░░░▐░░░▐█▄████
██████▄▄█░▀▀░░░█▄▄▄██████
█████████████████████████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀░░░▀██████████
█████████░░░░░░░█████████
███████░░░░░░░░░███████
████████░░░░░░░░░████████
█████████▄░░░░░▄█████████
███████▀▀▀█▄▄▄█▀▀▀███████
██████░░░░▄░▄░▄░░░░██████
██████░░░░█▀█▀█░░░░██████
██████░░░░░░░░░░░░░██████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀▀▀▀▀▀█████████
███████▀▀░░░░░░░░░███████
██████░░░░░░░░░░░░▀█████
██████░░░░░░░░░░░░░░▀████
██████▄░░░░░░▄▄░░░░░░████
████▀▀▀▀▀░░░█░░█░░░░░████
████░▀░▀░░░░░▀▀░░░░░█████
████░▀░▀▄░░░░░░▄▄▄▄██████
█████░▀░█████████████████
█████████████████████████
▀███████████████████████▀
.
SLOT GAMES
....SPORTS....
LIVE CASINO
▄░░▄█▄░░▄
▀█▀░▄▀▄░▀█▀
▄▄▄▄▄▄▄▄▄▄▄   
█████████████
█░░░░░░░░░░░█
█████████████

▄▀▄██▀▄▄▄▄▄███▄▀▄
▄▀▄█████▄██▄▀▄
▄▀▄▐▐▌▐▐▌▄▀▄
▄▀▄█▀██▀█▄▀▄
▄▀▄█████▀▄████▄▀▄
▀▄▀▄▀█████▀▄▀▄▀
▀▀▀▄█▀█▄▀▄▀▀

Regional Sponsor of the
Argentina National Team
TankenMiner (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 30, 2024, 07:10:53 PM
Last edit: December 30, 2024, 07:31:27 PM by TankenMiner
 #3

I don't think ViaBTC restricts miners from using proxies.
Have you tried to connect your miner without the proxy? If it's connecting properly, meaning the proxy might be the issue, you need to change it to maybe HTTP proxies instead of using socks5 and proxies that encrypt data sent to the pool server.

Would you mind to share the unit model of your miner?
And the type of proxy you use(HTTP, Socks4, Socks5)?

Yes, I've tested direct connections to ViaBTC without the proxy and it works perfectly fine. This confirms the issue is with the proxy implementation. I'm using a custom Stratum protocol proxy, not HTTP/SOCKS. I'll continue debugging the authorization handling in my proxy code since that seems to be the root cause.


I'm renting hashpower through MRR for SHA256 Asicboost mining (1.12Ph/s advertised). The miner is located in Russia and I'm testing a custom Stratum proxy to handle pool connections.
Type: SHA256 Asicboost
BitMaxz
Legendary
*
Online Online

Activity: 3654
Merit: 3344


Don't get greedy...


View Profile WWW
January 02, 2025, 09:15:02 PM
 #4

I tried to find useful information about the stratum proxy server, but it appears to be old source code, and the majority of the results here on the forum are a little old, so I am not sure why your setup does not work, but based on the error, the proxy may be modifying something, such as the username and password, or submitting incorrect credentials.

If your purpose is just to use proxy and optimize the network I think this one below should be able to help you it's a free tool from Bitmain for proxy solution.

- https://www.zeusbtc.com/tools-download/details/5600-antminer-antproxy-tool-download

.
 betpanda.io 
 
ANONYMOUS & INSTANT
.......ONLINE CASINO.......
▄███████████████████████▄
█████████████████████████
█████████████████████████
████████▀▀▀▀▀▀███████████
████▀▀▀█░▀▀░░░░░░▄███████
████░▄▄█▄▄▀█▄░░░█▄░▄█████
████▀██▀░▄█▀░░░█▀░░██████
██████░░▄▀░░░░▐░░░▐█▄████
██████▄▄█░▀▀░░░█▄▄▄██████
█████████████████████████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀░░░▀██████████
█████████░░░░░░░█████████
███████░░░░░░░░░███████
████████░░░░░░░░░████████
█████████▄░░░░░▄█████████
███████▀▀▀█▄▄▄█▀▀▀███████
██████░░░░▄░▄░▄░░░░██████
██████░░░░█▀█▀█░░░░██████
██████░░░░░░░░░░░░░██████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀▀▀▀▀▀█████████
███████▀▀░░░░░░░░░███████
██████░░░░░░░░░░░░▀█████
██████░░░░░░░░░░░░░░▀████
██████▄░░░░░░▄▄░░░░░░████
████▀▀▀▀▀░░░█░░█░░░░░████
████░▀░▀░░░░░▀▀░░░░░█████
████░▀░▀▄░░░░░░▄▄▄▄██████
█████░▀░█████████████████
█████████████████████████
▀███████████████████████▀
.
SLOT GAMES
....SPORTS....
LIVE CASINO
▄░░▄█▄░░▄
▀█▀░▄▀▄░▀█▀
▄▄▄▄▄▄▄▄▄▄▄   
█████████████
█░░░░░░░░░░░█
█████████████

▄▀▄██▀▄▄▄▄▄███▄▀▄
▄▀▄█████▄██▄▀▄
▄▀▄▐▐▌▐▐▌▄▀▄
▄▀▄█▀██▀█▄▀▄
▄▀▄█████▀▄████▄▀▄
▀▄▀▄▀█████▀▄▀▄▀
▀▀▀▄█▀█▄▀▄▀▀

Regional Sponsor of the
Argentina National Team
ZinyProxy
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
March 26, 2025, 08:10:07 AM
 #5

Hi everyone,

I'm setting up a mining proxy to improve efficiency and reduce bandwidth and maintenance costs when connecting miners to pools. However, I'm encountering an issue while submitting shares to the pool.

The pool I’m trying to connect to is ViaBTC, and the problem occurs when the proxy tries to submit a share. The pool responds with an "Unauthorized Worker" error (error code 24), even though I’ve double-checked the worker credentials and they match the pool's configuration.

My Questions:

Could this be related to the way my proxy handles authentication with the pool?
Are there specific configurations or settings I should verify for ViaBTC?
Has anyone experienced a similar issue with their mining proxy, and how did you resolve it?
If anyone has experience with this or ideas on how to fix it, I’d greatly appreciate your help. Let me know if more details are needed to troubleshoot the issue.

Thank you in advance for your support!

if you are still having tis problem, i can take a better look into it with my experience in proxy setups
taserz
Sr. Member
****
Offline Offline

Activity: 809
Merit: 294


Created AutoTune to saved the planet! ~USA


View Profile
March 30, 2025, 02:44:42 PM
 #6

I would recommend this proxy: https://proxy.vnish.com/

We have had over 40,000 machines connect to it for a large scale mine and it works with any pool! Other proxy software out there is coded quiet badly and have issues once you start going past 10,000 miners. Also you get some nice data from this one!

Autotune Firmware for S19 and S19j! Overclock, Underclock, AutoTuning. Asic.to The MOON Increased hashrate, improved power efficiency 30w/TH up to 85th/s!!Mining bitcoin since 2011 • Best nerd decision of my life
mikeywith
Legendary
*
Offline Offline

Activity: 2632
Merit: 6973


Privacy is not a crime.


View Profile
April 02, 2025, 02:12:55 AM
 #7

It depends, it could be an issue from the pool side and/or it could be from your software, some pools simply can't handle high diff and would cause issues like high rejected shares, but since you are getting an authorization error then it's more likely to be your proxy causing the issue than Viabtc being the problem, tell us which proxy software you are trying to use?

░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!