Re: Error on HTTP request on v16B6

2018-06-21 Thread Keisuke Miyako via 4D_Tech
as discussed in the link given by Koen,
the issue seem to happen on certain machines and with certain sites,
(100% reproducible when it happens).

until we get to the bottom of what is causing the error,
may use an alternative http client?

https://github.com/miyako/4d-plugin-curl-http

> 2018/06/21 18:00、David Samson via 4D_Tech <4d_tech@lists.4d.com> のメール:
>
> SSL internal error : error:14141152:SSL
> routines:SSL_SCAN_SERVERHELLO_TLSEXT:unsafe legacy renegotiation disabled




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Error on HTTP request on v16B6

2018-06-21 Thread Koen Van Hooreweghe via 4D_Tech
Hi David,

If you have access to the 4D forums, check out: 
http://forums.4d.com/Post//24265962/1/

You could change the TLS minimum version just before your http request call:  
SET DATABASE PARAMETER(Min TLS version;TLSv1_1)
Its worth a try, but for me it did not work.

There seems to be a bug in 4D v16R6 (and v17), which makes certain https sites 
(like https://www.google.com) unreachable from within 4D and only happens in 
certain situations. But I don't have details.

I've been hit by this issue a few weeks ago. I recently did a new test and 
suddenly all was working fine again. No changes in my network config. ISP?.

My findings are:
- macOS (two different versions 10.11.x and 10.13.x) on two different machines 
(iMac MacBook Air) in the same network
- 4D v 16R6 and v17ß
- rebooting machine did not help
- curl from terminal was OK
- 4D Windows in Parallels on the iMac was also working fine
- MacBook in different network was working fine again
- iMac connected through iPhone G4 hotspot was working fine too

4D Tech assistance confirmed the issue was reproduced by QA and is under study 
by Engineering.
Lets hope they find a quick fix.

HTH
Koen

> Op 21 jun. 2018, om 11:00 heeft David Samson via 4D_Tech 
> <4d_tech@lists.4d.com> het volgende geschreven:
> 
> This is an urgent issue since it is holding up card payments.
> 
> We are getting the error below on executing HTTP request to a payment
> gateway. They assure me they are on TLS1.2.
> 
> This was after un upgrade from 4D v16.3 to v16R6 all Windows and 64bit
> server.
> 
> Error when executing the method "SagePay_PaymentRequest" at line number 131
> 
> Error #30
> 




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Error on HTTP request on v16B6

2018-06-21 Thread David Samson via 4D_Tech
This is an urgent issue since it is holding up card payments.


We are getting the error below on executing HTTP request to a payment
gateway. They assure me they are on TLS1.2.



This was after un upgrade from 4D v16.3 to v16R6 all Windows and 64bit
server.



Error when executing the method "SagePay_PaymentRequest" at line number 131



Error #30



Error code: 30 (4DRT)

Error #30

component: '4DRT'

task -7, name: 'Process_ContractList'



Error code: 5 (xbox)

Access denied {path}

xtoolbox

task -7, name: 'Process_ContractList'



Error code: 49 (srvr)

SSL internal error : error:14141152:SSL
routines:SSL_SCAN_SERVERHELLO_TLSEXT:unsafe legacy renegotiation disabled

component: 'srvr'

task -7, name: 'Process_ContractList'



Error code: 49 (srvr)

SSL internal error : error:140920E3:SSL
routines:ssl3_get_server_hello:parse tlsext

component: 'srvr'

task -7, name: 'Process_ContractList'


Any suggestions?


David Samson

Manchester UK
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**