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

System.Net.WebException: The remote server returned an error: (411) Length Required #51

Open
TomW-Skyline opened this issue Oct 30, 2024 · 0 comments

Comments

@TomW-Skyline
Copy link

When using this library in a .NET Framework 4.7.2 project, the following exception occurs.
Same code in .NET 8.0 works fine.

Unhandled Exception: JenkinsNET.Exceptions.JenkinsJobBuildException: Failed to build Jenkins Job '...'! ---> System.Net.WebException: The remote server returned an error: (411) Length Required.
at System.Net.HttpWebRequest.GetResponse()
at JenkinsNET.Internal.JenkinsHttpCommand.Run()
at JenkinsNET.JenkinsClientJobs.Build(String jobName)

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

No branches or pull requests

1 participant