tacheometry / steam-hour-farmer

Farm/boost/idle hours headlessly on Steam without game installation
https://npmjs.com/steam-hour-farmer
MIT License
24 stars 3 forks source link

VPS login issue #10

Open Lounas225 opened 2 weeks ago

Lounas225 commented 2 weeks ago

Hi there! Thanks for making this awesome hour booster. Been using it for awhile, deployed it on a VPS to run smoothly 24/7 until one day it suddenly just stopped working..

Here are the log messages i get after it deploys and tries to log me in:

Logging in... (node:105) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) ==> No open HTTP ports detected on 0.0.0.0, continuing to scan... ==> Port scan timeout reached, no open HTTP ports detected. If you don't need to receive public HTTP traffic, create a private service instead.

I have no idea what those mean since im not a tech wizard and can't fix it myself.

tacheometry commented 2 weeks ago

The program shouldn't need any open ports, and I don't know what's logging those lines. But, like with any other tech issue, first thing's first, restarting. I'd update the system as well before doing so. So if you're on something like Ubuntu, sudo apt update, sudo apt upgrade, or run the equivalents, and then do sudo reboot. Maybe fixed now?

Provide:

masterlinksword commented 2 weeks ago

Thanks for the reply.

I had it working 24/7 for months without issues simply by deploying this at render.com as a free web service.

First i make an account on render, then use your public github repository as the source to deploy a new web service and input my account info as environment variables, clicked deploy and basically that was it.

Previously i used gunthersuper's hour booster and like with that i added a uptime monitor service (uptimerobot.com) and a scheduled execution service (cron-job.org) to this until one day it suddenly just stopped to function.

Any idea why and is there a way to fix it?

tacheometry commented 1 week ago

I'm not really sure how services like Render work - if it's anything that requires uptimerobot/etc, then it means your process gets turned off after some time, I think. Maybe they patched this workaround and it's no longer revived by requests. Or regarding that port scanning - maybe it doesn't detect any open ports and thus thinks it's not a public facing service or there's some error, so it cancels running it.

This is what we've got to figure out - whether the process even keeps running at all, or gets paused by Render... As you've noticed, usually it just logs "Farming..." and keeps running in the background.

If there's no workaround, maybe consider alternatives: https://github.com/tacheometry/steam-hour-farmer/issues/5#issuecomment-2072868439

masterlinksword commented 1 week ago

Not sure if the monitoring helped the process at all but i added them just in case. On my experience it worked without them too.

Maybe once a week the service crashed and i had to restart it but it used to start the farming without further issues. Maybe something changed on steam side, maybe renders, i can't say. Hopefully it could be figured out somehow since i'm not really looking forward to a paid solution and can't have it running on my computer 24/7. I'll post updates if i find anything.