Bitcoin Forum

Other => Beginners & Help => Topic started by: paxet on July 04, 2011, 09:14:15 AM



Title: Help connecting to Flexible Proxy mining
Post by: paxet on July 04, 2011, 09:14:15 AM
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?


Title: Re: Help connecting to Flexible Proxy mining
Post by: cdhowie on July 04, 2011, 03:22:46 PM
I think you need bitcoind & pushpool for the proxy requirements, 000webhost.com doesn't support that. (you need shell access)
... what?


Title: Re: Help connecting to Flexible Proxy mining
Post by: cdhowie on July 04, 2011, 03:24:11 PM
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?


Title: Re: Help connecting to Flexible Proxy mining
Post by: paxet on July 05, 2011, 07:23:43 AM
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 (http://imageshack.us/photo/my-images/221/dibujosbb.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.


Title: Re: Help connecting to Flexible Proxy mining
Post by: cdhowie on July 05, 2011, 04:10:17 PM
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.


Title: Re: Help connecting to Flexible Proxy mining
Post by: paxet on July 29, 2011, 05:10:04 PM
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.