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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9
    • 5.8.0
    • Network
    • Debian Stretch
    • 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

              tpochep Timur Pocheptsov
              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