|
|
Home » Community » U++ community news and announcements » Win32 openssl updated to 3.2.1 version
|
Re: Win32 openssl updated to 3.2.1 version [message #60870 is a reply to message #60573] |
Sat, 28 September 2024 12:47   |
JeyCi
Messages: 68 Registered: July 2020
|
Member |
|
|
having myApp (was build 0.5 year ago with msys32) today I've got "download has failed. 403 forbidden" for my load from app to txt needed. I checked my loaded link/txt from browser - not forbidden, loaded manually OK. But from myApp created with UPP13644- I've got this error. I know that v.13644 version for win32 is no longer supported and I have no ability to use 64x-versions for my development. Perhaps, you can advise me to change something in the package "...\upp 13664\uppsrc\Core\SSL" - if my problem is exactly caused by the absence of new updates?? If something was changed in the web-protocol or how to say it correctly about changes? Or, perhaps only 64x-compiler (msys64) could help - but, unfortunately, it is not my case. Will wait your answer with hope what can help?
==============
in myApp I use simple function:
#include <Core/Core.h>
#include <Core/SSL/SSL.h>
using namespace Upp;
//========================================= get Http
String load_Url(String sUrl) {
HttpRequest reqApi(sUrl);
reqApi.KeepAlive(true);
reqApi.GET();
String s = reqApi.Execute();
if(!reqApi.IsSuccess()) {
Cout() << "\n" +
(reqApi.IsError() ? reqApi.GetErrorDesc()
: AsString(reqApi.GetStatusCode()) + ' ' + reqApi.GetReasonPhrase() + "\n");
exit(0);
}
//reqApi.KeepAlive(false); //
reqApi.Close();
return s;
}
CONSOLE_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);
String s;
String fileName;
bool b;
s=load_Url("https://www.cmegroup.com/CmeWS/mvc/ProductCalendar/Future/58.json"); //LOG(s);
Cout() << "Value: " << s << '\n';
s="";
}
==============
then I simply tried GuiWebDownload from reference with my link " https://www.cmegroup.com/CmeWS/mvc/ProductCalendar/Future/58 .json" and got error : "Download has failed. socket(824) / StartSSL: support (Core/SSL)"
==============
tried another time and got "Download has failed. socket(788) / StartSSL: Missing SSL support (Core/SSL)"
==============
with another link " https://raw.githubusercontent.com/elmoallistair/datacamp/ref s/heads/master/data-manipulation-with-pandas/datasets/temper atures.csv" -- same problem
==============
is it the problem of SSL-package ?? or 32x-compiler (msys32 MINGW) ?? Is there a way to correct something?
Best regards.
[Updated on: Mon, 30 September 2024 13:26] Report message to a moderator
|
|
|
|
Re: Win32 openssl updated to 3.2.1 version [message #60881 is a reply to message #60573] |
Mon, 30 September 2024 08:57   |
JeyCi
Messages: 68 Registered: July 2020
|
Member |
|
|
I had no success. Can somebody test this load-function on 64x to be sure, if my problem comes from my old version of tool-chain [i686-w64-mingw32 with C++17] or perhaps my internet-provider or internet itself is having some new security rules or new SSL certificate (as I know TLS is already used as security certificate)
Best regards.
[Updated on: Mon, 30 September 2024 09:25] Report message to a moderator
|
|
|
|
|
|
|
Re: Win32 openssl updated to 3.2.1 version [message #60888 is a reply to message #60573] |
Mon, 30 September 2024 13:14   |
JeyCi
Messages: 68 Registered: July 2020
|
Member |
|
|
Thanks, for testing..... (I just was working with my app with no problems and suddenly access forbidden after several months of work -- therefore I'm not thinking about the configuration of app or windows - nothing was changed -- perhaps, some security measures on this public server were added, or just limited number of sockets for downloaders from it -- though such behaviour is taken place for already 3rd day including week-ends). Thank you anyway.
Best regards.
[Updated on: Mon, 30 September 2024 13:25] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Sun Jun 01 19:59:35 CEST 2025
Total time taken to generate the page: 0.02559 seconds
|
|
|