Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cURL only gets Empty Replies from Server. Wrong configs? #4

Open
Fortbruhnite opened this issue Mar 31, 2022 · 0 comments
Open

cURL only gets Empty Replies from Server. Wrong configs? #4

Fortbruhnite opened this issue Mar 31, 2022 · 0 comments

Comments

@Fortbruhnite
Copy link

First, I wanted to say, that I really like your (codler) work and it is impressive, that you managed to write a whole Bitcoin Miner in PhP.

So, my issue is, that since the old pool (http://pit.deepbit.net/) is dead it cant be mined on anymore. I tried to use a new pool (btc.f2pool.com:3333) but I cant seem to get the miner to work.
My Configs are:
$host = 'btc.f2pool.com';
$port = 3333;
$user = 'fortbruh1';
$pass = 'password here';

The Pool I tried to mine from suggests, that you should use "stratum+tcp://btc.f2pool.com:3333" as the Pool URL. This wont work since stratum+tcp:// cant be at the front and the Port 3333 already has its own Variable in the PhP Code.
I tried a lot of combinations, but cant seem get rid of the "Fatal error: Uncaught Exception: curl:CURL error : Empty reply from server in" Exception.

Maybe it wont work at all because the Bitcoin-phpMiner is too outdated, but I hope there is someone who understands the configurations for this Miner better than I do and can help me out.

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant