Moderators: MrNiceGuy, Twhyman, Chump, Twisted, hurr1k4ne
Author Post
Groda_Lotsapot
Mon Nov 19 2007, 06:13PM
THAT guy!

Registered Member #2929
Joined: Mon Feb 26 2007, 06:08PM

Posts: 40
BF2 Server cannot POST snapshot to BF2Stats in IIS

I found an issue when the scripts from the game server (\python\bf2\stats\miniclient.py) POST the snapshot to an IIS website. It will show in the IIS logs as a HTTP 405 Error Code (Method Not Allowed), or in your logs as an ERROR sending snapshot to backend server.

\python\bf2\stats\miniclient.py
http.writeline("POST TAB %s HTTP/1.1" % str(document))
http.writeline("HOST: TAB %s" % str(host))

Between the word POST and %s it looks like spaces, but it's actually not. There are TAB characters in there (as I've shown above. Just delete that area where the tab is, and replace it with a single space.
http.writeline("POST %s HTTP/1.1" % str(document))
http.writeline("HOST: %s" % str(host))


Necrosoft.ca *4207* Potheads BF2S Private Rank Page
Back to top
Website
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System


All original content © 2006 Bf2statistics.com. All trademarks belong to their respective owners. All Rights Reserved.

This is my Google PageRank™ - SmE Rank free service Powered by Scriptme This is my Google PageRank™ - SmE Rank free service Powered by Scriptme Content Management System Locator

Render time: 0.5017 sec, 0.0280 of that for queries. DB queries: 48.