-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to fetch assets from "api.loohpjames.com" #38
Comments
this is happening here to:
|
The issue seems to be a timeout error caused by the API responding after at least ~40 seconds. #
# route that returns all the latest versions of LOOHP's plugins
$ time curl -s https://api.loohpjames.com/spigot/data
error code: 522
real 0m40.286s
user 0m0.000s
sys 0m0.047s
$ time curl -s https://api.loohpjames.com/spigot/data
error code: 522
real 0m39.326s
user 0m0.015s
sys 0m0.015s
$ time curl -s https://api.loohpjames.com/spigot/data
error code: 524
real 3m29.504s
user 0m0.000s
sys 0m0.046s
#
# base route
$ time curl -s https://api.loohpjames.com
{"Status":"OK","Runtime-Mode":"productionMode","Application-Author":"LOOHP","Soulmate-Count":1,"Application-Description":"LOOHP's Public API.","API-Version":"v1","Application-Owner":"LOOHP","Given-Name":"AppLEshakE","Splash":"Distance is measured with love. \uD83C\uDF20"}
real 1m2.286s
user 0m0.000s
sys 0m0.062s
$ time curl -s https://api.loohpjames.com
error code: 525
real 1m18.614s
user 0m0.000s
sys 0m0.031s
$ time curl -s https://api.loohpjames.com
{"Status":"OK","Runtime-Mode":"productionMode","Application-Author":"LOOHP","Soulmate-Count":1,"Application-Description":"LOOHP's Public API.","API-Version":"v1","Application-Owner":"LOOHP","Given-Name":"AppLEshakE","Splash":"Dream, Imagine, Stay Wild."}
real 1m35.499s
user 0m0.015s
sys 0m0.031s |
Getting the same issue as well since latest dev build. Attempted rollback but it's all the same api so it's the same problem. It doesn't seem to mess with the server function, but to be consistent here's the report: It goes up and down so I'm guessing the connection is just having issues.
|
Yes there's been some connection issues to the server lately. If only I can afford a better one haha. Well, in the meantime if it continues to work correctly then you can ignore these connection errors. |
How much load does your current server handle? I might be able to donate some of my servers' computing power if needed :) |
Seconding the last comment. If you need some I would happily donate some server for the api as a fallback. I can't do an immense amount of traffic but I can do some. |
Well currently the software running the API isn't written with the ability to distribute to different servers. Thanks for your kindness to help tho. |
@LOOHP what is api.loohpjames.com and what calls/data are sent there? |
Here is a copy of the pinned message outline network requests the plugin makes. InteractiveChatDiscordSrvAddon requires communication to these sites in order to function, please do not block them. https://api.loohpjames.com (My API, for looking up whether new assets need to be downloaded) Please do not block my API thinking that it is only used to notify you about plugin updates. It is much more than that. |
Got this error multiple times between 16:02 and 16:27.
Don't think a stack trace is necessary here. Also, if this is thrown could you make it check if a connection can be made to another server like google or Mojang auth to validate if it is a Server Internet issue or API site issue and provide an appropriate warning?
The text was updated successfully, but these errors were encountered: