View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0037747||FPC||Packages||public||2020-09-14 18:32||2020-09-16 00:00|
|Reporter||Simon Booth||Assigned To||Michael Van Canneyt|
|Summary||0037747: https / ssl failure using example program|
|Description||HTTPS connections fail to certain domains while others are fine|
It is notable that the big sites all work while smaller ones tend to fail (whitelisting?)
This has been observed on current versions of both MacOSX and iOS
|Steps To Reproduce||Go to https://wiki.lazarus.freepascal.org/fphttpclient#Download_a_file_via_HTTP_protocol|
and locate dl_fphttp_c
Compile and run it (everything is fine)
Alter the URL fetched from https://google.com/ to https://wiki.lazarus.freepascal.org/
Compile and run it (everything is NOT fine)
An unhandled exception occurred at $000000010D02A192:
ESocketError: Connect to wiki.lazarus.freepascal.org:443 failed.
|Tags||No tags attached.|
|Fixed in Revision|
||Probably the same issue as reported on the forum: https://forum.lazarus.freepascal.org/index.php/topic,50350.msg373929.html#msg373929|
||Yes. It works on Linux, the issue is particular to macos. There is a bugreport with fix, still needs to be checked, planned for next weekend.|
If someone can point me at a bug-fixed fphttp the app I'm developing will test it nicely. It downloads 1.5g of data in 13,325 files from a variety of sources that currently fails under MacOS but work on everything else I've tried it on (tested on Win10, Linux x64 + Aarch64 so far).
A smaller-scale test is also ready to check iOS which will be expanded to the full test when MacOS works.
Please have patience.
As I said, this is known and will be fixed, but this is an open source project, and I need time to fix it.
You can fix it yourself with the patch mentioned in the forum post (see Bi0T1N's reply) or you can wait till I do it.
I am patient (sometimes <g>)
Anyway I read the forum post properly and found the fix so am just trying it out
My test is running nicely and ha currently grabbed 50Mb in 542 files while I typed this reply
||A quick FYI - my test has finished, 13,325 files (1.5G) all downloaded correctly with patched openssl|
|2020-09-14 18:32||Simon Booth||New Issue|
|2020-09-14 20:03||Bi0T1N||Note Added: 0125540|
|2020-09-14 20:57||Michael Van Canneyt||Note Added: 0125541|
|2020-09-15 03:06||Simon Booth||Note Added: 0125544|
|2020-09-15 07:08||Michael Van Canneyt||Assigned To||=> Michael Van Canneyt|
|2020-09-15 07:08||Michael Van Canneyt||Status||new => assigned|
|2020-09-15 07:11||Michael Van Canneyt||Note Added: 0125545|
|2020-09-15 14:12||Simon Booth||Note Added: 0125549|
|2020-09-16 00:00||Simon Booth||Note Added: 0125561|