I have one AWP page using httpresquest to get data from one OPENID server.
At the beginnig everyting is ok but after some time the program starts to crash with errors in the msvcrt.ddl and the only way ot recover is to restart the server.
In attach is the error i can see in the events of the server.
My code is:
HTTPTimeOut(600000)
HTTP.IgnoreError = httpIgnoreInvalidCertificate+httpIgnoreInvalidCertificateName+httpIgnoreExpiredCertificate+httpIgnoreRedirectToHTTP+httpIgnoreRedirectToHTTPS
IF wproxy_ip<>"" THEN
Proxy(wproxy_ip,wproxy_port)
END
IF NOT HTTPRequest(openid_uri,"","Authorization: Bearer "+wtoken) THEN
sObject = [
{"erro":" -30"
}
]
// sObject=errorinfo(errFullDetails)
Envia_resultado()
END
resultado=HTTPGetResult(httpResult)
UTF8ToString(resultado)
[attachment 2506 error.jpg]
At the beginnig everyting is ok but after some time the program starts to crash with errors in the msvcrt.ddl and the only way ot recover is to restart the server.
In attach is the error i can see in the events of the server.
My code is:
HTTPTimeOut(600000)
HTTP.IgnoreError = httpIgnoreInvalidCertificate+httpIgnoreInvalidCertificateName+httpIgnoreExpiredCertificate+httpIgnoreRedirectToHTTP+httpIgnoreRedirectToHTTPS
IF wproxy_ip<>"" THEN
Proxy(wproxy_ip,wproxy_port)
END
IF NOT HTTPRequest(openid_uri,"","Authorization: Bearer "+wtoken) THEN
sObject = [
{"erro":" -30"
}
]
// sObject=errorinfo(errFullDetails)
Envia_resultado()
END
resultado=HTTPGetResult(httpResult)
UTF8ToString(resultado)
[attachment 2506 error.jpg]