Skip to content

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

Description

@Fortbruhnite

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! :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions