Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-21083] Connection timed out #53

Open
jira-importer opened this issue Dec 18, 2013 · 3 comments
Open

[JENKINS-21083] Connection timed out #53

jira-importer opened this issue Dec 18, 2013 · 3 comments

Comments

@jira-importer
Copy link
Collaborator

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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 ? 

 

 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant