Your best friend for file transfer.

Fetch application logoFetch

Connection time out (10 posts)

  • Started 10 years ago by rcantin
  • Latest reply 10 years ago from Jim Matthews
  • rcantin Member

    Fectch cant log in on my FTP server as CyberDuck, Transmit or others will. Is there a way to change the connection delay in the prefs?

    Posted 10 years ago #

  • Jim Matthews Administrator

    Could you post the relevant part of the Fetch.log file after a failed connection attempt? To find Fetch.log, choose "Fetch Transcript" from the Window menu, then choose "Show Fetch.log in Finder" from the File menu. I'd like to see see how long Fetch is waiting before giving up.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

  • rcantin Member

    Connecting to ftp.k2impressions.ca port 21 (Mac OS X firewall is allowing connections) (13-04-09 11:09)
    Connected to 206.172.50.3 port 21 (13-04-09 11:09)
    220 ProFTPD 1.2.9 Server (ProFTPD Default Installation) [www.k2impressions.ca]
    USER RRQ
    331 Password required for RRQ.
    PASS
    230 User RRQ logged in.
    SYST
    215 UNIX Type: L8
    PWD
    257 "/" is current directory.
    PWD
    257 "/" is current directory.
    PWD
    257 "/" is current directory.
    TYPE A
    200 Type set to A
    PORT 192,168,121,8,233,69
    200 PORT command successful
    LIST -al
    ABOR
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4886187 reply_received = 4886187 TickCount() - reply_received = 0
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4886187 reply_received = 4886187 TickCount() - reply_received = 0
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4886189 reply_received = 4886187 TickCount() - reply_received = 2
    150 Opening ASCII mode data connection for file list
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4886190 reply_received = 4886189 TickCount() - reply_received = 1
    226 Transfer complete.
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4886190 reply_received = 4886190 TickCount() - reply_received = 0
    226 Abort successful
    PASV
    227 Entering Passive Mode (206,172,50,3,192,20).
    Making data connection to 206.172.50.3 port 49172
    LIST -al
    ABOR
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4887390 reply_received = 4887390 TickCount() - reply_received = 0
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4887391 reply_received = 4887390 TickCount() - reply_received = 1
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4887393 reply_received = 4887390 TickCount() - reply_received = 3
    150 Opening ASCII mode data connection for file list
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4887393 reply_received = 4887393 TickCount() - reply_received = 0
    226 Transfer complete.
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4887394 reply_received = 4887393 TickCount() - reply_received = 1
    226 Abort successful
    ftp_list: 2,-30028 (state == GETTING_LIST)
    Fetch ne peut ramener la liste de fichiers parce que le délai d’attente du serveur qu’il établisse une connexion de données en mode actif est dépassé. (Un coupe-feu local peut bloquer les transferts en mode actif (PORT). Essayez en cochant "Utiliser les transferts en mode passif (PASV)" dans le panneau Général des préférences, ou désactivez le blocage des ports dans le coupe-feu.)
    Update check skipped at 13-04-09 11:11 (next check after 13-04-13 23:44)

    Posted 10 years ago #

  • Jim Matthews Administrator

    Hi,

    That shows a successful initial connection, and a timeout waiting for the server to make a data connection back to Fetch. Fetch's default timeout for that is 20 seconds. You can adjust it by opening Terminal and typing:

    defaults write com.fetchsoftworks.Fetch PortNeverWorkedTimeout -int 90

    That will change the timeout to 90 seconds. Alternatively, you could check the "Use passive mode transfers (PASV)" box in the General section of Fetch preferences, and have Fetch make data connections to the server, rather than the other way around.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

  • rcantin Member

    Passive mode:

    Connecting to ftp.k2impressions.ca port 21 (Mac OS X firewall is allowing connections) (13-04-09 11:19)
    Connected to 206.172.50.3 port 21 (13-04-09 11:19)
    220 ProFTPD 1.2.9 Server (ProFTPD Default Installation) [www.k2impressions.ca]
    USER RRQ
    331 Password required for RRQ.
    PASS
    230 User RRQ logged in.
    SYST
    215 UNIX Type: L8
    PWD
    257 "/" is current directory.
    PWD
    257 "/" is current directory.
    PWD
    257 "/" is current directory.
    TYPE A
    200 Type set to A
    PASV
    227 Entering Passive Mode (206,172,50,3,192,35).
    Making data connection to 206.172.50.3 port 49187
    LIST -al
    ABOR
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4922649 reply_received = 4922649 TickCount() - reply_received = 0
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4922650 reply_received = 4922649 TickCount() - reply_received = 1
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4922652 reply_received = 4922649 TickCount() - reply_received = 3
    150 Opening ASCII mode data connection for file list
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4922652 reply_received = 4922652 TickCount() - reply_received = 0
    226 Transfer complete.
    FTP::ftp_abort() FTP_ABOR_SENT_CMD TickCount() = 4922652 reply_received = 4922652 TickCount() - reply_received = 0
    226 Abort successful
    ftp_list: 2,-30027 (state == GETTING_LIST)
    Fetch ne peut ramener la liste de fichiers parce que le délai d’établissement d’une connexion de données en mode passif est dépassé. (Un coupe-feu de serveur peut bloquer les transferts en mode passif (PASV). Demandez de l’aide au gestionnaire du serveur ou essayez en décochant "Utiliser les transferts en mode passif (PASV)" dans le panneau Général des préférences.)
    Update check skipped at 13-04-09 11:21 (next check after 13-04-13 23:44)

    Posted 10 years ago #

  • Jim Matthews Administrator

    Hi,

    It looks like the passive data connection is timing out as well. You can increase that timeout with this command:

    defaults write com.fetchsoftworks.Fetch PasvTimeout -int 90

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

  • rcantin Member

    Thank you Jim, I really appreciate that.

    But I must say that many customers wont be able to open Terminal and make that happen so, do you have an update plan for Fetch having this feature enable?

    Best regards.

    Posted 10 years ago #

  • Jim Matthews Administrator

    Thanks for the feedback, I'll consider it.

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

  • rcantin Member

    Ok. Thanks for the help anyway. I tested the Terminal command and it works flawlessly by the way.

    One more question please. Why did you set the connection time out to 20 sec. ? I believe it must be a reason for that since it was the case for Transmit 4 too...

    Just wondering.

    Posted 10 years ago #

  • Jim Matthews Administrator

    I arrived at that timeout through trial and error. Fetch will try again if it gets a timeout, so a transient issue shouldn't cause a connection to fail, and most of the time servers will respond in much less than 20 seconds.

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.