Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMediaPlayer: "Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure"
QtWS25 Last Chance

QMediaPlayer: "Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure"

Scheduled Pinned Locked Moved Solved General and Desktop
macosx
3 Posts 2 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sergio_101
    wrote on 3 Jan 2018, 13:54 last edited by A Former User 1 Mar 2018, 18:00
    #1

    Hi, all..
    I am working on an internet radio. I am using QMediaPlayer to play the url like so:

        QMediaPlayer *player = new QMediaPlayer;
        player->setMedia(QUrl(this->streamUrl));
        player->play();
    

    but when I run this (on MacOS), i am getting the error:
    "App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file."

    But i am not seeing the apps plist file anywhere. Anyone have any ideas?

    Thanks!

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VRonin
      wrote on 3 Jan 2018, 15:43 last edited by
      #2

      https://stackoverflow.com/questions/31254725/transport-security-has-blocked-a-cleartext-http

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      S 1 Reply Last reply 3 Jan 2018, 15:55
      2
      • V VRonin
        3 Jan 2018, 15:43

        https://stackoverflow.com/questions/31254725/transport-security-has-blocked-a-cleartext-http

        S Offline
        S Offline
        sergio_101
        wrote on 3 Jan 2018, 15:55 last edited by
        #3

        @VRonin thanks! i saw that in my searching, but at first thought it was a Qt issue, not a generic app issue. looking closer at that link, I got it fixed.

        Thanks!

        1 Reply Last reply
        0

        3/3

        3 Jan 2018, 15:55

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved