Squad xmls do not work on linux
Assigned, WishlistPublic

Description

Squad xmls do not seem to be working on linux servers. I have tried it on both a debian and ubuntu server. These were vanilla installs with all the correct permissions. It also does not seem to produce any errors in either the server or client. {F25493}

Details

Legacy ID
2178724593
Severity
None
Resolution
Open
Reproducibility
Always
Category
Multiplayer
Steps To Reproduce

Just create a vanilla server on linux and join it with a valid squad xml file. It will not show up.

mjmfighter edited Additional Information. (Show Details)
mjmfighter set Category to Multiplayer.
mjmfighter set Reproducibility to Always.
mjmfighter set Severity to None.
mjmfighter set Resolution to Open.
mjmfighter set Legacy ID to 2178724593.May 7 2016, 8:11 PM
mjmfighter edited a custom field.
limey added a subscriber: limey.May 7 2016, 8:11 PM
limey added a comment.Jan 31 2015, 1:36 AM

i can confirm this behaviour with Linux server version 1.38.128978. it stopped working a few weeks before Christmas 2014.

This problem still exists and I have done a lot more research on it. It turns out that any squad xml that is genereated by a php file (or similar) does not get recognized on linux. However if you use a static xml file it works fine.

Example is listed below:

armasquads url that does not work:
http://armasquads.com/user/squads/xml/6Bww1WUBsnDyfsDbPGzIl2rIyoAjV8df/squad.xml

my static url that does work:
http://mjmfighter.com/squads/squaD.xml

As you can see if you open both the urls, they return the exact same value. The php version generated by armasquads however does not work on our server. The static version I am hosting on my site works.

Please look into this issue. We are currently on Debian 7

ins0 added a comment.Mar 8 2015, 7:48 PM

hi i'm the creator of armasquads.com.
can confirm this too - i get many issue requests from squad xmls that do not work even when squad xml 100% correct.

we did some reseach with mjmfighter - this are the facts:

tested with arma 3 gameserver

[windows os server]
squad information works - squad logo works.
request squad xml files over http 1.1 and requesting the squad paa file that is linked in the xml file. Don't require a Content-Length response header.

use the server agent "BIGameEngine"

server logs:

85.XXX.XXX.XX - - [08/Mar/2015:19:30:39 +0100] "GET /user/squads/xml/a9QO9lmiDjeo7jnHimcSlE87QyJ9rHoL/squad.xml HTTP/1.1" 200 430 "-" "BIGameEngine"
85.XXX.XXX.XX - - [08/Mar/2015:19:30:39 +0100] "GET /user/squads/xml/a9QO9lmiDjeo7jnHimcSlE87QyJ9rHoL/5261bf940045df40818905a34f9bcc8a.paa HTTP/1.1" 200 5625 "-" "BIGameEngine"

[linux server]
squad information works - squad logo is not displayed.
request squad xml files over http 1.0 and _do not_ request the squad paa file that is linked in the xml file. Require a Content-Length response header - otherwise the squad xml won't work completely.

use the server agent "Flashpoint/1.91"

server logs:

194.XXX.X.XX - - [08/Mar/2015:19:31:49 +0100] "GET /user/squads/xml/a9QO9lmiDjeo7jnHimcSlE87QyJ9rHoL/squad.xml HTTP/1.0" 200 430 "-" "Flashpoint/1.91"

  • missing squad paa request --

used squad xml:

http://armasquads.com/user/squads/xml/a9QO9lmiDjeo7jnHimcSlE87QyJ9rHoL/squad.xml

it looks like the codebase for the arma linux servers are older or use a older version from flashpoint.

ins0 added a comment.Mar 28 2015, 9:16 PM

any new infos on this`?

This issue is still present in the 1.42 version of the Linux dedi.

What happens is that the dedi appears to reads the squad logo file name from the XML (eg <picture>mysquad.paa></picture>) and then tries to load that file from the server's current working directory instead of reading it from the web server where the squad xml file came from.

For example, if the A3 server executable is in /opt/arma3 and you launch the server from that directory, then one can see(*) the server trying to load the file /opt/arma3/mysquad.paa.

In the server log output you then see the following error messages:

    Can't find real path "mysquad.paa": "No such file or directory"

    2015/04/11, 12:00:22 error: Invalid file extension "mysquad.paa".

(*) It is "seen" by running the A3 server executable through the strace debug tool and looking at the strace log output.

Arkhir added a subscriber: Arkhir.May 7 2016, 8:11 PM

Cannot reproduce, squad.xml works on our linux server.

Issue still present. What version of linux are you running Arkhir?

XML file works fine, logos are still the issue and do not load at all. Same problem as Killswitch mentioned above.

Server was last updated 24/4/15. I believe it's the latest version. I've just read that the issue happens with php generated squad .xml's.

We host our own squad.xml on our website, so that's why it might be working.

So you got an logo to work as well? It shouldn't matter anymore if it is php generator or not.

Yeah. It works, generally. Sometimes it bugs out, but it's due to Zeus and how respawns work I think, rather than our server.

macchky added a subscriber: macchky.May 7 2016, 8:11 PM

Static url and logo works fine on my Arma3 1.44 Ubuntu 14.04 server, but always gets error

Can't find real path "squad.paa": "No such file or directory"
Invalid file extension "squad.paa"

PHP generated url is not tested , but may not work.

ins0 added a comment.Jun 2 2015, 10:22 PM

this clearly annoying people, any news on this?

dedmen added a subscriber: dedmen.May 7 2016, 8:11 PM

Works fine on my Debian wheezy and using php generated and "real" squad.xmls on newest A3 Version.

ins0 added a comment.Jul 14 2015, 9:01 AM

please notice comment http://feedback.arma3.com/view.php?id=22506#c88784 - there is no issue with generating squad xmls dynamicly, the main problem is that the gameclient don't request squad xml logos when the server is running linux.

i don't have a linux server so i can't test if this problem is still present or fixed.

@dedmen could you please test this on your server and check against my comment linked above, please?

Waited to long before submitting Note and my text got deleted... in short
I still had the Logo in cache.
Same error as http://feedback.arma3.com/view.php?id=22506#c93068 in ServerLog nothing in ClientLog
Server requesting SquadXML but client not getting logo
Last logo download from my server was from 2 days ago but that could be one of my guys playing on Windows Server

ins0 added a comment.Jul 15 2015, 2:15 PM

Thanks dedmen for this check.
So the problem is still present.

Adam added a comment.Jul 15 2015, 2:41 PM

We are currently investigating the issue.

Any news on this matter?

Adam added a comment.Aug 10 2015, 8:52 AM

Scheduled for a fix

Adam added a comment.Aug 11 2015, 1:54 PM

Issue is fixed. Can you please check it? Thanks!

Still not working for me, but it could be the XML Hoster, too. I'm using armasquads.com hosting. Ins0, can you confirm that this has been fixed?

The logo won't work, but neither will the file. I have all my info inputted correctly and am using the correct player profile. Not sure what the issue is.

ins0 added a comment.Aug 13 2015, 10:01 AM

I don't own a server, so unfortunately i can't test the fix by myself. If anyone owns a server and can setup the dev branch - ping me here or on twitter and i give my best to assist you.

MountainRat i looked into your account, indeed the paa files where never requested, but the access log shows that gameserver download the paa files from other squad xml files, so the host shouldn't be the problem in the first place.

Adam can you confirm the different User Agent between Windows and Linux Servers? ( http://feedback.arma3.com/view.php?id=22506#c88784 )
Also is it possible to get new/updated information what charset the squad xml really can process, what is the max string length for each xml entry. The Wiki doesn't give us much detailed !technical! information about this. (ONLY FOR THE NICK FIELD)

In which version this issue should be fixed?

Raspu86 added a subscriber: Raspu86.May 7 2016, 8:11 PM

This issue is still present with 1.48 on Ubuntu 14.04.03 LTS.

Error Message in Server log:
error: Invalid file extension "logo.paa".
Can't find real path "logo.paa": "No such file or directory"

Apache access.log entry:
46.XX.XX.XX - - [15/Aug/2015:15:20:49 +0200] "GET /squadxml/squad.xml HTTP/1.0" 200 4209 "-" "Flashpoint/1.91"
----------->>>>> PAA GET is missing!

Get from a windows machine:
148.XX.XX.XX- - [15/Aug/2015:15:25:27 +0200] "GET /squadxml/squad.xml HTTP/1.1" 200 4190 "-" "BIGameEngine"
148.XX.XX.XX- - [15/Aug/2015:15:25:27 +0200] "GET /squadxml/logo.paa HTTP/1.1" 200 46060 "-" "BIGameEngine"

Adam added a comment.Aug 17 2015, 8:26 AM

The fix will be on devbranch today / tomorrow

Still broken. :(

Adam added a comment.Aug 21 2015, 8:37 AM

Try dev branch. The fix should be deployed there for all the issues today or tomorrow.

ins0 added a comment.Sep 3 2015, 3:46 PM

Can't test it directly by myself but from inspecting the logs i can guess that it worked, as i get now more requests to squad logos from "flashpoint" agends then before

XXX - - [03/Sep/2015:15:13:02 +0200] "GET /user/squads/xml/XXX/squad.xml HTTP/1.0" 200 1816 "-" "Flashpoint/1.91"
XXX - - [03/Sep/2015:15:13:02 +0200] "GET /user/squads/xml/XXX/307367f68e26454923b249edb9732059.paa HTTP/1.0" 200 35145 "-" "Flashpoint/1.91"
XXX - - [03/Sep/2015:15:14:26 +0200] "GET /user/squads/xml/XXX/squad.xml HTTP/1.0" 200 3427 "-" "Flashpoint/1.91"
XXX - - [03/Sep/2015:15:14:26 +0200] "GET /user/squads/xml/XXX/c8b84e55dc475decf77c2a98636f0fbf.paa HTTP/1.0" 200 22016 "-" "Flashpoint/1.91"

I just acquired a linux server. Will test and report back.

This still doesn't work. :(

Input added a subscriber: Input.EditedJul 10 2018, 11:12 PM

Hello everyone.

Is there anything new on this?

I'm coding on an module for Drupal to manage our squads and to do stuff like adding the Players name to the logo, so every player has it's own logo.paa. I'm so far that the server (linux) reads and downloads the paa. But the client doesn't. IP of the generated xml, paa and dedicated server is the same server.

The "funny" thing: if i log into another server (windows or linux) does not matter. the client is storing the paa under "c:\Users\[username]\AppData\Local\Arma 3\squads\[squadtag]"

Is this maybe some permissions stuff under linux so arma-dedicated can't deliver the paa-file?

Regards
Input

Well never mind. Restarted everything (client and server) and it works as excpected. Think caching, changing headers and switching physical file to php was the bottleneck. Stupid me.