View Issue Details

IDProjectCategoryView StatusLast Update
0008144Multi Theft Auto : San AndreasServerpublic2014-04-06 08:13
ReporterjhxpAssigned Tosbx320 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSDebianOS Version7.4 x64
Product Version1.4 
Target VersionFixed in Version1.4 
Summary0008144: 'HTTP server file mismatch' errors when trying to play on a server that uses 64-bit Linux server build
Description

As above. These errors seem to only occur on a 64 bit Linux MTASA 1.4 server build. They are not present on neither 32 bit Windows/Linux regular server builds nor the 64 bit Windows one.

Issue happens both when downloading the resource files directly from the server and when downloading from the external webserver.

Steps To Reproduce
  1. Set up a 64-bit Linux MTASA 1.4 server using the files available on the nightly page. Install the default pack of resources and config files available on the linux.mtasa.com page.

  2. Start the server, then connect to it with a MTASA 1.4 client.

3a. Check the client and server console logs for 'HTTP server file mismatch' errors.

3b. Try using the scoreboard or the admin panel (both should be already running as specified in the default config).

Additional Information

Client log:

[2014-04-05 21:11:02] [Output] : * Connected! [MTA:SA Server 1.4 [GNU/Linux x64]]
[2014-04-05 21:11:02] [Output] : Server FPS limit: 36
[2014-04-05 21:11:02] [Output] : Welcome to Freeroam
[2014-04-05 21:11:02] [Output] : Press F1 to show/hide controls
[2014-04-05 21:11:03] [Output] : Server AC info: [Allowed client files: None] [Disabled AC: None] [Enabled SD: None]
[2014-04-05 21:11:14] [Output] : Download error: HTTP server file mismatch (admin) admin_clientjoiner.lua
[2014-04-05 21:11:14] [Output] : Download error: HTTP server file mismatch (admin) admin_clientprefs.lua
[2014-04-05 21:11:14] [Output] : Download error: HTTP server file mismatch (admin) admin_client.lua
(...)

Server log:
(...)
[2014-04-05 18:09:05] JOIN: zz joined the game (IP: x)
[2014-04-05 18:09:14] DIAGNOSTIC: zz #1001 External HTTP server file mismatch (admin) admin_clientjoiner.lua
[2014-04-05 18:09:14] DIAGNOSTIC: zz #1002 External HTTP server file mismatch (admin) admin_clientprefs.lua
[2014-04-05 18:09:14] QUIT: zz left the game [Quit]
[2014-04-05 18:09:15] CONNECT: zz connected (IP: x Serial: -nope- Version: 1.4.0-5.06285.0)
[2014-04-05 18:09:16] JOIN: zz joined the game (IP: x)
[2014-04-05 18:10:20] DIAGNOSTIC: zz #1002 HTTP server file mismatch (admin) admin_clientjoiner.lua
(...)

TagsNo tags attached.

Activities

jhxp

2014-04-05 21:55

administrator   ~~0020585

Tested this on r6285 (Client and Windows server builds) and r6286 (Linux server builds).

sbx320

2014-04-05 23:28

administrator   ~~0020586

Apparently the MD5 implementation we're using does not work correctly under Linux x64. The CRC value however is correct.

client md5 E5062AB734FCBA0B4156FF81EF7CA8C8 crc 39b90f07
server md5 2DE309A1229F1811152FBA81D35CCFBE crc 39b90f07
Download error: HTTP server file mismatch (freeroam) colorpicker.lua

The file on the server has the md5sum E5062AB734FCBA0B4156FF81EF7CA8C8, and is correctly downloaded to the client.

sbx320

2014-04-06 01:46

administrator   ~~0020588

Should be fixed in http://code.google.com/p/mtasa-blue/source/detail?r=6289

jhxp

2014-04-06 08:13

administrator   ~~0020589

Indeed, it works fine now. Good job.

Issue History

Date Modified Username Field Change