Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Win32 openssl updated to 3.2.1 version
Win32 openssl updated to 3.2.1 version [message #60573] Sun, 12 May 2024 14:04 Go to next message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
(should be tomorrow in nightly build)
Re: Win32 openssl updated to 3.2.1 version [message #60870 is a reply to message #60573] Sat, 28 September 2024 12:47 Go to previous messageGo to next message
JeyCi is currently offline  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 Razz 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 #60873 is a reply to message #60573] Sat, 28 September 2024 19:30 Go to previous messageGo to next message
JeyCi is currently offline  JeyCi
Messages: 68
Registered: July 2020
Member
ok, I will try to compare my v13644 with existing version of uppsrc/Core/SSL - if it could help (if no dependencies have some impact)... Thanks for the Source-code

Best regards.

[Updated on: Sat, 28 September 2024 19:41]

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 Go to previous messageGo to next message
JeyCi is currently offline  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 #60882 is a reply to message #60881] Mon, 30 September 2024 10:16 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
Perhaps you can put together complete Core example of what you want to check? Glad to do it if you do...

Mirek
Re: Win32 openssl updated to 3.2.1 version [message #60883 is a reply to message #60870] Mon, 30 September 2024 10:54 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 1209
Registered: August 2007
Senior Contributor
Hi JeyCi,

If you get "Missing SSL support" (runtime) error. It is probably because you need to add the Core/SSL header to your file.

#include <Core/SSL/SSL.h>


Do you have the above header in your source file? IME, this was the problem with older toolchains in the past.

Best regards,

Oblivion


Re: Win32 openssl updated to 3.2.1 version [message #60885 is a reply to message #60883] Mon, 30 September 2024 12:01 Go to previous messageGo to next message
JeyCi is currently offline  JeyCi
Messages: 68
Registered: July 2020
Member
applied simple test-case (edited in the message above). Thanks for care.
403 Forbidden.
Shocked but I've got our UPP's forum link to this page (html) OK - to here " https://www.ultimatepp.org/forums/index.php?t=msg&goto=6 0885&#msg_60885" with code above -- perhaps the problem is not in SSL-package, but in some additional security-measures to my needed link (mentioned above) ??
p.s.
csv with temperatures " https://raw.githubusercontent.com/elmoallistair/datacamp/ref s/heads/master/data-manipulation-with-pandas/datasets/temper atures.csv" - is also OK. Perhaps really I should find the problem cause in something else [if nobody else can load my cmegroup.com link above - still being loaded ok in any Windows' browser], problem not in UPP. I like UPP Smile . Thanks


Best regards.

[Updated on: Mon, 30 September 2024 13:15]

Report message to a moderator

Re: Win32 openssl updated to 3.2.1 version [message #60887 is a reply to message #60885] Mon, 30 September 2024 13:07 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 1209
Registered: August 2007
Senior Contributor
Quote:
applied simple test-case (edited in the message above). Thanks for care.
403 Forbidden.
Shocked but I've got our UPP's forum link to this page (html) OK - to here " https://www.ultimatepp.org/forums/index.php?t=msg&goto=6 0885&#msg_60885" with code above -- perhaps the problem is not in SSL-package, but in some additional security-measures to my needed link (mentioned above) ??
p.s.
csv with temperatures " https://raw.githubusercontent.com/elmoallistair/datacamp/ref s/heads/master/data-manipulation-with-pandas/datasets/temper atures.csv" - is also OK. Perhaps really I should find the problem cause in something else [if nobody else can load my cmegroup.com link above - still being loaded ok in any Windows' browser], problem not in UPP. I like UPP Smile . Thanks



Tested the above code you've provided and it works fine on Win10. (But I use the latest U++). So, the package doesn't seem to be the problem here, possibly a configuration issue.

Best regards,
Oblivion


[Updated on: Mon, 30 September 2024 13:07]

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 Go to previous messageGo to next message
JeyCi is currently offline  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

icon14.gif  Re: Win32 openssl updated to 3.2.1 version [message #60920 is a reply to message #60573] Tue, 08 October 2024 16:46 Go to previous message
JeyCi is currently offline  JeyCi
Messages: 68
Registered: July 2020
Member
Surprised it is really working ! It was just occasional trouble (I don't know the reason) Very Happy I'm still with U++ Thanks to everybody !


Best regards.

[Updated on: Fri, 17 January 2025 21:43]

Report message to a moderator

Previous Topic: New release 2024 "alpha phase"
Next Topic: 2024rc1
Goto Forum:
  


Current Time: Sun Jun 01 19:59:35 CEST 2025

Total time taken to generate the page: 0.02559 seconds