Skip to content

[wasm][nodejs] System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Headers_Http11.SendAsync_ContentLengthAndTransferEncodingHeaders_IgnoreContentLength #69085

Closed

Description

@radical

Build, and log. Seen on #68921 .

Breaking with nodejs:

[23:38:31] fail: [FAIL] System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Headers_Http11.SendAsync_ContentLengthAndTransferEncodingHeaders_IgnoreContentLength
[23:38:31] info: System.Net.Http.HttpRequestException : FetchError: request to http://127.0.0.1:40499/ failed, reason: Parse Error: Content-Length can't be present with Transfer-Encoding
[23:38:31] info: ---- System.Runtime.InteropServices.JavaScript.JSException : FetchError: request to http://127.0.0.1:40499/ failed, reason: Parse Error: Content-Length can't be present with Transfer-Encoding
[23:38:31] info:    at System.Net.Http.BrowserHttpHandler.<SendAsync>g__Impl|56_0(HttpRequestMessage request, CancellationToken cancellationToken)
[23:38:31] info:    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
[23:38:31] info:    at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Headers.<>c__DisplayClass20_0.<<SendAsync_ContentLengthAndTransferEncodingHeaders_IgnoreContentLength>b__1>d.MoveNext()
[23:38:31] info: --- End of stack trace from previous location ---
[23:38:31] info:    at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync)
[23:38:31] info:    at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Headers.<SendAsync_ContentLengthAndTransferEncodingHeaders_IgnoreContentLength>b__20_0(LoopbackServer server, Uri uri)
[23:38:31] info:    at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options)
[23:38:31] info:    at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Headers.SendAsync_ContentLengthAndTransferEncodingHeaders_IgnoreContentLength()
[23:38:31] info: --- End of stack trace from previous location ---
[23:38:31] info: ----- Inner Stack Trace -----
[23:38:31] info:    at System.Net.Http.BrowserHttpHandler.<SendAsync>g__Impl|56_0(HttpRequestMessage request, CancellationToken cancellationToken)
[23:38:31] fail: (node:713) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.

This test was just introduced in #69016 .

cc @pedrobsaila @ManickaP @wfurt @maraf @pavelsavara

Activity

  1. added
    arch-wasm
    blocking-clean-ci
    on May 10, 2022
  2. ghost added
    untriaged
    on May 10, 2022
  3. changed the title [-][wasm] `System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Headers_Http11.SendAsync_ContentLengthAndTransferEncodingHeaders_IgnoreContentLength`[/-] [+][wasm][nodejs] `System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Headers_Http11.SendAsync_ContentLengthAndTransferEncodingHeaders_IgnoreContentLength`[/+] on May 10, 2022
  4. wfurt commented on May 10, 2022

    @wfurt
    Member

    We should probably exclude the test from browsers. cc: @pedrobsaila.

  5. ghost added
    in-pr
    on May 10, 2022
  6. maraf commented on May 10, 2022

    @maraf
    Member

    The test works on browser, we can disable it just for NodeJS.

  7. ghost removed
    untriaged
    on May 10, 2022
  8. ghost removed
    in-pr
    on May 10, 2022
  9. ghost locked as resolved and limited conversation to collaborators on Jun 10, 2022
  10. added this to the 7.0.0 milestone on Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmarea-System.Net.Httpblocking-clean-ci

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions