Help needed - dreaded "BGA service error"! [RESOLVED]
Posted: 25 May 2021, 20:41
Although I'm new to BGA development, I'm a reasonably experienced developer and pride myself on not having to ask for help very much. But I'm at a loss here.
I've been trying to make progress with my game tonight, was making changes and refreshing the game I had in progress - all seemed fine. But then when I decided to stop the game that was running and "express start" a new one, I suddenly starting getting the dreaded error:
"Unexpected error: Propagating error from GS 1 (method: createGame): BGA service error"
I have seen this before, and have previously been able to resolve it using the excellent troubleshooting guide. But this time I'm utterly at a loss and wondering if there is perhaps some problem with the BGA server itself?
The thing is, the game was running fine 5 minutes before it started doing this - and the only 2 files I'd changed in that time were the .game.php and the .js. I've tried reverting both to the versions I had at the start of the night - and I still get the same error. While it's true that I'd not previously tried to *start* a game for a few days, nothing else has changed since then that would cause the game to fail to start - just the CSS file, and perhaps the .tpl one.
The troubleshooting section I linked to above is frustratingly vague, although doubtless pinpoints the most common causes (and as I said has helped me in the past). There's definitely nothing wrong with my dbmodel, nor with my states (have pasted both into online syntax checkers, just to be sure!), nor do I call initStat anywhere. (I haven't even started to put stats in and probably won't until it's otherwise complete.) And as I said, there is nothing important that's changed since I was last able to successfully create a game. I'm really at a loss, and desparately hoping someone here might know something else that might cause this.
But as I said, I've reverted the only two files (to my knowledge) that have changed since this last worked, and it still fails. And it's hard for me to see what else might have because the "display differences" in the control panel seems to not be responsive (I just see the svn diff command but no output - which is something else that makes me think that maybe there's a server issue? Again this has worked for me before). I just want to be able to continue development on my game, and it's really frustrating not having a clue why things won't start.
Thanks in advance!
I've been trying to make progress with my game tonight, was making changes and refreshing the game I had in progress - all seemed fine. But then when I decided to stop the game that was running and "express start" a new one, I suddenly starting getting the dreaded error:
"Unexpected error: Propagating error from GS 1 (method: createGame): BGA service error"
I have seen this before, and have previously been able to resolve it using the excellent troubleshooting guide. But this time I'm utterly at a loss and wondering if there is perhaps some problem with the BGA server itself?
The thing is, the game was running fine 5 minutes before it started doing this - and the only 2 files I'd changed in that time were the .game.php and the .js. I've tried reverting both to the versions I had at the start of the night - and I still get the same error. While it's true that I'd not previously tried to *start* a game for a few days, nothing else has changed since then that would cause the game to fail to start - just the CSS file, and perhaps the .tpl one.
The troubleshooting section I linked to above is frustratingly vague, although doubtless pinpoints the most common causes (and as I said has helped me in the past). There's definitely nothing wrong with my dbmodel, nor with my states (have pasted both into online syntax checkers, just to be sure!), nor do I call initStat anywhere. (I haven't even started to put stats in and probably won't until it's otherwise complete.) And as I said, there is nothing important that's changed since I was last able to successfully create a game. I'm really at a loss, and desparately hoping someone here might know something else that might cause this.
But as I said, I've reverted the only two files (to my knowledge) that have changed since this last worked, and it still fails. And it's hard for me to see what else might have because the "display differences" in the control panel seems to not be responsive (I just see the svn diff command but no output - which is something else that makes me think that maybe there's a server issue? Again this has worked for me before). I just want to be able to continue development on my game, and it's really frustrating not having a clue why things won't start.
Thanks in advance!