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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0
    • Fix Version/s: 5.9
    • Component/s: Network
    • Environment:
      Debian Stretch
    • Commits:
      c0157a9f035a27a3ba20cab0ca3ca1c6e78f0b14

      Description

      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

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes