Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

HTTP response code 6

$
0
0
For some reason I get a response code 6 which is a malformed response.
These are completely random. If I keep calling the HTTP function it will work.

I made the function recall the HTTP function everytime I get a response code 6.
Here's an example:

Quote:

[10:27:07] DEBUG: Sending url
[10:27:07] freegeoip.net/json/1.1.1.1

[10:27:08] DEBUG: Response code 6, trying again...
[10:27:08] DEBUG: Response code 6, trying again...
[10:27:08] DEBUG: Response code 6, trying again...
[10:27:09] DEBUG: Response code 6, trying again...
[10:27:09] DEBUG: Response code 6, trying again...
[10:27:09] DEBUG: Response code 6, trying again...
[10:27:10] DEBUG: Response code 6, trying again...
[10:27:10] DEBUG: Response code 6, trying again...
[10:27:10] DEBUG: Response code 6, trying again...
[10:27:10] DEBUG: Response code 6, trying again...
[10:27:11] DEBUG: Response code 6, trying again...
[10:27:11] DEBUG: Response code 6, trying again...
[10:27:12] DEBUG: Response code 6, trying again...
[10:27:13] DEBUG: Response code 6, trying again...
[10:27:13] DEBUG: Response code 6, trying again...

[10:27:13] DEBUG: Response code 200
[10:27:13] DEBUG: Data has been printed.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>