Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-58706

FortuneServer fails: "the proxy type is invalid for this operation"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.9
    • 5.8.0
    • Network
    • Debian Stretch
    • c0157a9f035a27a3ba20cab0ca3ca1c6e78f0b14

      Hi,

      I have http_proxy set to http://192.1.1.5:3128

      • Under Qt5.8.0
        FortuneServer fails with error-box "The proxy type is invalid for this operation" in this line
      • Under Qt5.7.1
        FortuneServer works perfectly.

      To make it work under Qt5.8.0, I have to insert the following, below line 152 with

          tcpServer = new QTcpServer(this);
          tcpServer->setProxy(QNetworkProxy::NoProxy);    // new line inserted!
      

      This issue is perhaps similar to QTBUG-58374 and
      possibly related to QTBUG-41053

        For Gerrit Dashboard: QTBUG-58706
        # Subject Branch Project Status CR V

            tpochep Timur Pocheptsov
            nicesw123 nicesw123
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes