Pagina teste throttle
Configs
string(14) "18.188.219.131"
string(200) "189.120.72.168
177.141.17.153
152.254.220.249
2804:14c:6a:9425:4cc8:bd22:7ebe:72e0
189.120.73.139
2804:14c:6a:94ab:ed48:fd10:b3f8:2976
186.220.59.115
186.204.56.27
2804:14c:6a:81bf:f121:5bfc:187b:1941"
array(9) {
[0]=>
string(14) "189.120.72.168"
[1]=>
string(14) "177.141.17.153"
[2]=>
string(15) "152.254.220.249"
[3]=>
string(36) "2804:14c:6a:9425:4cc8:bd22:7ebe:72e0"
[4]=>
string(14) "189.120.73.139"
[5]=>
string(36) "2804:14c:6a:94ab:ed48:fd10:b3f8:2976"
[6]=>
string(14) "186.220.59.115"
[7]=>
string(13) "186.204.56.27"
[8]=>
string(36) "2804:14c:6a:81bf:f121:5bfc:187b:1941"
}
retorno do wp_remote_get ipCheckout
https://us-central1-abril-id-testes-1528223718961.cloudfunctions.net/ipCheckout?codIdentificador=18.188.219.131&qtd=5&tempo=86400
array(6) {
["headers"]=>
object(WpOrg\Requests\Utility\CaseInsensitiveDictionary)#9298 (1) {
["data":protected]=>
array(10) {
["x-powered-by"]=>
string(7) "Express"
["access-control-allow-origin"]=>
string(1) "*"
["content-type"]=>
string(31) "application/json; charset=utf-8"
["etag"]=>
string(34) "W/"19-7XyzmMCzZHSechL/AgkU7ybMi2A""
["function-execution-id"]=>
string(12) "qqoq679uxb89"
["x-cloud-trace-context"]=>
string(36) "dc92191b5e7d688433273045b94e318b;o=1"
["date"]=>
string(29) "Tue, 26 Nov 2024 07:44:12 GMT"
["server"]=>
string(15) "Google Frontend"
["content-length"]=>
string(2) "25"
["alt-svc"]=>
string(46) "h3=":443"; ma=2592000,h3-29=":443"; ma=2592000"
}
}
["body"]=>
string(25) "{"block":false,"count":1}"
["response"]=>
array(2) {
["code"]=>
int(200)
["message"]=>
string(2) "OK"
}
["cookies"]=>
array(0) {
}
["filename"]=>
NULL
["http_response"]=>
object(WP_HTTP_Requests_Response)#9295 (5) {
["data"]=>
NULL
["headers"]=>
NULL
["status"]=>
NULL
["response":protected]=>
object(WpOrg\Requests\Response)#9301 (10) {
["body"]=>
string(25) "{"block":false,"count":1}"
["raw"]=>
string(444) "HTTP/1.1 200 OK
X-Powered-By: Express
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8
Etag: W/"19-7XyzmMCzZHSechL/AgkU7ybMi2A"
Function-Execution-Id: qqoq679uxb89
X-Cloud-Trace-Context: dc92191b5e7d688433273045b94e318b;o=1
Date: Tue, 26 Nov 2024 07:44:12 GMT
Server: Google Frontend
Content-Length: 25
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Connection: close
{"block":false,"count":1}"
["headers"]=>
object(WpOrg\Requests\Response\Headers)#9300 (1) {
["data":protected]=>
array(10) {
["x-powered-by"]=>
array(1) {
[0]=>
string(7) "Express"
}
["access-control-allow-origin"]=>
array(1) {
[0]=>
string(1) "*"
}
["content-type"]=>
array(1) {
[0]=>
string(31) "application/json; charset=utf-8"
}
["etag"]=>
array(1) {
[0]=>
string(34) "W/"19-7XyzmMCzZHSechL/AgkU7ybMi2A""
}
["function-execution-id"]=>
array(1) {
[0]=>
string(12) "qqoq679uxb89"
}
["x-cloud-trace-context"]=>
array(1) {
[0]=>
string(36) "dc92191b5e7d688433273045b94e318b;o=1"
}
["date"]=>
array(1) {
[0]=>
string(29) "Tue, 26 Nov 2024 07:44:12 GMT"
}
["server"]=>
array(1) {
[0]=>
string(15) "Google Frontend"
}
["content-length"]=>
array(1) {
[0]=>
string(2) "25"
}
["alt-svc"]=>
array(1) {
[0]=>
string(46) "h3=":443"; ma=2592000,h3-29=":443"; ma=2592000"
}
}
}
["status_code"]=>
int(200)
["protocol_version"]=>
float(1.1)
["success"]=>
bool(true)
["redirects"]=>
int(0)
["url"]=>
string(129) "https://us-central1-abril-id-testes-1528223718961.cloudfunctions.net/ipCheckout?codIdentificador=18.188.219.131&qtd=5&tempo=86400"
["history"]=>
array(0) {
}
["cookies"]=>
object(WpOrg\Requests\Cookie\Jar)#9289 (1) {
["cookies":protected]=>
array(0) {
}
}
}
["filename":protected]=>
NULL
}
}
retorno ipCheckout
Se block for igual a true entra no trolle
array(2) {
["block"]=>
bool(false)
["count"]=>
int(1)
}
$_SERVER
array(57) {
["SERVER_SOFTWARE"]=>
string(5) "nginx"
["REQUEST_URI"]=>
string(24) "/ngcp-867-throttle-debug"
["VIP_GO_APP_CURRENT_COMMIT_HASH"]=>
string(40) "83d16a4d9ddc7da80befa30c28213cdf01d6a20a"
["IS_VIP_BATCH_CONTAINER"]=>
string(0) ""
["IS_VIP_SANDBOX_CONTAINER"]=>
string(0) ""
["IS_VIP_ON_KUBERNETES"]=>
string(4) "true"
["TEMP"]=>
string(4) "/tmp"
["TMPDIR"]=>
string(4) "/tmp"
["TMP"]=>
string(4) "/tmp"
["PATH"]=>
string(28) "/usr/local/bin:/usr/bin:/bin"
["HOSTNAME"]=>
string(27) "wp-2701-app-6cf965f8d-gmm8g"
["USER"]=>
string(6) "nobody"
["HOME"]=>
string(12) "/nonexistent"
["HTTP_X_COUNTRY_CODE"]=>
string(2) "US"
["HTTP_X_MOBILE_CLASS"]=>
string(7) "desktop"
["HTTP_USER_AGENT"]=>
string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
["HTTP_ACCEPT"]=>
string(3) "*/*"
["HTTP_ACCEPT_ENCODING"]=>
string(2) "br"
["HTTP_X_WPLOGIN"]=>
string(3) "yes"
["HTTP_X_REQUEST_PRIO"]=>
string(1) "4"
["HTTP_X_CLIENT_SITE_ID"]=>
string(4) "2701"
["HTTP_X_JA3_HASH"]=>
string(32) "7b24947a1c84fb6f16b7313fc0357530"
["HTTP_X_IP_PROXY_TYPE"]=>
string(3) "DCH"
["HTTP_X_ASN"]=>
string(5) "16509"
["HTTP_X_IP_TRAIL"]=>
string(29) "18.188.219.131, 192.0.104.240"
["HTTP_X_ORIGINAL_FORWARDED_FOR"]=>
string(14) "18.188.219.131"
["HTTP_X_SCHEME"]=>
string(5) "https"
["HTTP_X_FORWARDED_SCHEME"]=>
string(5) "https"
["HTTP_X_FORWARDED_PROTO"]=>
string(5) "https"
["HTTP_X_FORWARDED_PORT"]=>
string(3) "443"
["HTTP_X_FORWARDED_HOST"]=>
string(34) "gutenberg.quatrorodas.abril.com.br"
["HTTP_X_FORWARDED_FOR"]=>
string(14) "18.188.219.131"
["HTTP_X_REAL_IP"]=>
string(14) "18.188.219.131"
["HTTP_X_REQUEST_ID"]=>
string(32) "16834d969bf381c461c83250db456d31"
["HTTP_HOST"]=>
string(34) "gutenberg.quatrorodas.abril.com.br"
["SCRIPT_FILENAME"]=>
string(18) "/var/www/index.php"
["GEOIP_COUNTRY_CODE"]=>
string(2) "US"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.1"
["REDIRECT_URL"]=>
string(24) "/ngcp-867-throttle-debug"
["CONTENT_LENGTH"]=>
string(0) ""
["CONTENT_TYPE"]=>
string(0) ""
["REQUEST_METHOD"]=>
string(3) "GET"
["QUERY_STRING"]=>
string(0) ""
["SERVER_NAME"]=>
string(34) "gutenberg.quatrorodas.abril.com.br"
["SERVER_PORT"]=>
int(443)
["SERVER_ADDR"]=>
string(14) "10.253.129.127"
["REMOTE_PORT"]=>
string(5) "44932"
["REMOTE_ADDR"]=>
string(14) "18.188.219.131"
["DOCUMENT_ROOT"]=>
string(8) "/var/www"
["DOCUMENT_URI"]=>
string(24) "/ngcp-867-throttle-debug"
["SCRIPT_NAME"]=>
string(10) "/index.php"
["FCGI_ROLE"]=>
string(9) "RESPONDER"
["PHP_SELF"]=>
string(10) "/index.php"
["REQUEST_TIME_FLOAT"]=>
float(1732607049.40959)
["REQUEST_TIME"]=>
int(1732607049)
["REMOTE_ADDR_ORIG"]=>
string(13) "10.253.181.65"
["HTTPS"]=>
string(2) "on"
}