We use cookies
We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.
This is another proxy and the response is 402 Payment required, nothing related to the sgcWebSockets library.
Hi Sergio,
i tested new release, unfortunately the problem still remains.
It not working with proxy.
Regards Artem
Send me the proxy settings, the old one seems not working
Hi Sergio,
i tested new release, unfortunately the problem still remains.
It not working with proxy.
Regards Artem
Hello,
Most probably there will be a new release this month.
The problem was related with the TLS handshake.
Kind Regards,
Sergio
Hello,
I've fixed the issue, it will be available on the next release.
Kind Regards,
Sergio
Yes, first returns a 407 error and then connects again using credentials and the connection is successful, it's correct. Find below the log:
Sent 04/11/2024 12:05:27: CONNECT http://www.google.com:443 HTTP/1.0
Sent 04/11/2024 12:05:27:
Recv 04/11/2024 12:05:27: HTTP/1.0 407 Proxy Authentication Required
Proxy-Authenticate: Basic realm="proxy"
Connection: close
Content-type: text/html; charset=utf-8
<html><head><title>407 Proxy Authentication Required</title></head>
<body><h2>407 Proxy Authentication Required</h2><h3>Access to requested resource disallowed by administrator or you need valid username/password to use this resource</h3></body></html>
Stat Disconnected.
Sent 04/11/2024 12:05:28: CONNECT http://www.google.com:443 HTTP/1.0
Sent 04/11/2024 12:05:28: Proxy-Authorization: Basic NTJnY2E4Nms6b24yMzZxNXI=
Sent 04/11/2024 12:05:28:
Recv 04/11/2024 12:05:28: HTTP/1.0 200 Connection established
Stat Connected.
Sent 04/11/2024 12:05:30: PRI * HTTP/2.0
...................
Sent 04/11/2024 12:05:27: CONNECT http://www.google.com:443 HTTP/1.0
Sent 04/11/2024 12:05:27:
Recv 04/11/2024 12:05:27: HTTP/1.0 407 Proxy Authentication Required
Proxy-Authenticate: Basic realm="proxy"
Connection: close
Content-type: text/html; charset=utf-8
<html><head><title>407 Proxy Authentication Required</title></head>
<body><h2>407 Proxy Authentication Required</h2><h3>Access to requested resource disallowed by administrator or you need valid username/password to use this resource</h3></body></html>
Stat Disconnected.
Sent 04/11/2024 12:05:28: CONNECT http://www.google.com:443 HTTP/1.0
Sent 04/11/2024 12:05:28: Proxy-Authorization: Basic NTJnY2E4Nms6b24yMzZxNXI=
Sent 04/11/2024 12:05:28:
Recv 04/11/2024 12:05:28: HTTP/1.0 200 Connection established
Stat Connected.
Sent 04/11/2024 12:05:30: PRI * HTTP/2.0
...................
Hello,
Please provide more info about the proxy (host, port, authentication data...) and I'll test, I need more information to test this issue.
Kind Regards,
Sergio