Bitcoin Forum
December 04, 2016, 02:27:57 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Help connecting to Flexible Proxy mining  (Read 1565 times)
paxet
Newbie
*
Offline Offline

Activity: 3


View Profile
July 04, 2011, 09:14:15 AM
 #1

Hi all!
I'm trying to connect to that proxy because the recent problems in Eligius pool.

My procedure was:
Set up a new account on --> http://www.000webhost.com
Create DB and user DB
Download Flexible Proxy Mining --> http://forum.bitcoin.org/index.php?topic=5506.0
Edit htdocs/config.in.php with the DB and user DB created and credentials for admin
Uploaded content of htdocs to /
Visit http://youraddres.freeiz.com/admin and log in with admin credentials.
Set up pools and workers
Try to connect with Ufasoft CPU miner:
Code:
bitcoin-miner.exe -a 5 -o http://youraddress.freeiz.com:80 -u worker -p x

But the miner don't connect to proxy, it remains with:
Code:
0 Mhash/s Error 80072EE2: The operation timed out.

What's wrong?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
cdhowie
Full Member
***
Offline Offline

Activity: 182



View Profile WWW
July 04, 2011, 03:22:46 PM
 #2

I think you need bitcoind & pushpool for the proxy requirements, 000webhost.com doesn't support that. (you need shell access)
... what?

Tips are always welcome and can be sent to 1CZ8QgBWZSV3nLLqRk2BD3B4qDbpWAEDCZ

Thanks to ye, we have the final piece.

PGP key fingerprint: 2B7A B280 8B12 21CC 260A  DF65 6FCE 505A CF83 38F5

SerajewelKS @ #bitcoin-otc
cdhowie
Full Member
***
Offline Offline

Activity: 182



View Profile WWW
July 04, 2011, 03:24:11 PM
 #3

Try to connect with Ufasoft CPU miner:
Code:
bitcoin-miner.exe -a 5 -o http://youraddress.freeiz.com:80 -u worker -p x

But the miner don't connect to proxy, it remains with:
Code:
0 Mhash/s Error 80072EE2: The operation timed out.

What's wrong?
Can you use a packet sniffer (like Wireshark) to see what's going on when your miner tries to contact the pool?

Tips are always welcome and can be sent to 1CZ8QgBWZSV3nLLqRk2BD3B4qDbpWAEDCZ

Thanks to ye, we have the final piece.

PGP key fingerprint: 2B7A B280 8B12 21CC 260A  DF65 6FCE 505A CF83 38F5

SerajewelKS @ #bitcoin-otc
paxet
Newbie
*
Offline Offline

Activity: 3


View Profile
July 05, 2011, 07:23:43 AM
 #4

Using Wireshark I can see that the miner is receiving the response "401 UNAUTHORIZED" after sending the post with the credentials. The web page returns a "Sorry, I don't know you" with the 401 Unauthorized.

I've created a Worker in the proxy who connects to three pools (and of course enabled XD)

http://img221.imageshack.us/img221/3126/dibujosbb.th.jpg

Not posible to connect with the worker credentials nor admin credentials with miner.

Is there any way to login with worker credentials inside the web page using a Web Browser? It's all http protocol and I shuold get some JSON response if I understand.
cdhowie
Full Member
***
Offline Offline

Activity: 182



View Profile WWW
July 05, 2011, 04:10:17 PM
 #5

Is there any way to login with worker credentials inside the web page using a Web Browser? It's all http protocol and I shuold get some JSON response if I understand.
Well, you need to send a POST request with the appropriate JSON-RPC method call to get a JSON response.  But you can still point your browser at the proxy (just remove "/admin/..." from the URL) and authenticate as a worker.  If you successfully authenticate, you'll get back a 400 Bad Request ("I don't understand what you said") response.

Tips are always welcome and can be sent to 1CZ8QgBWZSV3nLLqRk2BD3B4qDbpWAEDCZ

Thanks to ye, we have the final piece.

PGP key fingerprint: 2B7A B280 8B12 21CC 260A  DF65 6FCE 505A CF83 38F5

SerajewelKS @ #bitcoin-otc
paxet
Newbie
*
Offline Offline

Activity: 3


View Profile
July 29, 2011, 05:10:04 PM
 #6

Ok, after a few test I think it's a problem from de 000webhost. They send a web counter after </html> afterall.
Maybe that's the reason the miner can't understand the Flexible Proxy Mining.

But is not a Flexible Proxy Mining problem.
I've mountet a virtual machine with a Debian and Apache2 and it works as espected.

So much thanks, I will test it further.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!