Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Qt 5.7.1: No SOCKS5 authentication
Forum Updated to NodeBB v4.3 + New Features

Qt 5.7.1: No SOCKS5 authentication

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 870 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qtacc32
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved