Skip to content

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

@TomW-Skyline

Description

@TomW-Skyline

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions