Post
Topic
Board Pools
Re: [∞ YH] solo.ckpool.org 2% fee solo mining 268 blocks solved!
by
pgerringer
on 27/01/2023, 23:56:05 UTC
Hi all, I tried looking for this answer so please forgive me.  I'm currently using solo.ckpool.org.  I'm creating a dashboard that reports stats for my miners so I can watch their status without visiting so many pools.  When I hit https://solo.ckpool.org/users/ from a browser the data comes back fine.  But when fetched through my app I get the dreaded CORS error.  Can someone point me to a CORS disabled REST API I can use or can someone turn CORS off so I can use the /users/ link?  

only you can disable it on your server/localhost...

Edit: the only time I ever had a CORS issue (wasn't with ckpool but same concept) was when I ran it locally in a browser. To get around it, I had to launch chrome with additional security disabled which I don't really recommend. I don't seem to recall having issues once I deployed it to a server.

Thanks I'm going against that URL through a React app and get the error even if I deploy it to my server.  Usually I've been able to email the owners of the requested site and they disable CORS.  I mean, if you provide an API then you shouldn't really care about CORS.  I can't seem to find the owner of solo.ckpool.org.  I just hope they are here reading posts.  Thanks for your reply though.  I agree with you, disabling security in chrome is never a good idea.  : )