Results 1 to 2 of 2

Thread: socket error ProxyProtocolError

  1. #1
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default socket error ProxyProtocolError

    Hello,
    I have a problem with setting up proxy in QTcpSocket.
    I do this by the manual, i.e. set up proxy type, ip, port, set proxy in socket and then connect to i.e "google.com".

    Connection states are (signals: stateChanged and error):
    Qt Code:
    1. state changed: QAbstractSocket::HostLookupState
    2. state changed: QAbstractSocket::ConnectingState
    3. state changed: QAbstractSocket::UnconnectedState
    4. --- sockError error: QAbstractSocket::ProxyProtocolError
    To copy to clipboard, switch view to plain text mode 

    I know that proxy is working (checked with FF, it's HTTP proxy) but I don't know why QTcpSocket throw this error.

    So the question what this mean: ProxyProtocolError? I read SocketError-enum but it's unclear to me what this actually means.

    Thanks for reply.
    Regards
    Last edited by Talei; 7th December 2011 at 02:27.
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

  2. #2
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: socket error ProxyProtocolError

    Solved.
    Please close.
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

Similar Threads

  1. Replies: 0
    Last Post: 5th November 2009, 03:11
  2. Socket Error
    By chethana in forum Qt Programming
    Replies: 0
    Last Post: 16th March 2009, 08:25
  3. HELP ME - socket error in linux
    By donzaza in forum Qt Programming
    Replies: 0
    Last Post: 20th September 2008, 19:20
  4. socket in thread error!
    By alphaboy in forum Qt Programming
    Replies: 6
    Last Post: 18th November 2007, 12:15
  5. Socket bind error
    By rburge in forum Qt Programming
    Replies: 1
    Last Post: 21st September 2007, 00:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.