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
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 previous message
JeyCi is currently offline  JeyCi
Messages: 69
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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: New release 2024 "alpha phase"
Next Topic: 2024rc1
Goto Forum:
  


Current Time: Sat Jun 07 21:57:22 CEST 2025

Total time taken to generate the page: 0.05838 seconds