Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.11.3
-
None
Description
Hi,
I set system proxy to 192.168.1.5:3128 (linux with squid proxy). On a same server I have a java application to which I need to connect. I set Esceptions to 192.168.1.5 IP. see attachment.
When I start to connect to remote host
// code this->m_socket->connectToHost(getRemoteServerAddress(), getRemoteServerPort());
I receive a UnsupportedSocketOperationError.
When I remove 192.168.1.5 IP from Esceptions all works fine.
To make it work under Qt5.11.3, I have to insert the following,
this->m_socket = new QTcpSocket(this); m_socket->setProxy(QNetworkProxy::NoProxy); // <- this line resolve this.
This issue possibly related to QTBUG-58706