Autor Beitrag
bbfan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 164



BeitragVerfasst: Mo 13.08.07 11:28 
Hallo!

Ich bekomme in unregelmäßige Abständen einen EIDSocketError bei einer FTP Übertragung.

Woran kann das liegen?

Screenshot ist angehängt.
Einloggen, um Attachments anzusehen!
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 13.08.07 11:44 
Moin!

JwaWinSock2.pas hat folgendes geschrieben:
ausblenden Delphi-Quelltext
1:
WSAECONNRESET = (WSABASEERR+54);					

Die TCP-Verbindung wurde getrennt; warum? Leitung zusammengebrochen, Programm abgestürzt, Server beendet, Sack Reis in China umgefallen... :?

cu
Narses

//EDIT: "Verbindung" um "TCP-" ergänzt

_________________
There are 10 types of people - those who understand binary and those who don´t.


Zuletzt bearbeitet von Narses am Mo 13.08.07 17:40, insgesamt 1-mal bearbeitet
bbfan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 164



BeitragVerfasst: Mo 13.08.07 17:21 
Es liegt nicht an der Verbindung... Die steht wie eine 1.

Hier ein Auszug aus den Log Einträgen. ERR 3 steht für 10054 Abbruch:

13-08-2007 11:52:23 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
13-08-2007 11:54:34 2-test_stream0- ERR 3: FTP Connection lost. ACC: 2-test_stream0
13-08-2007 11:55:07 2-test_stream0- ERR 3: FTP Connection lost. ACC: 2-test_stream0
13-08-2007 11:56:44 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
13-08-2007 11:58:50 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
13-08-2007 11:59:24 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
13-08-2007 12:01:02 2-test_stream0- ERR 3: FTP Connection lost. ACC: 2-test_stream0
13-08-2007 12:03:11 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
13-08-2007 12:03:25 2-test_stream0- ERR 3: FTP Connection lost. ACC: 2-test_stream0
13-08-2007 12:05:18 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
13-08-2007 12:07:28 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
13-08-2007 12:08:51 2-test_stream0- ERR 3: FTP Connection lost. ACC: 2-test_stream0
13-08-2007 12:09:36 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
13-08-2007 12:11:29 2-test_stream0- ERR 3: FTP Connection lost. ACC: 2-test_stream0
13-08-2007 12:13:12 2-test_stream0- ERR 3: FTP Connection lost. ACC: 2-test_stream0
13-08-2007 12:14:34 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
13-08-2007 12:15:56 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
13-08-2007 12:17:18 2-test_stream0- ERR 3: FTP Connection lost. ACC: 2-test_stream0
13-08-2007 12:17:18 2-test_stream1- ERR 3: FTP Connection lost. ACC: 2-test_stream1
little-wolf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 47

WinXP
Delphi 5 Enterprise, Delphi 2006 Enterprise
BeitragVerfasst: Mo 13.08.07 17:37 
hallo bbfan

evtl. hilft dir dies (rein informativ) weiter...

www.buffed.de/forum/...ndex.php/t11223.html


evtl. kannst du was beeinflussen mit den transfermodi "passiv" oder "aktiv"
ich hatte eine ähnliche meldung (evtl. auch die selbe) bei meinem ftp-transfer, bis ich passiv auf false gesetzt hatte...

gruss

little-wolf
bbfan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 164



BeitragVerfasst: Mo 13.08.07 18:12 
Die Lösung des Problems scheint folgende zu sein:

FTP Client von "active FTP" auf "Passive FTP" umschalten.
little-wolf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 47

WinXP
Delphi 5 Enterprise, Delphi 2006 Enterprise
BeitragVerfasst: Mo 13.08.07 19:05 
ja, wie gesagt... dass wars bei mir dann auch schon...
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 13.08.07 19:09 
Moin!

Ich möchte sicherheitshalber noch mal darauf hinweisen, dass das zwar in diesem Fall geholfen haben mag, aber keine allgemeingültige Lösung darstellt, sondern lediglich einen bestimmten Sonderfall in einer (NAT-)Router-Config behandelt. Zur Erläuterung der active/passive FTP Option:

active: der Client baut die TCP-Daten-Verbindung auf

passive: der Server baut die TCP-Daten-Verbindung auf (und umgeht damit ein mögliches Portforwarding-Problem, wenn hinter einem NAT-Router)

cu
Narses

PS: von einem Router war übrigens im ersten Beitrag nicht die Rede...

_________________
There are 10 types of people - those who understand binary and those who don´t.