I'm trying to configure my rig for X11 to switch over to it for the summer. This included switching from Kalroth's CGMiner build over to the SGMiner (4.2). I have it running and connecting to Darkcoin pools OK via CGWatcher. Then I updated my Configuration page to X11 and plugged the same pools into my Leaserig configuration online. I made a Leaserig config file for SGMiner and set it up in CGWatcher.
My Leaserig config file launches fine in CGWatcher, and I am able to mine on the same Darkcoin pools. But I get continuous messages in the Leaserig Proxy window that the CGMiner API is failing to connect. Accordingly, the Pools and Stats tabs on the Leaserig website show no activity, even though I am successfully mining Darkcoin and the pools are showing the activity.
Since the proxy window is specifying that the "CGminer API" is failing to connect, I'm wondering if it is somehow looking for my Kalroth CGminer ap to be running, and not seeing the SGMiner that is mining X11. I can't find a setting to configure this, however. I tried copying the Leaserig proxy folder from where I had it within the Kalroth CGMiner folder to the same setup within the SGMiner folder and running the proxy from there but it didn't change anything. How do I get the API to work with SGMiner and X11?
Thanks for any help,
ebliever
Are you running the proxy on the same machine as sgminer? Do you have the same API port number (e.g. 4028) set up in the proxy startup file and in the sgminer config file?
This is getting more weird. I switched back to CGMiner/Scrypt but the problem of API not working remained, despite my not touching the Leaserig proxy or changing anything on the CGminer settings. I'm wondering if something has gotten altered within the Leaserig site itself as I changed to X11 and back.
My run.bat file for the Leaserig proxy specified port 7778 for API, while CGWatcher and my config files all say 4028. But that never caused a problem before. I tried setting the Leaserig proxy API setting to 4028. Now I am getting updates on the Pools page, but the Stats page insists the Rig is OFF. This is despite the fact that my Leaserig proxy DOS window IS reporting speeds and is NOT reporting any API errors at this point.... NEVER MIND - after about 5 minutes it is now showing a speed on the Stats page. So I think you had the right idea, just took a while to "take". Thanks!
Now I just need to get it working with X11 and I'm happy. :-)
UPDATE: I seem to have X11 working with Leaserig and API with one exception: Now I am getting correct reports on the STATS page, but no record of any accepts/rejects on the POOLS page! Not only for myself, but someone just hired my rig within moments of me enabling it on X11 as I was working things out, and the same thing is happening with their pools. Everything looks normal on my end and the Leaserig Proxy window is showing accepts/rejects on my system, so I'm not sure why the Leaserig pools page is not seeing anything. I was also seeing the activity on the mining pools' own dashboard, so I'm pretty confident everything is working OK - it's just the Pools window is not showing accepts/rejects. Any ideas?