PDA

View Full Version : HTTP POST - does not seem to be working


wack
21-06-2002, 04:12
Hello.

I have recently decided to take the "HTTP POST ON Challenge." I've coded up a very simple PHP script to work with the variables sent by TeamSpeak. I've tested it, too, and it works - the data is appended to my MySQL database.

However, when I leave it to TeamSpeak to send the HTTP POSTs on its own I appear to get no data.

This is on an NT 2000 server. I am running TeamSpeak as a service.

I've switched the setting to on in the tsserver.ini. Here's what I have in there (starting with [webstatus]):

[WebStatus]
Active=1
TeamSpeakSite_Active=1
TeamSpeakSite_DisplayInWebList=0
WebPostURL=http://gr.wackbastard.com/teamspeak.php
WebPostLinkUrl=http://gr.wackbastard.com/teamspeak.phpThe variables I am interested in are user and clients. I have a modification form I put on my server so I can mimic a source sending changes to these variables to my teamspeak.php script. Changes sent from this form with the POST method specified work - the MySQL database contents change.

I'm not sure what else to check. I can't find a log for teamspeak to find an error in there. The tsserver.ini seems straightforward enough to configure, but at this point I consider it my weakest link.

Any advice on what to try to zero in on the problem?

PS: If anyone tries going to the url http://gr.wackbastard.com/teamspeak.php, note that it detects the referring IP and will reject any submissions not from my server.

T. Boonstra
21-06-2002, 07:10
the POST and GET methode have been mistakenly mixed in TeamSpeak, might that be causing your problem?

wack
21-06-2002, 13:33
That's a good thought. It shouldn't be a problem with the receipt script because before I used GET method before specifying POST method on my form and the db was updated. I didn't code any method checking into the receipt script, either.

T. Boonstra
21-06-2002, 13:36
Are you using TS Server Stand alone or the Service?

I believe the Service version doesn't submit the data.. try the Stand alone version so make sure ..

wack
23-06-2002, 17:44
Yup, this was the trouble.

That's a shame the NT Service version doesn't do the HTTP post. :( Hopefully that will be added in TS 2.0. :)

Unregistered
03-07-2002, 07:46
Originally posted by wack
Yup, this was the trouble.

That's a shame the NT Service version doesn't do the HTTP post. :( Hopefully that will be added in TS 2.0. :)

I haven't played with it yet myself, but try using a user account to log the service in instead of the default Localsystem account. Make sure the user account has sufficient permissions and has the user right "Log in as a service"

Good Luck!!!

zilver
20-07-2002, 13:29
Originally posted by Unregistered


I haven't played with it yet myself, but try using a user account to log the service in instead of the default Localsystem account. Make sure the user account has sufficient permissions and has the user right "Log in as a service"

Good Luck!!!

I Tried runninge the service under the admin account, no change.
Stille doesnt work...

1) How often does it update the stats to the script page.?

2) When is the service version going to be fixed, im think this
is a huge flaw.. the software is great, but we need to fix this
im running a terminal server, so i CANT use the standard server
version, besides the only way to guarantee updtime is to run
the server as SERVICE...

PLEASE FIX THIS PROBLEM...

Regards.. Jeppe



Jeppe

T. Boonstra
20-07-2002, 14:35
TeamSpeak 1.5 (TSserver 1.2.x) are currently left as is...

We've put all our time and effort in TeamSpeak 2.0 which is pretty much rewrite of TS 1

There are some limitations in TS1 which couldn't have been easily removed, so we decided to make a new version.

zilver
20-07-2002, 15:59
i recoment tha everyone wanting to run the teamspeak server, as a SERVIce, should fetch a 3rd party service installer, and use the "standard" version.

I.E. the best of BOTH WORLDS!

Lookig forward to the next 2.0 version ;)

FireDeamon - run any program as a service (http://www.firedaemon.com/)

and guess what.. IT WORKS!

If you have problems doing what i did, message me.

1) install teamspeak (standard server)
2) install firedeamon
3) use firedeam UI to install the (tsserver.exe) as a service
4) config the server, like you would normaly do

5) Your Done...

Hope it works for you too.
Jeppe