BGA Studio is (no more) down

Game development with Board Game Arena Studio
User avatar
lordalx
Posts: 205
Joined: 03 March 2015, 21:15

Re: BGA Studio is (no more) down

Post by lordalx »

Hi. Still having some weird behavior with a specific game only. Any ideas ? :?

Code: Select all

Reloading game options for game krosmasterarena
Sorry, an unexpected error has occurred...

Propagating error from GS 1 (method: getStudioGameInfos): Unknown game name: krosmasterarena (reference: GS1 08/11 22:22:01) (reference: GS0 08/11 22:22:01)

>> Get me out of here <<

#0 /var/tournoi/release/tournoi-211026-0943/www/action/admin/studio.action.php(605): APP_DbObject->gameserverNodeRequestNoTable()
#1 /var/tournoi/release/tournoi-211026-0943/www/action/admin/studio.action.php(588): action_studio->doReloadGameoptions()
#2 /var/tournoi/release/tournoi-211026-0943/www/include/webActionCore.inc.php(190): action_studio->gameoptions()
#3 /var/tournoi/release/tournoi-211026-0943/www/index.php(259): launchWebAction()
#4 {main}
https://imgur.com/n9k4FIh
User avatar
Don Kiwi
Posts: 5
Joined: 30 May 2020, 09:33

Re: BGA Studio is (no more) down

Post by Don Kiwi »

Een wrote: 08 November 2021, 17:37
Don Kiwi wrote: 08 November 2021, 15:23 First of all, thanks for the hard work and sacrificing your weekends to fix this problem.

Are you still in the process of restoring all the game data?
Because my SFTP directory contains only an old version of my game (changed at least two weeks ago), while I made my last changes on Nov 4th.
I was foolish enough to forget committing my code (I think the current version is the one I committed), but you mentioned that the backed up data from Nov 5th looks safe.

I can wait no problem, just checking if everything's fine :)
Ouch... The mentioned backup from Nov 5th was about the database.
For source files, the reference is the source control repository, so unfortunately if you didn't commit in a while, you may have lost some data. There is also a daily autocommit, but if that failed for some reason, your most recent code may have been lost.
We have restored the games from the repository, so I'm afraid it's probably the case. You can check the commit history for your game from the game page (display commit log).
Hmm, the commit log didn't show any automatic commits.
Luckily however I still had a quite recent version stored locally on my computer... phew!
Lesson learnt though.

Thanks again for your efforts!
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: BGA Studio is (no more) down

Post by Een »

lordalx wrote: 08 November 2021, 22:20 Hi. Still having some weird behavior with a specific game only. Any ideas ? :?

Code: Select all

Reloading game options for game krosmasterarena
Sorry, an unexpected error has occurred...

Propagating error from GS 1 (method: getStudioGameInfos): Unknown game name: krosmasterarena (reference: GS1 08/11 22:22:01) (reference: GS0 08/11 22:22:01)

>> Get me out of here <<

#0 /var/tournoi/release/tournoi-211026-0943/www/action/admin/studio.action.php(605): APP_DbObject->gameserverNodeRequestNoTable()
#1 /var/tournoi/release/tournoi-211026-0943/www/action/admin/studio.action.php(588): action_studio->doReloadGameoptions()
#2 /var/tournoi/release/tournoi-211026-0943/www/include/webActionCore.inc.php(190): action_studio->gameoptions()
#3 /var/tournoi/release/tournoi-211026-0943/www/index.php(259): launchWebAction()
#4 {main}
https://imgur.com/n9k4FIh
I redeployed it from source control, it seems to be good now!
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: BGA Studio is (no more) down

Post by Een »

Don Kiwi wrote: 09 November 2021, 08:14 Luckily however I still had a quite recent version stored locally on my computer... phew!
Always a good thing to keep a local version :D
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: BGA Studio is (no more) down

Post by Een »

Pull the Pin Games wrote: 08 November 2021, 16:23 I uploaded my in-progress game up to the FTP server and now it seems to be working. Just a heads up that the SSL cert for https://en.studio.boardgamearena.com/ is not valid. It used to be in the before times.
We don't use language subdomains any more (studio guidelines request to use only English - please don't include comments in Korean like I have seen on some games :D - so the studio is only in English), so indeed we have not included any subdomain when retrieving a new certificate.

I don't think we'll add them again, as it's better to just use https://studio.boardgamearena.com/
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: BGA Studio is (no more) down

Post by Een »

thoun wrote: 08 November 2021, 17:10
Een wrote: 08 November 2021, 17:06
stefano wrote: 08 November 2021, 11:56 I'm not not able to access the table I was testing in studio anymore... HTTP ERROR 500
Please provide a link or the project name.
Every game with a syntax error seems to get an abstract HTTP 500 error.
PHP must have disabled display_errors by default for security reasons, but on studio it is useful when errors are fully displayed (it was before)
Displaying errors is now active again.

Please note: with php7.4, there are some extra notices, particularly the following:

Code: Select all

$test = null;
$test2 = $test['test'];
Will trigger:
[PHP Notice: Trying to access array offset on value of type null

This actually happens in a lot of games when traversing arrays for some reason, especially if spectators are not taken into account.
At the moment on our gameservers in production running php7.4 this tends to clutter the logs _a lot_ (one game generated 44 million lines of logs), so please be mindful of this :mrgreen:
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: BGA Studio is (no more) down

Post by Een »

UPDATE:

- In principle, all developer functionalities should now be available again.

- If some project has not been restored (we restored only projects in production and projects active in the last 12 months), please just make a post here to ask us to redeploy it.

- Also if we missed something and you find a feature is not working, please let us know by posting in this thread.

Thanks for your help and support during this unfortunate episode.
User avatar
thoun
Posts: 1620
Joined: 10 December 2020, 22:25

Re: BGA Studio is (no more) down

Post by thoun »

Thanks for the error display, it works perfectly !

You can now take some rest while we go back to hard work :mrgreen:
QWERTY_Already_Taken
Posts: 5
Joined: 10 March 2021, 06:55

Re: BGA Studio is (no more) down

Post by QWERTY_Already_Taken »

Hi! I cleared my cache and rebuilt my games, but they are not working in the studio after express starting and there is a bug where the images stopped loading for 'King of the Pitch.'

The errors I get when trying to express start each game are along the line of these in the Google Console:
Access to XMLHttpRequest at 'https://studio.boardgamearena.com:8084/ ... me_box.png' from origin 'https://studio.boardgamearena.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
...

HEAD https://studio.boardgamearena.com:8084/ ... me_box.png net::ERR_FAILED 200
...

Uncaught DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://studio.boardgamearena.com:8084/ ... me_box.png'.
...

GET https://en.1.studio.boardgamearena.com: ... g/cube.png net::ERR_CONNECTION_TIMED_OUT
...
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: BGA Studio is (no more) down

Post by Een »

QWERTY_Already_Taken wrote: 10 November 2021, 00:30 Hi! I cleared my cache and rebuilt my games, but they are not working in the studio after express starting and there is a bug where the images stopped loading for 'King of the Pitch.'
You used a hardcoded absolute URL instead of the appropriate path variable.
I don't really understand what you are doing as you seem to have several different cases for the image path, but you should use g_gamethemeurl and not:

Code: Select all

this.imageDirectory_h = "https://en.1.studio.boardgamearena.com:8083/data/themereleases/current/games/kingofthepitch/999999-9999/img/";
Also I have to say that using XMLHttpRequest to load images like you do seem pretty strange to me. It looks like you are trying to detect something that is provided to you directly through g_gamethemeurl.
Post Reply

Return to “Developers”