Important: Please read the Qt Code of Conduct -

Cant run Qmediaplayer Error: "Secure connection setup failed."

  • Hello, I made a simple music streamer in Linux. Everything is OK but when i want to package the application as an snap package, Qmediaplayer won't work anymore. I know that the app has the network access because system ("curl somthing"); is working inside the snap package but the Qmediaplayer returns this message in the command line:
    Error: "Secure connection setup failed."
    Do You know what does this error actually mean and how can i fix the problem?
    Sorry for my bad English.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Did you try to curl an https address ?

  • @SGaist Thank You. I added system ("curl") both snap and the app binary gave the same answer. (curl did successfully get the data from https website)

  • Lifetime Qt Champion

    Do you have OpenSSL in your snap package ?

Log in to reply