Topic: HTTPGet error message on HTTPS

Hello Dmitry,


Since the last few days, I have this error message showing up while trying to read HTTPS pages :


http://i.imgur.com/ebIIDVs.png


The faulty code is as follows :

try
     source_url := 'https://www.renderosity.com/mod/bcs/?br=new&page_number='+IntToStr(page);
     raw_source := HTTPGet(source_url,True);
     ... //some more instructions
except
     update_rend.Memo1.Lines.add('Error : '+ExceptionMessage);
end

What's surprising is that this code has been working for months without problem, so I suppose the site changed some code in the page.


Do you have an idea ?


Thanks in advance


Cheers


Mathias

I'm a very good housekeeper !
Each time I get a divorce, I keep the house

Zaza Gabor

Re: HTTPGet error message on HTTPS

Hello.


I made some changes, please download latest beta version:
https://www.dropbox.com/s/4rfukqr2r1awq … b.zip?dl=0


Let me know result.

Dmitry.

Re: HTTPGet error message on HTTPS

Hello Dmitry,


Thanks a lot, problem is solved.


Just out of curiosity, was it a SSL key length problem or something else ?


Cheers


Mathias

I'm a very good housekeeper !
Each time I get a divorce, I keep the house

Zaza Gabor

Re: HTTPGet error message on HTTPS

I have changed version of  TLS protocol to 1.2

Dmitry.