cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX and STM32CubeIDE Check For Updates Problem with HTTP connection

Ogulcan Ariyurek
Associate II

Hi,

HTTP connection is banned in my company (only HTTPS is allowed), so I'm getting errors regarding this issue at the startup of STM32CubeMX and STM32CubeIDE. They work fine afterwards, but they cannot update themselves.

Is there a workaround for this issue, or can you please fix this by moving to HTTPS.

Thanks.

Ogulcan

4 REPLIES 4
Markus GIRDLAND
ST Employee

I asked around in the team and sw-center.st.com does support https, so you could try to change the update site url. I haven't tried this myself so please let me know how that works through your company's restrictions.

Ogulcan Ariyurek
Associate II

Hi Markus,

My programs STM32CubeMX and STM32CubeIDE tries to reach the update site through HTTP, I don't know how to force them to use the HTTPS.

Here are the error details:

An error occurred while collecting items to be installed

session context was:(profile=STM32CubeIDE, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

HTTP Server 'Internal Error': http://sw-center.st.com/stm32cubeide/updatesite1/1.2.1/plugins/com.st.stm32cube.ide.mcu.debug.launch_1.2.1.202001151216.jar

HttpComponents connection error response code 500.

HTTP Server 'Internal Error': http://sw-center.st.com/stm32cubeide/updatesite1/1.2.1/plugins/com.st.stm32cube.ide.mcu.rcp_1.2.1.202001151216.jar

HttpComponents connection error response code 500.

HTTP Server 'Internal Error': http://sw-center.st.com/stm32cubeide/updatesite1/1.2.1/features/com.st.stm32cube.ide.feature.mcu.debug_1.2.1.202001151216.jar

HttpComponents connection error response code 500.

HTTP Server 'Internal Error': http://sw-center.st.com/stm32cubeide/updatesite1/1.2.1/features/com.st.stm32cube.ide.feature.mcu.rcp_1.2.1.202001151216.jar

HttpComponents connection error response code 500.

HTTP Server 'Internal Error': http://sw-center.st.com/stm32cubeide/updatesite1/1.2.1/binary/com.st.stm32cube.ide.mcu.rcp.product.executable.win32.win32.x86_64_1.2.1

HttpComponents connection error response code 500.

Regards,

Ogulcan

Ogulcan Ariyurek
Associate II

Okay, so...

typing http://sw-center.st.com/stm32cubeide/updatesite1/1.2.1/plugins/com.st.stm32cube.ide.mcu.debug.launch_1.2.1.202001151216.jar

to any web browser return HTTP error 500, while typing

https://sw-center.st.com/stm32cubeide/updatesite1/1.2.1/plugins/com.st.stm32cube.ide.mcu.debug.launch_1.2.1.202001151216.jar

reaches the file itself.

It seems you've moved to HTTPS but your programs are still trying to update from HTTP.

Am I the only one who encounters this issue? Everyone should be encountering the same issue right now =)

Regards,

Ogulcan

Ogulcan Ariyurek
Associate II

I've figured it out.

Under Window > Preferences > Install/Update > Available Software Sites

You have the option to change the software sites.

I've edited http://sw-center.st.com/stm32cubeide/updatesite1 to https://sw-center.st.com/stm32cubeide/updatesite1 and the problem resolved.

Regards,

Ogulcan