jenkinsci / publish-over-ftp-plugin

https://plugins.jenkins.io/publish-over-ftp/
21 stars 33 forks source link

[JENKINS-21083] Connection timed out #53

Open jira-importer opened 10 years ago

jira-importer commented 10 years ago

I have installed Publish Over FTP Plugin 1.9 on Jenkins 1.532 and configured it against a FileZilla Ftp server running on windows 7. I have verified that I can connect to the ftp server from a shell on the slave that runs my jobs.

But when I try to copy a single test.txt file using the Publish Over Ftp plugin (I have configured the server and tested in the master configuration) in a freeStyleProject I get:

FTP: Connecting from host [debian7-slave]
FTP: Connecting with configuration [fileshare] ...
FTP: Disconnecting configuration [fileshare] ...
ERROR: Exception when publishing, exception message [Connection timed out]
Build step 'Send build artifacts over FTP' changed build result to UNSTABLE
Finished: UNSTABLE

I have tried using this plugin instead:
http://wiki.hudson-ci.org/display/HUDSON/FTP-Publisher+Plugin

and it works fine with the same configuration.


Originally reported by jserup, imported from: Connection timed out
  • assignee: rajburnwal
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2022/01/10
jira-importer commented 10 years ago

ttimo:

We've observed connection timeouts as well. We ended up bumping the timeout to a rather high value and that went away.

It's at 30000 now. What was weird to me, it seemed to be the total time to upload all the build artifacts, rather than some kind of 'establish connection' timeout. So as some of our artifacts got large, or had many of them, this started failing?

jira-importer commented 10 years ago

itachisan:

Same problem here; for a particular host I had to set it up to 5 hours (18000000) as I need something like 1h30m of connections...
It's kinda weird though

jira-importer commented 5 years ago

rajburnwal:

Issue :-  ERROR: Exception when publishing, exception message [Read timed out]
Build step 'Send build artifacts over FTP' changed build result to UNSTABLE
Finished: UNSTABLE

 

I am getting this error during uploading binaries into ftp server even after transfer is completed . Is it because of I have set some timeout in ftp server configuration in jenkins ? Can't I set multiple FTP server configuration ?