1000 seconds is too short for a cURL timeout - bump this up to at least 5 seconds:
[Aug 24 16:00:17] WARNING[503] res_phreaknet.c: Resolving timed out after 1000 milliseconds
[Aug 24 16:00:17] WARNING[503] res_phreaknet.c: Failed to curl URL 'https://api.phreaknet.org/v1/rsa?key=no&fetchall&version=21.4.2': Timeout was reached (key removed)
8/27/2024 6:47 AM — bunkermatty
I think I fixed it? Not sure tho: https://github.com/InterLinked1/phreakscript/pull/41
8/27/2024 7:41 AM — InterLinked
Yeah, that was the fix I intended when getting around to it.
Did this resolve the issue on your system with this patch?
Either way, it looks good, I will merge it in after the CI runs.
8/27/2024 8:11 AM — bunkermatty
I still have to test it out on my system, but I think this will fix most issues.
You must be
8/25/2024 2:05 PM — bunkermatty
On my VM it took 5.377s (checked with time prefix)