Jump to content
Sign in to follow this  
siryouhavefailedhard

[Resolved] Squad XML and logo on rest service

Recommended Posts

I've been trying to generate a squad xml on my rest service, due to it's nature I can't use a relative link to the logo.paa

 

When using a http:// link to the paa file, the whole squad xml stoped working. (No clan tag ingame)

 

I tried to use the application/octet-stream mime type but it didn't helped.

 

 

Share this post


Link to post
Share on other sites

Update: Well apparently it's not the rest service but arma in general that fails to load the logo of an squad.xml when it's .paa (hosting a .jpg worked)

 

I've tried hosting one of the logos out of my squad cache, none worked so far.

Thought maybe the format changed and I have to make and convert a new one but that failed also.

 

My bad, I knew about the mime type but that was the cause of the non loading paa when hosted the normal way.

But still, hosting the logo on my rest Service still fails.

 

Share this post


Link to post
Share on other sites

The problem with the squad xml failing completely has vanished, the logo is still not loading.

 

So I've begun to analyse the traffic from arma to server, comparing a traditionally hosted squad.xml and my rest service squad.xml  and logos.

 

While there where differences in the header previously I have now managed to produce (nearly*) 1:1 the same output in Header and Content.

*(Rest and Host server are different hardware and thus the header differs in neglectable places like server:  Data:  or X-Powered-By:

 

While the regular hosted xml gets accepted and the imagefile send in several HTTP packages my rest provided file gets the tcp connection cancelled from the client after the first image packed was received.

 

maybe a DEV could elaborate what the client is checking for header and content wise so we can feed it probably.

Share this post


Link to post
Share on other sites

Again thanks to Deadmen, he helped me on Discord sorting through the wireshark logs and hat the right idea.

 

Due to the way we set up the rest service the filename in the squad.xml hat an "/" inside its name, now in retrospect that is kind of stupid.

Problem solved, topic closed

 

~closed~

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×