Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.
QWebView initiating connection to WebSocket results in Proxy type is invalid.
We have QWebView loading a JSP, in turn that code connects to WebSocket. But, when we inspect that code we are getting following error
"WebSocket Newtwork Error: The Proxy type is invalid for this operation."
However, if we hit the same URL from Chrome browser, it does not give such error and connects to web-socket successfully.
Could you please help?
Thanks for your reply. However, we are using Qt version 5.9.1.
OK. Are you using QNetworkProxyFactory in your application? Do you have any custom proxy settings on OS/environment level?
Konstantin Tokarev last edited by Konstantin Tokarev
Please update your Qt at least to latest 5.9.x, there was at least one bug (https://bugreports.qt.io/browse/QTBUG-64834) fixed after 5.9.1 which could result in that error message
@Konstantin-Tokarev Yes, We are using QNetworkProxyFactory in our application. Also, there is custom proxy settings in our working environment.
Then update Qt and check if standalone QTcpSocket is working properly with your proxy settings