Unable to download maps in 2.6.535
-
When trying to download maps from within the program, I receive the following error.
Failed to download list of available maps from TripleA servers.
FeignException$InternalServerError. [500 Internal Server Error] during [GET] to [https://prerelease.triplea-game.org/maps/listing]
This problem has been around for a month, even with newer versions of the prerelease.
-
Where in the engine settings did you configure this prerelease server for maps?
I couldn't find a related entry...
I can only find Dice-Server and Lobby-URL related prerelease server settings. -
@panther I see under /Testing/Lobby URI Override, Pre-Release is selected with a value https://prerelease.triplea-game.org. I have never changed these settings.
-
@rogercooper
Right, but when I try to download a map with 2.6.5XX I always get the 404 error you pointed out here:
https://forums.triplea-game.org/topic/2989/unable-to-download-scenarios@LaFayette said you need to update to point to the prerelease server. There is no setting to update except the Dice Server and the Lobby Server, unless I miss something.
So what did you do to receive the 500 error instead of the 404 error?
-
@panther I tried a reset to default, which changed the setting to Latest Stable https://prod2-lobby.triplea-game.org. I still receive exactly the same error.
I an another computer I have 2.6.288 installed which works fine.
What is the URL for downloading maps?
-
@rogercooper said in Unable to download maps in 2.6.535:
What is the URL for downloading maps?
That's exactly what I am trying to figure out. Not only what it might be, but also exactly where to set it.
CC: @LaFayette
-
@panther I can download them manually using [https://triplea-game.org/maps-list/maps/].
-
Yes, that page in the end points to links to every github map repository.
I am not sure if this is related to the map server. -
I have forked the postings about TripleA development to
https://forums.triplea-game.org/topic/3121/triplea-development -
Map downloads are now dependent on the server and database to be operational. The database server on the prerelease server keeps crashing. It is currently crashed and probably has been for a bit now (before I was manually turning it back on every now and then).
Second, we also have disk space issues. That could be causing the DB to halt. Second, there might be something in the deployment that is killing the database.
-
@lafayette said in Unable to download maps in 2.6.535:
Map downloads are now dependent on the server and database to be operational. The database server on the prerelease server keeps crashing. It is currently crashed and probably has been for a bit now (before I was manually turning it back on every now and then).
Second, we also have disk space issues. That could be causing the DB to halt. Second, there might be something in the deployment that is killing the database.
I can download maps fine in 2.5. I can also download the maps manually from the Github repository and play them in 2.6. The fault must be in code.
Why are maps in Github at all? Every mod is single zip file. The files could be stored anywhere, even on Google Drive.
-
I can download maps fine in 2.5.
Of course you can, in 2.5 the map listing is a hardcoded file hosted on github read by the client, and then maps are downloaded directly from github in 2.5
In 2.6 the game engine requests the list of maps from the server, which fetches those from database (and then they are downloaded directly from github)
Why are maps in Github at all? Every mod is single zip file. The files could be stored anywhere, even on Google Drive.
We had this discussion. While zip files are great for the person that uploads and if only they individually ever are the ones that work on the maps. For maintainers it is a nightmare. Unzipping maps to find out what is in them is painful, do so to update them is painful, having zips also makes tracking changes not possible either.
Essentially in 2.5 you no longer need to store maps as zips at all, ever. You can instead use flat files, upload the files that change, or all files at once, and anyone downloading them can automatically get them as a zip. The zipping and extraction components are automatic. I believe I referred you to the forum post where this was discussed at length, I feel like this is the third time you and I are having this conversation.
-
@panther said in Unable to download maps in 2.6.535:
That's exactly what I am trying to figure out. Not only what it might be, but also exactly where to set it.
'Engine settings' should be the right place. 2.6 was updated to have a hardcoded prod URL of 'prod.triplea-game.org' and there is a redirect now on the server side to redirect the right client version to the right sserver version. There is a complication in there with the settings config that could have you still using an older version and heading to the 2.5 production (prod2-lobby.triplea-game.org). In that latter case you'll get a 404. If you get a 500, then you know you are hitting the 2.6 server, which is dying because its database is dead. Something we would need to fix as there would be no lobby without database.