View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0009847||New issues||Client||public||2018-04-23 18:58||2018-09-30 13:46|
|Status||closed||Resolution||no change required|
|Summary||0009847: Players lose connection while downloading from HTTP server|
Random players get "connection lost" message during downloading our gamemode from our HTTP server.
It is a serious problem for us, as some of our players (mentioned by many) need to restart the download several times to be able to join our server. Maybe it is because our HTTP server is quite fast so it uses all the player's network connection.
|Tags||No tags attached.|
What are the values in your mtaserver.conf for the following settings;
Also read the notes for them. It's more than likely misconfigured (less than optimal.. either for your typical player's net or the used HTTP server) so it's advised to play around with the values a bit to see if you can reduce the time-outs this way. If it's not, then it's simply a bad HTTP server.
The internal MTA HTTP server is disabled, so I don't think these change anything as we use two nginx servers for serving HTTP files.
Also, I think, a misconfigured HTTP server shouldn't make MTA drop the connection. (Players do not get kicked because they can't download the files, they lose connection to the MTA server, not to the HTTP.)
seelrd, the setting "<httpmaxconnectionsperclient>" also mentions "Depending on the type of http server" in the notes.. there's more than one type (the internal HTTP server) applicable to this line. The client requests a connection with the HTTP server, and the server's config is respected while establishing it.
Also you said "a misconfigured HTTP server shouldn't make MTA drop the connection", well it does, when a download timeout is reached, the client drops the connection. This is when progress has stalled (with 0 bytes received over a lengthy timeframe) without HTTP fail acknownledgement sent by the webserver. It is designed to do so..