Printable Version of Topic

Click here to view this topic in its original format

AMIP Community _ Support _ cURL beeping

Posted by: Stijn Mar 19 2006, 11:53 AM

I've been using cURL to generate images showing what I'm playing. It works, the images are generated, but whenever cURL is ran to send the GET request it emits a series of horrible beeps. I used the -s command-line paramater but it doesn't seem to work. Is there any way to turn it off?

Posted by: Serge Mar 19 2006, 12:18 PM

Try running cURL manually from the command line with the same parameters that you use in AMIP /exec call. Looks like your server replies with some errors/garbage and cURL prints it to the console.

It's most likely a problem with the script on the server side, running cURL from console will show you what's wrong with your configuration.

Posted by: Stijn Mar 19 2006, 01:26 PM

QUOTE(Serge @ Mar 19 2006, 01:18 PM) *

Try running cURL manually from the command line with the same parameters that you use in AMIP /exec call. Looks like your server replies with some errors/garbage and cURL prints it to the console.

It's most likely a problem with the script on the server side, running cURL from console will show you what's wrong with your configuration.

Yep, that was the problem! It outputted the PNG image with a custom content-type header which cURL obviously didn't understand. Thanks!

Posted by: 24fan24 Jun 20 2006, 04:32 AM

Sorry to bring back this old thread but I am having the same problem and I was not sure what was meant by "running cURL manually from the command line" Can anyone explain this to me?

Thanks!

Posted by: Serge Jun 20 2006, 04:49 AM

Start | Run | cmd.exe | cd to the directory with curl, run it with the configuration file like curl -k config.cfg.

Powered by Invision Power Board
© Invision Power Services