Use your fanart.tv username and password to login to this forum, if you don't have one, clicking on register will take you to the registration form on fanart.tv

No response from api

Post here any issues with the API or feature requests

No response from api

Postby sysv » Mon Dec 05, 2016 6:46 pm

Hi this seems to be happening more and more often to a point where its almost pointless to use the api

Pasting this into a web browser gives no output most of the time (Sometimes it works)

"http://webservice.fanart.tv/v3.1/music/3d2b98e5-556f-4451-a3ff-c50ea18d57cb?api_key=<api_key>"

my qt/qml app gives this error "Error transferring http://webservice.fanart.tv/v3.1/music/ ... b?api_key=<api_key> - server replied: Internal Server Error"

Any suggestions ???
sysv
 
Posts: 8
Joined: Mon Dec 05, 2016 6:32 pm

Re: No response from api

Postby Kode » Tue Dec 06, 2016 9:20 am

Looks like some of the API VPS's are down, and the OVH control panel isn't responding at the moment, there are 4 VPS's and 1 dedicated server in round robin, 1 of the VPSs is responding, and so is the dedicated, which is why sometimes it works and sometimes it doesn't. I'll try and get the others back up
User avatar
Kode
Site Admin
Site Admin
 
Posts: 346
Joined: Wed Dec 18, 2013 11:34 am

Re: No response from api

Postby Kode » Tue Dec 06, 2016 9:38 am

the VPS's have run out of space, I've removed them from the round robin for now, so it should work fine again
User avatar
Kode
Site Admin
Site Admin
 
Posts: 346
Joined: Wed Dec 18, 2013 11:34 am

Re: No response from api

Postby sysv » Tue Dec 06, 2016 8:44 pm

yep all is good today


Thanks
sysv
 
Posts: 8
Joined: Mon Dec 05, 2016 6:32 pm

Re: No response from api

Postby sysv » Tue Dec 06, 2016 11:20 pm

Perhaps i spoke to soon got 2 new errors. Again hit and miss pasting the above url into a web page

Error 520 Ray ID: 30d3173e57be0c41 • 2016-12-06 22:14:26 UTC
Web server is returning an unknown error

my qt/qml app also says
"Error transferring http://webservice.fanart.tv/v3.1/music/ ... b?api_key=<api_key> - server replied: Origin Error"
sysv
 
Posts: 8
Joined: Mon Dec 05, 2016 6:32 pm

Re: No response from api

Postby Kode » Mon Dec 12, 2016 1:11 pm

I had to remove the VPS servers as we had issues with them, so was running on 1 main server + 1 VPS, unfortunately the load to the API caused OVH to decide that the VPS was being attacked and dropping traffic, the servers are in round robin so when trying to hit the VPS I think that is where the cloudflare 520 error was coming from, I have added another 3 VPS's to try and share the load, see if that helps, I would suggest if you hit a 520 it might be worth pausing for 10 seconds before trying again as you will probably have cached the DNS and so will keep hitting the same server.
User avatar
Kode
Site Admin
Site Admin
 
Posts: 346
Joined: Wed Dec 18, 2013 11:34 am


Return to API

Who is online

Users browsing this forum: No registered users and 12 guests