Qt 5.7.1: No SOCKS5 authentication



  • Hello,

    (I'm currently using pre-built binaries because I don't know how to build the web engine module myself)

    it seems that SOCKS5 authentication is not possible with the Web Engine?
    I'm setting an application-wide proxy, then loading the page.
    With wireshark I can see that Qt sends "5 0 1" (socks protocol) which means "no authentication method", the server refuses.
    But I'm setting user+password:

    QNetworkProxy proxy;
    proxy.setType(QNetworkProxy::Socks5Proxy);
    proxy.setHostName("...");
    proxy.setPort(1080);
    proxy.setUser("...");
    proxy.setPassword("...");
    QNetworkProxy::setApplicationProxy(proxy);
    

    Also, authenticationRequired & proxyAuthenticationRequired signals are never fired from the page.

    What's going on here?

    Thank you.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.