RE: HTTP Get when a domain name returns multiple IP addresses

2017-06-13 Thread Timothy Penner via 4D_Tech
Hi Bruno,

Regarding your HTTP GET examples returning error 2;

Bruno LEGAY wrote :
{
The problem occurs when there is no other certificates (a kind of fallback 
certificate) like for this URL : https://chrismeller.com.
Code 4D :   View in english :   Voir en texte pour copie :
1 C_TEXT($vt_url;$vt_httpResponse)
2 $vt_url:="https://chrismeller.com;
3
4 C_LONGINT($vl_httpStatus)
5 $vl_httpStatus:=HTTP Get($vt_url;$vt_httpResponse)
6 ASSERT($vl_httpStatus=200;"http status : "+String($vl_httpStatus))
7
}

I think this issue is related to this bug:
ACI0096586"HTTP Get" request fails with certain https web sites

Which is fixed in Nightly Build 212638 of v15

I get the error you described with v15.4Hf1 and earlier
but no error when using v15.x 212638:
http://forums.4d.fr/4DBB_Main/x_User/1178015/files/19553953.png

Can you try the latest nightly builds?

-Tim



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

Re: HTTP Get when a domain name returns multiple IP addresses

2017-06-12 Thread Bruno LEGAY via 4D_Tech
Hi Craig,

> On 10 Jun 2017, at 7:00 AM, 4d_tech-requ...@lists.4d.com wrote:
>> I would invite you to test the latest nightly build which fixes ACI0096586
>> http://bugs.4d.fr/fixedbugslist?Branch=16
>> "HTTP Get" request fails with certain https web sites
> 
> That didn’t work, but we found (we think) it is that 4D doesn’t support 
> Server Name Identification (SNI) which Amazon requires
> Using your CURL plugin got us around the problem though- thanks!
Yes, TLS sin is not supported.
The worrying part is that I expect TLS SNI to become more and more 
standard/common.

I reported this problem on taow in july 2016.

It has been discussed on the forum here :
http://forums.4d.fr/Post/FR/18160614/1/18160615#18160615

Please vote.

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

Re: HTTP Get when a domain name returns multiple IP addresses

2017-06-12 Thread lists--- via 4D_Tech
Hi Miyako,

> On 10 Jun 2017, at 7:00 AM, 4d_tech-requ...@lists.4d.com wrote:
> I would invite you to test the latest nightly build which fixes ACI0096586
> http://bugs.4d.fr/fixedbugslist?Branch=16
> "HTTP Get" request fails with certain https web sites

That didn’t work, but we found (we think) it is that 4D doesn’t support Server 
Name Identification (SNI) which Amazon requires
Using your CURL plugin got us around the problem though- thanks!
Cheers,
Craig

-
Sustainable Solutions
Kathmandu, Nepal & Auckland, New Zealand
Nepal: +977 1 5548021
New Zealand: +64 9 9506778
cr...@sussol.net  skype://craigdrown
http://www.sussol.net   http://www.msupply.org.nz

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

Re: HTTP Get when a domain name returns multiple IP addresses

2017-06-09 Thread Keisuke Miyako via 4D_Tech
I would invite you to test the latest nightly build which fixes ACI0096586

http://bugs.4d.fr/fixedbugslist?Branch=16

"HTTP Get" request fails with certain https web sites

> 2017/06/09 16:03、lists--- via 4D_Tech <4d_tech@lists.4d.com> のメール:
> but not from 4D Any ideas appreciated.




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

HTTP Get when a domain name returns multiple IP addresses

2017-06-09 Thread lists--- via 4D_Tech
Hi,
we’re running a serverless API using Amazon Lambda, and 4D seems to fail on the 
DNS lookup as it returns multiple IP addesses
A dig gives you
api.universalcodes.msupply.org.nz. 25 IN A  52.84.207.226
api.universalcodes.msupply.org.nz. 25 IN A  52.84.207.186
api.universalcodes.msupply.org.nz. 25 IN A  52.84.207.19
api.universalcodes.msupply.org.nz. 25 IN A  52.84.207.198
api.universalcodes.msupply.org.nz. 25 IN A  52.84.207.164
api.universalcodes.msupply.org.nz. 25 IN A  52.84.207.224
api.universalcodes.msupply.org.nz. 25 IN A  52.84.207.57
api.universalcodes.msupply.org.nz. 25 IN A  52.84.207.209

A simple browser query works fine
https://api.universalcodes.msupply.org.nz/v1/items?name=amo=false 


but not from 4D
Any ideas appreciated.

Cheers,
Craig

-
Sustainable Solutions
Kathmandu, Nepal & Auckland, New Zealand
Nepal: +977 1 5548021
New Zealand: +64 9 9506778
cr...@sussol.net  skype://craigdrown
http://www.sussol.net   http://www.msupply.org.nz

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