|
| HTTPRequest problem in v14 |
| Iniciado por roger, 11,jul. 2009 09:48 - 7 respuestas |
| |
| | | |
|
| |
| Publicado el 11,julio 2009 - 09:48 |
I'm having a problem with a secure HTTPRequest using POST in v14, and believe this an a classic example of PC Soft being too interested in pushing out new features, at the expense of existing bread-and-butter features.
The URL I'm trying to POST to is https://migs.mastercard.com.au/vpcdps, and the error I get is "System error sending HTTP request.", both in WinDev 14 and WebDev 14.
The example I provided to PC Soft tech support was:
HTTPRequest("https://migs.mastercard.com.au/vpcdps","","","test=test") Info(ErrorInfo())
I received an acknowledgement of request e-mail on the 6th, a reply asking for the real POST parameters on the 8th (actually you can use any POST parameters to cause the error, as in my example), which I promptly provided, and have heard nothing since. Meantime, my online store is unable to process orders and I'm losing not only sales but customers.
Needless to say I'm pretty disappointed right now.
Cheers... Roger |
| |
| |
| | | |
|
| | |
| |
| Publicado el 11,julio 2009 - 18:48 |
Hi Roger...
that is indeed extremely strange... Because the problem seems to occur ONLY on that specific URL...
I'm using httprequest quite often, and I did some testing for you:
I 'simplified' your line into: HTTPRequest("https://migs.mastercard.com.au/vpcdps…") and got the same system error than you did
then tried with HTTPRequest("https://www.sandbox.paypal.com/cgi-bin/webscr…") where there is no error happening!!!!!!!!!!!!!!!!!!
same httpRequest, both on a https address, only the address changing, and no more problem
So ONE solution that you have to solve your immediate problem is to use paypal instead, as this system is working without problem
Sorry I couldn't help more
best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
More information on http://www.fabriceharari.com
Roger Dunk wrote:
I'm having a problem with a secure HTTPRequest using POST in v14, and believe this an a classic example of PC Soft being too interested in pushing out new features, at the expense of existing bread-and-butter features. The URL I'm trying to POST to is https://migs.mastercard.com.au/vpcdps, and the error I get is "System error sending HTTP request.", both in WinDev 14 and WebDev 14. The example I provided to PC Soft tech support was: HTTPRequest(" https://migs.mastercard.com.au/vpcdps","","","test=test") Info(ErrorInfo()) I received an acknowledgement of request e-mail on the 6th, a reply asking for the real POST parameters on the 8th (actually you can use any POST parameters to cause the error, as in my example), which I promptly provided, and have heard nothing since. Meantime, my online store is unable to process orders and I'm losing not only sales but customers. Needless to say I'm pretty disappointed right now. Cheers... Roger |
| |
| |
| | | |
|
| | |
| |
| Publicado el 12,julio 2009 - 09:05 |
Hi Fabrice,
Yes, I agree it seems only to be happening with the one URL, however that one URL can be accessed successfully directly from a web browser or using PHP etc, so it's definitely a WinDev/WebDev problem IMO. Whether it's the type of server Mastercard are using, or the type of certificate, or something else, I'm not sure. I only know it was working OK previously with WinDev/WebDev 12. Whether PC Soft broke the functionality in v14, or Mastercard changed something around the same time, I'm also not sure. What I do know is that I've been offline for over a week now, and am in the process of migrating my site back to a straight PHP (not WebDev PHP) site, where at least I have control over such things. I simply cannot afford for a repeat or similar situation to occur again -- not that PC Soft have even fixed the problem yet.
Anyway, thanks for confirming that it's a problem and not just me.
Re Paypal, it's always an option, but not as easy as simply changing a URL if I want to use IPN (which I might add is a pain and far less than elegant in WebDev in any event). What I was hoping was that PC Soft would treat this issue as important enough to resolve within at least a couple of days. They didn't, and so I'm in the process of moving on. From a business point of view, I'm left with no choice.
Cheers... Roger
"Fabrice Harari" <fromweb@fabriceharari.com> wrote in message news:4a58871a@news.pcsoft.fr...
Hi Roger... that is indeed extremely strange... Because the problem seems to occur ONLY on that specific URL... I'm using httprequest quite often, and I did some testing for you: I 'simplified' your line into: HTTPRequest(" https://migs.mastercard.com.au/vpcdps…") and got the same system error than you did then tried with HTTPRequest(" https://www.sandbox.paypal.com/cgi-bin/webscr…") where there is no error happening!!!!!!!!!!!!!!!!!! same httpRequest, both on a https address, only the address changing, and no more problem So ONE solution that you have to solve your immediate problem is to use paypal instead, as this system is working without problem Sorry I couldn't help more best regards -- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting More information on http://www.fabriceharari.comRoger Dunk wrote: I'm having a problem with a secure HTTPRequest using POST in v14, and believe this an a classic example of PC Soft being too interested in pushing out new features, at the expense of existing bread-and-butter features. The URL I'm trying to POST to is https://migs.mastercard.com.au/vpcdps, and the error I get is "System error sending HTTP request.", both in WinDev 14 and WebDev 14. The example I provided to PC Soft tech support was: HTTPRequest(" https://migs.mastercard.com.au/vpcdps","","","test=test") Info(ErrorInfo()) I received an acknowledgement of request e-mail on the 6th, a reply asking for the real POST parameters on the 8th (actually you can use any POST parameters to cause the error, as in my example), which I promptly provided, and have heard nothing since. Meantime, my online store is unable to process orders and I'm losing not only sales but customers. Needless to say I'm pretty disappointed right now. Cheers... Roger |
| |
| |
| | | |
|
| | |
| |
| Publicado el 14,julio 2009 - 16:09 |
Hi Roger, i have test your http requets and the Info(ErrorInfo(errFullDetails)) statement return me a 12057 error.
Please, read about it in
http://www.codewiz51.com/blog/post/2009/02/05/Vista-and-WinInet-error-ERROR_INTERNET_SEC_CERT_REV_FAILED-(12057).aspx
http://msdn.microsoft.com/en-us/library/aa383770(VS.85).aspx
http://www.stoneedge.com/help/OM_DOC/troubleshooting/error/HTTP_Error_12057.htm
I think you will have the same issues from PHP or other, because seem a issue of web site certificates...
Rubén Sánchez Peña
"Roger Dunk" <roger@at.com.au> escribió en el mensaje de noticias news:4a596285@news.pcsoft.fr...
Hi Fabrice, Yes, I agree it seems only to be happening with the one URL, however that one URL can be accessed successfully directly from a web browser or using PHP etc, so it's definitely a WinDev/WebDev problem IMO. Whether it's the type of server Mastercard are using, or the type of certificate, or something else, I'm not sure. I only know it was working OK previously with WinDev/WebDev 12. Whether PC Soft broke the functionality in v14, or Mastercard changed something around the same time, I'm also not sure. What I do know is that I've been offline for over a week now, and am in the process of migrating my site back to a straight PHP (not WebDev PHP) site, where at least I have control over such things. I simply cannot afford for a repeat or similar situation to occur again -- not that PC Soft have even fixed the problem yet. Anyway, thanks for confirming that it's a problem and not just me. Re Paypal, it's always an option, but not as easy as simply changing a URL if I want to use IPN (which I might add is a pain and far less than elegant in WebDev in any event). What I was hoping was that PC Soft would treat this issue as important enough to resolve within at least a couple of days. They didn't, and so I'm in the process of moving on. From a business point of view, I'm left with no choice. Cheers... Roger "Fabrice Harari" <fromweb@fabriceharari.com> wrote in message news:4a58871a@news.pcsoft.fr... Hi Roger... that is indeed extremely strange... Because the problem seems to occur ONLY on that specific URL... I'm using httprequest quite often, and I did some testing for you: I 'simplified' your line into: HTTPRequest(" https://migs.mastercard.com.au/vpcdps…") and got the same system error than you did then tried with HTTPRequest(" https://www.sandbox.paypal.com/cgi-bin/webscr…") where there is no error happening!!!!!!!!!!!!!!!!!! same httpRequest, both on a https address, only the address changing, and no more problem So ONE solution that you have to solve your immediate problem is to use paypal instead, as this system is working without problem Sorry I couldn't help more best regards -- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting More information on http://www.fabriceharari.comRoger Dunk wrote: I'm having a problem with a secure HTTPRequest using POST in v14, and believe this an a classic example of PC Soft being too interested in pushing out new features, at the expense of existing bread-and-butter features. The URL I'm trying to POST to is https://migs.mastercard.com.au/vpcdps, and the error I get is "System error sending HTTP request.", both in WinDev 14 and WebDev 14. The example I provided to PC Soft tech support was: HTTPRequest(" https://migs.mastercard.com.au/vpcdps","","","test=test") Info(ErrorInfo()) I received an acknowledgement of request e-mail on the 6th, a reply asking for the real POST parameters on the 8th (actually you can use any POST parameters to cause the error, as in my example), which I promptly provided, and have heard nothing since. Meantime, my online store is unable to process orders and I'm losing not only sales but customers. Needless to say I'm pretty disappointed right now. Cheers... Roger |
| |
| |
| | | |
|
| | |
| |
| Publicado el 15,julio 2009 - 11:20 |
Hi Rubén,
Although that may be what the error code is stating, neither Internet Explorer (with 'check for publisher's certificate revocation' ticked) nor Firefox complain about the certificate. cURL on my Linux box (and therefore via PHP) also does not complain.
I also highly doubt Mastercard would be using a revoked certificate.
Why this error is being thrown is a mystery to me. And unfortunately PC Soft have gone quiet on me. I've had no response from tech support since the 8th. Also an e-mail to Claudia has gone unanswered.
I guess it's too late to ask for a refund on v14?
Cheers... Roger
"Rubén Sánchez Peña" <rsanchez@entrar.com> wrote in message news:4a5c6dd8@news.pcsoft.fr...
Hi Roger, i have test your http requets and the Info(ErrorInfo(errFullDetails)) statement return me a 12057 error. Please, read about it in http://www.codewiz51.com/blog/post/2009/02/05/Vista-and-WinInet-error-ERROR_INTERNET_SEC_CERT_REV_FAILED-(12057).aspx http://msdn.microsoft.com/en-us/library/aa383770(VS.85).aspx http://www.stoneedge.com/help/OM_DOC/troubleshooting/error/HTTP_Error_12057.htmI think you will have the same issues from PHP or other, because seem a issue of web site certificates... Rubén Sánchez Peña "Roger Dunk" <roger@at.com.au> escribió en el mensaje de noticias news:4a596285@news.pcsoft.fr... Hi Fabrice, Yes, I agree it seems only to be happening with the one URL, however that one URL can be accessed successfully directly from a web browser or using PHP etc, so it's definitely a WinDev/WebDev problem IMO. Whether it's the type of server Mastercard are using, or the type of certificate, or something else, I'm not sure. I only know it was working OK previously with WinDev/WebDev 12. Whether PC Soft broke the functionality in v14, or Mastercard changed something around the same time, I'm also not sure. What I do know is that I've been offline for over a week now, and am in the process of migrating my site back to a straight PHP (not WebDev PHP) site, where at least I have control over such things. I simply cannot afford for a repeat or similar situation to occur again -- not that PC Soft have even fixed the problem yet. Anyway, thanks for confirming that it's a problem and not just me. Re Paypal, it's always an option, but not as easy as simply changing a URL if I want to use IPN (which I might add is a pain and far less than elegant in WebDev in any event). What I was hoping was that PC Soft would treat this issue as important enough to resolve within at least a couple of days. They didn't, and so I'm in the process of moving on. From a business point of view, I'm left with no choice. Cheers... Roger "Fabrice Harari" <fromweb@fabriceharari.com> wrote in message news:4a58871a@news.pcsoft.fr... Hi Roger... that is indeed extremely strange... Because the problem seems to occur ONLY on that specific URL... I'm using httprequest quite often, and I did some testing for you: I 'simplified' your line into: HTTPRequest(" https://migs.mastercard.com.au/vpcdps…") and got the same system error than you did then tried with HTTPRequest(" https://www.sandbox.paypal.com/cgi-bin/webscr…") where there is no error happening!!!!!!!!!!!!!!!!!! same httpRequest, both on a https address, only the address changing, and no more problem So ONE solution that you have to solve your immediate problem is to use paypal instead, as this system is working without problem Sorry I couldn't help more best regards -- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting More information on http://www.fabriceharari.comRoger Dunk wrote: I'm having a problem with a secure HTTPRequest using POST in v14, and believe this an a classic example of PC Soft being too interested in pushing out new features, at the expense of existing bread-and-butter features. The URL I'm trying to POST to is https://migs.mastercard.com.au/vpcdps, and the error I get is "System error sending HTTP request.", both in WinDev 14 and WebDev 14. The example I provided to PC Soft tech support was: HTTPRequest(" https://migs.mastercard.com.au/vpcdps","","","test=test") Info(ErrorInfo()) I received an acknowledgement of request e-mail on the 6th, a reply asking for the real POST parameters on the 8th (actually you can use any POST parameters to cause the error, as in my example), which I promptly provided, and have heard nothing since. Meantime, my online store is unable to process orders and I'm losing not only sales but customers. Needless to say I'm pretty disappointed right now. Cheers... Roger |
| |
| |
| | | |
|
| | |
| |
| Publicado el 15,julio 2009 - 11:20 |
As a further follow-up, sure enough if I disable the 'check server certificate revocation' option in Internet Explorer (and hence disable the functionality in all applications which utilise wininet.dll), I am able to connect successfully to the Mastercard site via WinDev. I have verified that the certificate used by migs.mastercard.com.au is NOT on the Mastercard certificate revocation list, so can only assume that PC Soft have not correctly implemented this functionality in WinDev/WebDev (remember that Internet Explorer also utilises wininet.dll, and has no problem checking the revocation list with the Mastercard site).
Why PC Soft could not have suggested this simple work-around I have no idea. Perhaps they're too busy on the 501 new features for v15 to be bothered supporting the current release.
Anyway, thanks for pointing me in the right direction Rubén. Now that we know where the problem lies, I wonder how long it will take PC Soft to get back to me...
Cheers... Roger
"Rubén Sánchez Peña" <rsanchez@entrar.com> wrote in message news:4a5c6dd8@news.pcsoft.fr...
Hi Roger, i have test your http requets and the Info(ErrorInfo(errFullDetails)) statement return me a 12057 error. Please, read about it in http://www.codewiz51.com/blog/post/2009/02/05/Vista-and-WinInet-error-ERROR_INTERNET_SEC_CERT_REV_FAILED-(12057).aspx http://msdn.microsoft.com/en-us/library/aa383770(VS.85).aspx http://www.stoneedge.com/help/OM_DOC/troubleshooting/error/HTTP_Error_12057.htmI think you will have the same issues from PHP or other, because seem a issue of web site certificates... Rubén Sánchez Peña "Roger Dunk" <roger@at.com.au> escribió en el mensaje de noticias news:4a596285@news.pcsoft.fr... Hi Fabrice, Yes, I agree it seems only to be happening with the one URL, however that one URL can be accessed successfully directly from a web browser or using PHP etc, so it's definitely a WinDev/WebDev problem IMO. Whether it's the type of server Mastercard are using, or the type of certificate, or something else, I'm not sure. I only know it was working OK previously with WinDev/WebDev 12. Whether PC Soft broke the functionality in v14, or Mastercard changed something around the same time, I'm also not sure. What I do know is that I've been offline for over a week now, and am in the process of migrating my site back to a straight PHP (not WebDev PHP) site, where at least I have control over such things. I simply cannot afford for a repeat or similar situation to occur again -- not that PC Soft have even fixed the problem yet. Anyway, thanks for confirming that it's a problem and not just me. Re Paypal, it's always an option, but not as easy as simply changing a URL if I want to use IPN (which I might add is a pain and far less than elegant in WebDev in any event). What I was hoping was that PC Soft would treat this issue as important enough to resolve within at least a couple of days. They didn't, and so I'm in the process of moving on. From a business point of view, I'm left with no choice. Cheers... Roger "Fabrice Harari" <fromweb@fabriceharari.com> wrote in message news:4a58871a@news.pcsoft.fr... Hi Roger... that is indeed extremely strange... Because the problem seems to occur ONLY on that specific URL... I'm using httprequest quite often, and I did some testing for you: I 'simplified' your line into: HTTPRequest(" https://migs.mastercard.com.au/vpcdps…") and got the same system error than you did then tried with HTTPRequest(" https://www.sandbox.paypal.com/cgi-bin/webscr…") where there is no error happening!!!!!!!!!!!!!!!!!! same httpRequest, both on a https address, only the address changing, and no more problem So ONE solution that you have to solve your immediate problem is to use paypal instead, as this system is working without problem Sorry I couldn't help more best regards -- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting More information on http://www.fabriceharari.comRoger Dunk wrote: I'm having a problem with a secure HTTPRequest using POST in v14, and believe this an a classic example of PC Soft being too interested in pushing out new features, at the expense of existing bread-and-butter features. The URL I'm trying to POST to is https://migs.mastercard.com.au/vpcdps, and the error I get is "System error sending HTTP request.", both in WinDev 14 and WebDev 14. The example I provided to PC Soft tech support was: HTTPRequest(" https://migs.mastercard.com.au/vpcdps","","","test=test") Info(ErrorInfo()) I received an acknowledgement of request e-mail on the 6th, a reply asking for the real POST parameters on the 8th (actually you can use any POST parameters to cause the error, as in my example), which I promptly provided, and have heard nothing since. Meantime, my online store is unable to process orders and I'm losing not only sales but customers. Needless to say I'm pretty disappointed right now. Cheers... Roger |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,julio 2009 - 11:52 |
Another update...
I today (19 days after having submitted the problem to PC Soft) received an e-mail from PC Soft with an updated DLL to take care of the problem. They added an httpIgnoreRevocation option to HTTP.IgnoreErrors, which does the same as unchecking the 'check server certificate revocation' option in Internet Explorer. The only problem here is that the certificate in question is not on any revocation list, and therefore WinDev/WebDev should not be returning the error in the first place. Simply ignoring the error does not fix the underlying problem.
So, to PC Soft's credit they have (finally) implemented a work-around which does the trick - though fixing the actual problem would be better!
Cheers... Roger
"Roger Dunk" <roger@at.com.au> wrote in message news:4a5d2622@news.pcsoft.fr...
As a further follow-up, sure enough if I disable the 'check server certificate revocation' option in Internet Explorer (and hence disable the functionality in all applications which utilise wininet.dll), I am able to connect successfully to the Mastercard site via WinDev. I have verified that the certificate used by migs.mastercard.com.au is NOT on the Mastercard certificate revocation list, so can only assume that PC Soft have not correctly implemented this functionality in WinDev/WebDev (remember that Internet Explorer also utilises wininet.dll, and has no problem checking the revocation list with the Mastercard site). Why PC Soft could not have suggested this simple work-around I have no idea. Perhaps they're too busy on the 501 new features for v15 to be bothered supporting the current release. Anyway, thanks for pointing me in the right direction Rubén. Now that we know where the problem lies, I wonder how long it will take PC Soft to get back to me... Cheers... Roger "Rubén Sánchez Peña" <rsanchez@entrar.com> wrote in message news:4a5c6dd8@news.pcsoft.fr... Hi Roger, i have test your http requets and the Info(ErrorInfo(errFullDetails)) statement return me a 12057 error. Please, read about it in http://www.codewiz51.com/blog/post/2009/02/05/Vista-and-WinInet-error-ERROR_INTERNET_SEC_CERT_REV_FAILED-(12057).aspx http://msdn.microsoft.com/en-us/library/aa383770(VS.85).aspx http://www.stoneedge.com/help/OM_DOC/troubleshooting/error/HTTP_Error_12057.htmI think you will have the same issues from PHP or other, because seem a issue of web site certificates... Rubén Sánchez Peña "Roger Dunk" <roger@at.com.au> escribió en el mensaje de noticias news:4a596285@news.pcsoft.fr... Hi Fabrice, Yes, I agree it seems only to be happening with the one URL, however that one URL can be accessed successfully directly from a web browser or using PHP etc, so it's definitely a WinDev/WebDev problem IMO. Whether it's the type of server Mastercard are using, or the type of certificate, or something else, I'm not sure. I only know it was working OK previously with WinDev/WebDev 12. Whether PC Soft broke the functionality in v14, or Mastercard changed something around the same time, I'm also not sure. What I do know is that I've been offline for over a week now, and am in the process of migrating my site back to a straight PHP (not WebDev PHP) site, where at least I have control over such things. I simply cannot afford for a repeat or similar situation to occur again -- not that PC Soft have even fixed the problem yet. Anyway, thanks for confirming that it's a problem and not just me. Re Paypal, it's always an option, but not as easy as simply changing a URL if I want to use IPN (which I might add is a pain and far less than elegant in WebDev in any event). What I was hoping was that PC Soft would treat this issue as important enough to resolve within at least a couple of days. They didn't, and so I'm in the process of moving on. From a business point of view, I'm left with no choice. Cheers... Roger "Fabrice Harari" <fromweb@fabriceharari.com> wrote in message news:4a58871a@news.pcsoft.fr... Hi Roger... that is indeed extremely strange... Because the problem seems to occur ONLY on that specific URL... I'm using httprequest quite often, and I did some testing for you: I 'simplified' your line into: HTTPRequest(" https://migs.mastercard.com.au/vpcdps…") and got the same system error than you did then tried with HTTPRequest(" https://www.sandbox.paypal.com/cgi-bin/webscr…") where there is no error happening!!!!!!!!!!!!!!!!!! same httpRequest, both on a https address, only the address changing, and no more problem So ONE solution that you have to solve your immediate problem is to use paypal instead, as this system is working without problem Sorry I couldn't help more best regards -- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting More information on http://www.fabriceharari.comRoger Dunk wrote: I'm having a problem with a secure HTTPRequest using POST in v14, and believe this an a classic example of PC Soft being too interested in pushing out new features, at the expense of existing bread-and-butter features. The URL I'm trying to POST to is https://migs.mastercard.com.au/vpcdps, and the error I get is "System error sending HTTP request.", both in WinDev 14 and WebDev 14. The example I provided to PC Soft tech support was: HTTPRequest(" https://migs.mastercard.com.au/vpcdps","","","test=test") Info(ErrorInfo()) I received an acknowledgement of request e-mail on the 6th, a reply asking for the real POST parameters on the 8th (actually you can use any POST parameters to cause the error, as in my example), which I promptly provided, and have heard nothing since. Meantime, my online store is unable to process orders and I'm losing not only sales but customers. Needless to say I'm pretty disappointed right now. Cheers... Roger |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,diciembre 2020 - 17:55 |
Tal vez a alguien le ayude esta solución, pasa por utilizar la siguiente notación
cMyRequest is httpRequest cMyRequest..URL = "https://migs.mastercard.com.au/vpcdps" cMyResponse is httpResponse = HTTPSend(cMyRequest) IF ErrorOccurred THEN result (ErrorInfo(errFullDetails)) ELSE result (cMyResponse..Content) END |
| |
| |
| | | |
|
| | | | |
| | |
|