Page 1 of 1

BGA service error

Posted: 21 May 2020, 20:49
by ggohierroy
Hi, I've been trying to fix a problem with a game City of the Big Shoulders I developed.

My friend is having an error which says: Unexpected Error: BGA service error (blablabla ip address)

It started happening when the servers went down this morning, but it's still happening now.

I filed a bug to try to load it into studio, but it doesn't seem to work. When I try to load it into a studio save state, it says: Unexpected error: There is no valid saved state for this game and this report ID. Am I doing something wrong? Thank you!

https://boardgamearena.com/bug?id=17773

Re: BGA service error

Posted: 22 May 2020, 11:32
by Een
ggohierroy wrote: 21 May 2020, 20:49
I filed a bug to try to load it into studio, but it doesn't seem to work. When I try to load it into a studio save state, it says: Unexpected error: There is no valid saved state for this game and this report ID. Am I doing something wrong? Thank you!
This feature is probably broken following the architecture changes we made to adapt to the increased load in the last 2 months. We'll need to make a pass to check and fix some studio features linked to production when we can.

There seems to be a problem to display the logs from the studio (probably for the same reason), so I checked and here is the log for the error, hope it helps

Code: Select all

21/05 22:08:33 [error] [T88907432] [85851376/Orange_Julec] Unexpected exception: Error : call to getObjectFromDB resulted in an resultset with more than one row for the following query : 
SELECT card_id, card_type_arg FROM card WHERE primary_type = 'partner' AND card_location = 'advertising' (BGA service error 1590091713)
#0 /var/tournoi/release/games/cityofthebigshoulders/200521-2118/cityofthebigshoulders.game.php(4785): APP_DbObject->getObjectFromDB('SELECT card_id,...')CityOfTheBigShoulders->stGameActionPhase()

Re: BGA service error

Posted: 23 May 2020, 00:52
by ggohierroy
Thank you, this definitely helps!

Re: BGA service error

Posted: 31 May 2020, 17:44
by Een
The feature to load a database state from a bug report has now been repaired and should work again with the procedure detailed in the wiki "practical debugging" section.