Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Proxy Authentication error
Forum Updated to NodeBB v4.3 + New Features

Proxy Authentication error

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 189 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.
  • A Offline
    A Offline
    amohar
    wrote on last edited by
    #1

    I an running the following code on windows/qt 5.15.2 and see 407 Authentication error on proxy side while the signal don't get invoked on the client side:
    mManager = new QNetworkAccessManager(this);

    			mProxy = new QNetworkProxy(QNetworkProxy::HttpProxy,
    									   proxy_url, proxy_port,
    									   proxy_user, proxy_password);
    			
    
    			connect(mManager, &QNetworkAccessManager::proxyAuthenticationRequired,
    					this,	  &VplRequest::slotProxyAuthentication);
    
    			mManager->setProxy(*mProxy);
    			QSslConfiguration config;
    			config.setProtocol(SECURE_PROTOCOL);
    			mManager->connectToHostEncrypted(host_url, port, config)
    

    what might be wrong? Thanks.

    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