Issue with database? Game completely white

Game development with Board Game Arena Studio
User avatar
Bids
Posts: 72
Joined: 02 April 2019, 18:10

Issue with database? Game completely white

Post by Bids »

Hi,
Is there an issue with the database or server? When I start my game in the studio, it's completely white. Also with older versions that used to work before.
User avatar
shadoww1243
Posts: 1
Joined: 15 February 2021, 17:07

Re: Issue with database? Game completely white

Post by shadoww1243 »

I am having the same issue, although I'm completely new to this so thought it was something I'd done.
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Issue with database? Game completely white

Post by Een »

Just launched a game and it's working, so I don't think it's a system wide issue. Do you still have the issue?
User avatar
Bids
Posts: 72
Joined: 02 April 2019, 18:10

Re: Issue with database? Game completely white

Post by Bids »

Yes I still have the issue.
I set back my code to the lastest version that is now in production and is in Beta available now but when I launch a new table in the studio, I get a white page:
This table for example: https://studio.boardgamearena.com/1/bids?table=246240
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Issue with database? Game completely white

Post by Een »

Bids wrote: 16 February 2021, 13:50 Yes I still have the issue.
I set back my code to the lastest version that is now in production and is in Beta available now but when I launch a new table in the studio, I get a white page:
This table for example: https://studio.boardgamearena.com/1/bids?table=246240
Indeed, I can reproduce the issue for your game (other games I have tried run fine). I'll check the logs to try to figure this out.
User avatar
Bids
Posts: 72
Joined: 02 April 2019, 18:10

Re: Issue with database? Game completely white

Post by Bids »

Can I set exactly the version of production as the current one in the studio? Because I have my own git from which I took the version of the moment of my last production release, but maybe something is still different on my local version, not sure. Just to isolate if the problem is on my side or on the studio, that could be a good test, because we can see that that version is working.
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Issue with database? Game completely white

Post by Een »

Yes, from the manage page, you can use "Display commit log" to get the revision number for the last version you pushed to prod, then "Overwrite working copy with this revision".

On my side I spent some time on it but haven't been able to understand the issue yet. There is no error in the logs, and the webserver answers "200" (success) but with an empty response. It's a little like if there was a "die" or an "exit" instruction somewhere, but I haven't found any (well, just one, but commented).

I have also loaded the game on my local environment from the repository, and there it works. So for now, still a mystery...
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Issue with database? Game completely white

Post by Een »

Ok, I checked the diff between current prod version and current studio version and it gave me some light.
It seems that you did some renaming from "bids" to "bidscardgame" inside the file. Or maybe you had two projects, and you overwrote bids with the wrong source files.
In any case, indeed this will not work, as when the game name indicated in the url is "bids", the code run will be expected to use "bids" for naming rules inside the project.
User avatar
Bids
Posts: 72
Joined: 02 April 2019, 18:10

Re: Issue with database? Game completely white

Post by Bids »

Hi Een,
Thanks a lot for looking into this! Sorry for only getting back to you now, but I have been quite busy this week. I will check where it exactly changed and change it back and test it again. Really appreciate your effort!
User avatar
Bids
Posts: 72
Joined: 02 April 2019, 18:10

Re: Issue with database? Game completely white

Post by Bids »

Great it works again! Indeed somehow an old file for my Action file got in the file directory again and somehow changing verisons in git did not change this back :) not sure what happened but thanks a lot for looking into this because I had no clue where to start.
Post Reply

Return to “Developers”