Friday, 11 December 2020
  20 Replies
  3.5K 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
3 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
3 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
3 years ago
·
#603
Thanks for fixing this issue!

Best regards
Guido
3 years ago
·
#813
Its gone 404 again :-) :-) :-)
3 years ago
·
#814
Hello,

This link was moved some months ago, use the following:

https://download.esegece.com/sgcIndy_Demos.zip

Kind Regards,
Sergio
3 years ago
·
#815
Thank you, - but it dident help me .. I still suffer this problem in Delphi 7 :

[Warning] sgcIdStackWindows.pas(1822): Return value of function 'TIdSocketListWindows.GetItem' might be undefined
[Warning] sgcIdIOHandler.pas(2630): Return value of function 'TIdIOHandler.WriteFile' might be undefined
[Fatal Error] sgcWebSocketsD7.dpk(225): Unit sgcWebSocket_Client was compiled with a different version of sgcIdTCPClient.TIdTCPClientCustom.SetReadTimeout

I installed Indy10 (downloaded from this/your site), and the indy-components are available on Delphi 7's palette, but still, I cannot install scgWebSockets.

I have searched Google a lot, but I find no clue as to what the solution is ...

Can you help/guide ?

Best regards
3 years ago
·
#816
Hello,

The sgcWebSockets Trial already includes all Indy files required, because is the Enterprise version, which uses a custom Indy version. There is no need to install the indy 10 version (this is only required for Standard or Professional packages).
The error is raised because the linker find sgcIdTCPClient unit which is different from the included inside the trial/libD7 folder.
Just delete the Indy version installed (and all dcu, bpl...) and try again with only the Delphi 7 trial. It should work.

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).
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
·
#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
·
#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
·
#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
·
#822
Hello,

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

Kind Regards,
Sergio
1 week 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
1 week 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 week 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 week 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 week 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 week ago
·
#2151
Hello,

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

Kind Regards,
Sergio
1 week 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 week ago
·
#2154
Hello,

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

Kind Regards,
Sergio
  • Page :
  • 1
There are no replies made for this post yet.
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
· Insert · Remove
  Upload Files (Maximum 10MB)