Questions tagged [indy10]

Indy 10 is a reference to a specific version of Indy.

0
votes
1answer
21 views

TIdTCPServer OnExecute not fired for some messages unless mouse in window

We have a Windows app that we're adding a socket interface for remote configuration and data processing. A TIdTCPServer object receives the messages in the OnExecute event. For some messages, ...
0
votes
1answer
9 views

Reading TidTCPServer incomming data until disconnect

I'm trying to migrate from Delphi's TTCPserver to Indy's TidTCPServer (Delphi XE10.2), but I cannot figure out how read the incoming data in the Execute, all examples I've found is using readln which ...
0
votes
1answer
40 views

TIdIPWatch returns blank IP (as does TIdStack)

I'm looking at simple solutions in Lazarus/FPC to get the local IP Address and certainly INDY seems simplest. This is on a parallels MacOS VM running Mojave running on a 2015 MBP. I'm using Lazarus 2....
0
votes
0answers
64 views

EIdOSSLUnderlyingCryptoError - SSL3_GET_RECORD: wrong version number (TLS 1.2)

I use Delphi 2010, newest Indy 10.6.2 (5498) and OpenSSL 1.0.2r (from indy.fulgan.com) and I am not able to force it to use TLS 1.2. When I open a page mentioned later, it returns ...
0
votes
0answers
33 views

Indy UDP communication

I want to develop a program in RAD Studio C++ to communicate with some microcontroller boards over an Ethernet LAN. I found Indy TIdUDPClient, and I can communicate with only one microcontroller ...
0
votes
1answer
37 views

idHTTP Post raise exception cannot open file

When I call idHTTP.Post( cUrlPath + '/user/logout.json','') to logout from a WebService, I always get an exception: cannot open file "" All other idHTTP.Post requests work good (log in, create, ...
1
vote
0answers
42 views

TIdHTTPServer with TIdServerIOHandlerSSLOpenSSL doesn't return when Active is set to FALSE in Debian console

I'm setting a web server with Indy and Delphi 10.3.1 in a console application running in Debian. I can't gently shutdown the server setting IdHTTPServer.Active to FALSE because it never return and the ...
2
votes
2answers
86 views

How to set download location for ftp.get with Indy Delphi component

I can successfully download a file from my ftp server using: ftp.get(chosenFile,chosenFile); Where chosenFile is simply a string with the name of the file. However these are downloaded to the Debug ...
0
votes
1answer
44 views

Http Post Indy10 Error Delphi 7: Error creating SSL context

I'm using Delphi 7 with Indy 10.6.2.5459 to make a POST request to a server from time to time: sParams :='?ultimaAlteracao='+FormatDateTime('YYYY-MM-DD',now())+'T00:00:00.000'; FidHTTP := TIdHTTP....
2
votes
0answers
126 views

Delphi Indy: Suddenly experiencing 14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure

I have been using Delhi XE8 VCL application Indy 10.6.2:5263 OpenSSL 1.0.2k (https://indy.fulgan.com/SSL) Windows 10 The following code was working until March 5, 2019 procedure TForm2.Button1Click(...
0
votes
0answers
25 views

Send command from TIdCmdTCPServer

I am receiving commands from a client in TIdCmdTCPServer and this works great. Now I want to send events to the client, but I cannot seem to find any place to do this. I know how to do it in ...
0
votes
1answer
117 views

Delphi Indy HTTPS web server errors (EOF was observed that violates the protocol)

I am trying to add HTTPS support to an existing web server written in Delphi XE7 using Indy. I have written a simple application which just returns a date/time stamp on each HTTPS request. I added ...
0
votes
0answers
38 views

Capturing multicast video

I have a server that is using VLC to multicast a video using UDP to IP 192.168.139.1 and port 1234 and using RTP with the same IP and port 5004. I can use VLC on the client PC to see the video that is ...
1
vote
0answers
51 views

IdHttp HTTPS Handshake Failure

Delphi: XE 8 Indy ver: 10.6.2 Open SSL Library Produce Ver: 1.0.2q (ssleay32.dll, libeay32.dll) I'm getting the following error from my Delphi app when trying to make the following Get call: ...
0
votes
0answers
53 views

Delphi XE7 Android FMX threading for internet connections

im trying to connect to a FTP server from my android app, all works correctly if there is no exception, but if i get a timeout the Android app just closes. I did create a thread for the FTP ...
0
votes
1answer
57 views

Which Indy TIdHTTPServer code ir responsible for server side checking of SSL versions and ciphers?

I am using Indy 10.6.2 (current version from SVN) server components in Delphi 2007 and client components in Delphi 6 application, and of course OpenSSL. I am receiving "Error connecting with SSL. EOF ...
0
votes
0answers
22 views

Pushing messages from server to client with Indy

I have a general question about the server/client sequence for Indy 10. In looking at examples, it seems that the client must first make a request and then the server responds in its Execute handler. ...
0
votes
1answer
39 views

Reading unknown amount of bytes from IdTCPServer connection in delphi

I am setting up a client/server program to send and receive unknown amount of byte in my application. How to receive unknown buffer size in my program? I pass my data to TIdBytes variable and ...
0
votes
1answer
53 views

How To Fix Indy TIdTCPServer Freezing When Sending Text To TIdTCPClient?

Cannot send text from TIdTCPServer To TIdTCPClient, the server hanging (Not Responding), it just freezes when trying to send text to the client. I Started Recently using Indy TIdTCPClient and ...
0
votes
0answers
23 views

Is it possible to leave the SMPT connection open for multiple messages? [duplicate]

I read the blog https://www.indyproject.org/2008/01/16/new-html-message-builder-class/ I have managed to send mails in plain text and HTML + images. Following the code I noticed that the login ...
0
votes
1answer
137 views

TIdTCPServer hangs when setting Active = false

I was looking at this example for using TIdTCPServer/client components and I found that if there are any clients then the server component will hang when you change active to false. Specifically, it ...
0
votes
1answer
25 views

Authorization response of TIdHTTP->Connect() to get session ID

I am using the TIdHTTP component to connect to my server. I am using the following code for that (this is not complete code, I have removed unnecessary code lines). With the below code, I can connect ...
0
votes
0answers
35 views

IdFTPServer Exception 'Connection reset by peer'

I've setup a simple FTPServer that only serves a specific purpose. Watching the code when a get is performed, I see GetFileDate and GetFileSize called twice, but I never see RetrieveFile being called. ...
0
votes
0answers
57 views

Error messages after updating Indy components on Delphi XE

I'm trying for the second time to update Indy components on Delphi XE. I've followed the instructions below : http://ww2.indyproject.org/Sockets/Docs/Indy10Installation.EN.aspx So far it seems i ...
1
vote
1answer
57 views

Multiple TIdCmdTCPServers on same application

I'm developing a server with many client requests. According to the type of requests, I want to use a separate TIdCmdTCPServer for each type of request. In fact, it's an Accounting software that I ...
0
votes
1answer
64 views

How can I get my Delphi TS3 Serverquery IdTelnet to run as a console application?

I need to run my Delphi application in console mode so that I can run it on my VPS as a Wine emulated application on my Linux server so that it communicates via telnet to my Teamspeak server as ...
0
votes
1answer
60 views

TIdCmdTCPServer and data synchronization with main thread [anomaly?]

Situation looks like this. External application client.exe sends a command MONITOR_ENCODING every ~250ms to the server. In server application I use IdCmdTCPServer1BeforeCommandHandler to read sent ...
1
vote
1answer
93 views

Indy http server session doesn't work well

How can create session used with in idhttpserver ? I tryed alot of ways to do but I can't able to reach session object in ARequestInfo.Session or AResponseInfo.Session these are both of them always ...
0
votes
0answers
166 views

using a TIdSMTP component to send mails to a server with TLS/SSL configuration

I need to send mails using Delphi7 and the Indy10 component TIdSMTP; the mail must sent to the server of the Italian tax office. I used a simple MAPI component to send emails, but now it is necessary ...
-1
votes
1answer
520 views

TIDHTTP : Could not load SSL library on non https URLs

I'm using TIDHTTP to download a zip file from a non https url, like the code below : IdHTTPProgress.DownloadFile('http://www.myurl.com/myfile.zip','c:\myfile.zip'); Nevertheless i'm getting the ...
0
votes
1answer
67 views

Reading stream of Data using TIdIOHandlerStream and TIdTCPClient

I have an app that needs to connect to a server using TCP/IP and then just wait for server to send data, and what ever server sends should be saved into a file. Here is what I did: The Header file #...
1
vote
1answer
99 views

How to kill all active connections and stop IdTCPServer? Indy10

With open connections IdTCPServer.Active:=false; causes the program to hang. How to kill all active connections and stop IdTCPServer? I am trying to do the following: procedure TMyServer.Stop; var ...
0
votes
1answer
58 views

Indy10 ConnectTimeout minimal value

I have a problem regarding the ConnectTimeout from Indy 10's TIdTCPClient. When setting the ConnectTimeout higher than 125ms the Connect() procedure will block the current thread for 125ms. If it is ...
0
votes
1answer
202 views

Stopping thread and disconnecting indy tcp client on form close

I do write an app, that uses Indy 10 TCP/IP Client and TThread. The app connects to the server on Form.OnCreate event and disconnects from it on Form.OnClose event. Connection to the server is ...
-1
votes
2answers
56 views

C++ Builder - Indy - Receiving certified emails

i'm using C++ builder 6 and Indy 9/10. I'm coding to receive certified emails with attachments (basically pdf and xml files). When i receive the email, it have a TidMessageParts with one multipart/...
-1
votes
1answer
109 views

Read all available bytes from TCP Socket (unknown byte count)

I am having Problems useing the Indy TIdTCPClient. I want to call a function, everytime if there is Data available on the socket. For this I have a Thread calling IdTCPClient->Socket->Readable(...
0
votes
1answer
105 views

Indy IdHttp Proxy, which protocols Support?

I am using indy idhttp to work with telegram api,my code is something like this: LHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil); idHttp.ReadTimeout := 30000; idHttp.IOHandler:=LHandler; ...
0
votes
1answer
121 views

TIdFTP corrupted file after upload

Recently we changed the company that hosts our domain from Windows to Linux hosting. Since then, any file i upload using TIdFTP is uploaded without errors, but when i try to download this file, the ...
0
votes
1answer
82 views

Code on TCP doesn't work. What is my problem with live audio stream?

I use LiveAudioPlayer to stream audio over TCP with Indy. This is the code of the client: function TForm1.LiveAudioPlayerDataPtr(Sender: TObject; var Buffer: Pointer; var NumLoops: DWORD; var ...
1
vote
0answers
145 views

TIdhttp HTTPS handshake Failed

I am using Indy 10 to connect to a SOAP Web Service. When I run the code with Fiddler running I find the webserver is not negotiating our Handshake. I have attached a screen shot of the Fiddler ...
0
votes
0answers
180 views

Indy 10 (Delphi 10.2), HTTPS: No shared cipher (newbie question)

This is my first foray into using SSL with the Indy 10 TIdHTTPServer (in conjunction with the TIdServerIOHandlerSSLOpenSSL IOHandler), and I've hit a wall. I've make a small test app which ...
-1
votes
1answer
66 views

TIpTCPServer and Client in one application

I make an application where the client and the server are in the same program. I use Delphi XE7 and components TIpTCPServer / ... Client. But when I try to close the server with the client connected (...
3
votes
0answers
675 views

Delphi/Indy 10 - Sending a text or HTML email with attachments adds an attachment for the text (body) itself

For years, we've been using Indy 10 to send emails (text, not HTML) with one or more PDF attached to it and we never had any problem. Recently (maybe since Tokyo release 3 ?), our customers noticed ...
0
votes
1answer
84 views

How to enable Perfect Forward Secrecy In Indy 10?

I'm using OpenSSL 1.0.2o with Indy 10.6.2 in Delphi 2010. This is what I have done so far: procedure TServerForm.FormCreate(Sender: TObject); var LEcdh: PEC_KEY; FSslCtx: PSSL_CTX; SSL: PSSL; ...
0
votes
0answers
258 views

Upgrading Indy on Delphi XE

I've been struggling to upgrade Indy on Delphi XE. I followed the instructions on the link below : http://www.indyproject.org/Sockets/Docs/Indy10Installation.en.aspx Here what i did : 1 - Removed ...
2
votes
1answer
44 views

IdIOHandlerThrottle missing in indy10

I can't find the IdIOHandlerThrottle component in Indy10. Is it removed or replaced ?
0
votes
0answers
181 views

Indy 10 Client Certificate: All in One .pem File?

tl;dr: Is there a way for TIdSSLIOHandlerSocketOpenSSL to use one .pem file that includes cert, root, and key for a client certificate? Details: A vendor partner requires us to use mTLS ...
0
votes
0answers
41 views

Indy 10 shows “ConnectionTimeOut” error after 4 - 5 connects

I created a thread that should connect to server and send request and read the response as stream. Execute method of thread is declared like this : FTcpClient := TIdTCPClient.Create(nil); ...
0
votes
1answer
66 views

Posting webform data when the names are random with indy

I'm trying to create a login to https://umod.org/login but I'm having a hard time to understand exactly how this works. Why do I want to create a login? Their site API has a rate limit of 40 for ...
1
vote
0answers
33 views

Add embedded image to an email with TIdAttachmentFile [duplicate]

My problem is that I added an embedded image to an email using TIdAttachmentFile, so far it has worked with Outlook as I want, but not with Gmail. The image is added and Outlook appears correct, but ...

http://mssss.yulina-kosm.ru