Causes can be an unusual heavy load / usage of the API, the API wasn’t used for a long time and is in a sleep state and needs to “waken up” with one request first OR
technical issues at Ubisoft’s or Heroku’s servers (login issues, heavy load, DOS-Attack etc. You can check the technical support forum on the RB6:Siege forums for complains,)
I checked the logs and there are 3 to 4 cases with request timeout in the last active session of the script. One with a fatal PHP timeout (30 seconds exceeded)
I changed request headers in my script to have an endless lifespan. They should not timeout now. However I believe Heroku(.com) has an internal 30 seconds request timeout though.
The current session runs flawless and there are no timeouts logged.
I’m not getting any timeouts or error messages since yesterday! Even if I try multiple lookups in 30 seconds… So it seams to be working fine now!
Great script mate!
I am sitting in the library of my university right now browsing through my mail to see a mail from Heroku that I used all of my free Dyno hours this months.
Due to its increasing popularity of this API it has reached a point where the “free resources” of Heroku last a whole month. If the resources are emptied due to the amount of requests the API will go into a sleep state until the 1st day of the next month. Heroku has notified me about the increase of traffic to my App and has given me the option to subscribe for 7$ a month. However, as I am a poor student even that money can make me hungry the next days However, I believe at this moment we will not need this. The resources last a whole month and has been doing so for the last couple. The free heroku resources were always emptied on the 28th or something and it did not seem to have affected anyone.
As proposed in this GitHub issue by the user pushontom I implemented another work-around ie. solution for players using any sort of whitespace character in their nick names unable to fetch their rb6 resources via my API.
You can now copy your profile Id found in the URL of your ubisoft profile page https://game-rainbow6.ubi.com/
and parse it as ‘nick=’ query parameter instead.
Be sure that your profile Id matches the form of /[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}/ #Example:
Hey Nekres. im trying this last solution for my page but i still seem to be getting a Connection to Server error… im on xbox… for my nick= i used the url from ubi… any suggestions? thanks in advance
On xb1 it’s l PR Dad l. On the ubi site it’s 55a9a1c6-4ba2-46d4-b443-433ae747eb60 Now it’s saying I haven’t done my placing matches or the username is wrong. I have completed them. Thank you !
i just wanna inform u that the stats dont work anymore (i think since the blood orchid update?!).
I get nonstop the “Error Connection to Remote Server” error…
So maybe u can check it what it is or its still a ubisoft problem?
And why ubisoft stats? We have different other pages (r6db.com, r6stats.com) do maybe they work more stabile as ubisoft pages?!