Friday, 11 December 2020
  3.7K Visits
  Subscribe
Can you please provide a valid link to the sgcIndy-Demos?

The following link results into a 404 error: https://www.esegece.com/download/sgcIndy_Demos.zip
4 years ago
·
#591
Accepted Answer
Hello,

I've fixed it, it was deleted by mistake on latest update.
Thanks for letting me know.

Kind regards,
Sergio
2 weeks ago
·
#2189
Tested with the sgcWebSockets 2024.10.0 Trial for D12 works well

proxy_h2.png
Attachments (1)
2 weeks ago
·
#2188
This is another proxy and the response is 402 Payment required, nothing related to the sgcWebSockets library.


Please try it with Browser it working perfect.

198.23.239.134:6540:eowcueia:4suiy2rl6wcm
207.244.217.165:6712:eowcueia:4suiy2rl6wcm
107.172.163.27:6543:eowcueia:4suiy2rl6wcm
64.137.42.112:5157:eowcueia:4suiy2rl6wcm
173.211.0.148:6641:eowcueia:4suiy2rl6wcm
161.123.152.115:6360:eowcueia:4suiy2rl6wcm
167.160.180.203:6754:eowcueia:4suiy2rl6wcm
154.36.110.199:6853:eowcueia:4suiy2rl6wcm
173.0.9.70:5653:eowcueia:4suiy2rl6wcm
173.0.9.209:5792:eowcueia:4suiy2rl6wcm

In DEMO version its not working.
2 weeks ago
·
#2187
This is another proxy and the response is 402 Payment required, nothing related to the sgcWebSockets library.
2 weeks ago
·
#2186

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,
sorry for late reply.
Proxy : 64.137.42.112:5157:eowcueia:4suiy2rl6wcm
You can test on it.
Thanks.
3 weeks ago
·
#2178

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
3 weeks ago
·
#2176
Hello,

Most probably there will be a new release this month.
The problem was related with the TLS handshake.

Kind Regards,
Sergio


Hi Sergio,
i tested new release, unfortunately the problem still remains.
It not working with proxy.
Regards Artem
1 month ago
·
#2154
Hello,

Most probably there will be a new release this month.
The problem was related with the TLS handshake.

Kind Regards,
Sergio
1 month ago
·
#2153
Hello,

I've fixed the issue, it will be available on the next release.

Kind Regards,
Sergio


Hello Sergio,
can you please let me know when will the next release be published?
And the next question: what was the problem?
Thank you in advance.

Best regards
Artem
1 month ago
·
#2151
Hello,

I've fixed the issue, it will be available on the next release.

Kind Regards,
Sergio
1 month ago
·
#2150
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
...................


Thanks for your reply.
i am trying it for https://www.vfsglobal.com/en/individuals/index.html and what i recive in Logs :

Sent 04.11.2024 13:26:50: CONNECT http://www.vfsglobal.com:443 HTTP/1.0

Sent 04.11.2024 13:26:50:

Recv 04.11.2024 13:26:50: 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 13:26:50: CONNECT http://www.vfsglobal.com:443 HTTP/1.0

Sent 04.11.2024 13:26:50: Proxy-Authorization: Basic NTJnY2E4Nms6b24yMzZxNXI=

Sent 04.11.2024 13:26:50:

Recv 04.11.2024 13:26:52: HTTP/1.0 200 Connection established


Stat Disconnected.
Stat Disconnected.
Sent 04.11.2024 13:26:55: CONNECT http://www.vfsglobal.com:443 HTTP/1.0

Sent 04.11.2024 13:26:55:

Recv 04.11.2024 13:26:55: 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 13:26:55: CONNECT http://www.vfsglobal.com:443 HTTP/1.0

Sent 04.11.2024 13:26:55: Proxy-Authorization: Basic NTJnY2E4Nms6b24yMzZxNXI=

Sent 04.11.2024 13:26:55:

Recv 04.11.2024 13:26:55: HTTP/1.0 200 Connection established


Stat Disconnected.
Stat Disconnected.
Stat Disconnected.
1 month ago
·
#2149
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
...................
1 month ago
·
#2147
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


Hello Sergio,

thanks for your fast reply.
I am Testing it for TsgcHTTP2Client.

FClient_Request.Proxy.Enabled := True;
FClient_Request.Proxy.ProxyType := pxyHTTP;
FClient_Request.Proxy.Host := '95.79.35.60';
FClient_Request.Proxy.Port := 16041;
FClient_Request.Proxy.UserName := '52gca86k';
FClient_Request.Proxy.Password := 'on236q5r';

Regards Artem
1 month ago
·
#2146
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
1 month ago
·
#2145
Hello,

i am testing the components for HTTP/2 Protocol and if i use Proxy with Authorization it dont working.
I recive always 407 Proxy Authentication Required report, but all Proxy credentials are correct and in browser it works super.
Can you please give me feedback where could the problem lie?
Thank you in advance.

Best regards
Artem
3 years ago
·
#822
Hello,

Glad to hear it works now.
Just contact me again if you have any problems or concerns.

Kind Regards,
Sergio
3 years ago
·
#821
I understand your confusion.

Both actually.

I work for a company that is considering purchasing your WebSockets components, and we have a large portfolio of Delphi 7 software that we MUST maintain.
Personally I work with Delphi 10.4.2 (and 11) where the server-suite will be developed. But before management will allow me to set the plan in motion, I have to document to them that I can make the client-implementation work with the old Delphi 7 products.

Your new demo-project with the removed Threading unit compiles well .. and I am now testing it up against the server-setup compiled in Delphi 10.4.2

If everything turns out well, we will become a new customer with you ..

Thanks for your help and time !
3 years ago
·
#820
Hello,

Ok, I thought the problem was installing the package not a demo.
Yes, the demo uses the Threading unit because creates a thread for HTTP/1.1, but this unit is not included in Delphi 7.
I've deleted the references to this unit and all the HTTP 1.1 code (so only HTTP/2 will work). You can download the modified project from:

https://www.esegece.com/download/samples/http2_d7.zip

Kind Regards,
Sergio
3 years ago
·
#819
When trying to build program sgcHTTP2Client

This unit :

unit FHTTP2_Client;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls,
sgcIdHTTP, sgcHTTP, sgcHTTP2_Client, sgcBase_Classes, sgcTCP_Classes,
sgcTCP_Client, sgcHTTP2_Types, sgcIdAuthentication, sgcWebSocket_Classes,
sgcWebSocket_Classes_Indy, sgcWebSocket_Server, sgcWebSocket,
sgcBase_Helpers, sgcHTTP2_Frame, sgcWebSocket_Types, Menus, Threading,
sgcSocket_Classes;

ABSOLUTELY does specify "Threading" as a unit (second to last line of the USES specification).

I am a bit confused, I wont hide that :-)
3 years ago
·
#818
Hello,

It's weird, I don't make use of any Threading.pas unit... Indy only makes use of System.Threading if .NET (old version of Delphi...) is enabled, but in Delphi 7 it shouldn't be linked. I don't know, check the if some path is pointing to a wrong folder. I just installed the trial for Delphi 7 without problems, on a new machine.

Kind Regards,
Sergio
3 years ago
·
#817
Thank you a lot.

My misunderstanding.

The compile-process now halts at a missing unit instead .. "Threading" is missing.
I scanned my entire harddisk ... no "Threading.pas" (or .dcu) found .. What am I missing this time ? :-)

Best regards (and thanks in advance).
  • Page :
  • 1
  • 2
There are no replies made for this post yet.
Sorry, the discussion is currently locked. You will not be able to post a reply or a comment at the moment.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf,pas,dfm,dpr,dproj,dpk
· Insert · Remove
  Upload Files (Maximum 10MB)