Skip to content

webrequest tests fail on CentOS and RedHat on RC #5486

@JamesWTruher

Description

@JamesWTruher

RC testing observed the following failures only on CentOS 7 (Core) and RedHat 7.2 (Maipo)

   Description: Invoke-RestMethod tests

Context  : Invoke-RestMethod -SslProtocol Test
TestName : Verifies Invoke-RestMethod -SslProtocol Tls, Tls11 fails on a Tls12 only connection
Error    : Expected string length 83 but was 89. Strings differ at index 9.
           Expected: {WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand}
           But was:  {WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand}
           --------------------^

Context  : Invoke-RestMethod -SslProtocol Test
TestName : Verifies Invoke-RestMethod -SslProtocol Tls, Tls11 works on Tls
Error    : The requested security protocol is not supported.

Context  : Invoke-RestMethod -SslProtocol Test
TestName : Verifies Invoke-RestMethod -SslProtocol Tls, Tls11 works on Tls11
Error    : The requested security protocol is not supported.

Context  : Invoke-RestMethod -SslProtocol Test
TestName : Verifies Invoke-RestMethod -SslProtocol Tls, Tls12 fails on a Tls11 only connection
Error    : Expected string length 83 but was 89. Strings differ at index 9.
           Expected: {WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand}
           But was:  {WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand}
           --------------------^

Context  : Invoke-RestMethod -SslProtocol Test
TestName : Verifies Invoke-RestMethod -SslProtocol Tls, Tls12 works on Tls
Error    : The requested security protocol is not supported.

Context  : Invoke-RestMethod -SslProtocol Test
TestName : Verifies Invoke-RestMethod -SslProtocol Tls11, Tls12 fails on a Tls only connection
Error    : Expected string length 83 but was 89. Strings differ at index 9.
           Expected: {WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand}
           But was:  {WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand}
           --------------------^

Context  : Invoke-RestMethod -SslProtocol Test
TestName : Verifies Invoke-RestMethod -SslProtocol Tls11, Tls12 works on Tls11
Error    : The requested security protocol is not supported.

Context  : Invoke-RestMethod -SslProtocol Test
TestName : Verifies Invoke-RestMethod -SslProtocol Tls11, Tls12 works on Tls12
Error    : The requested security protocol is not supported.

   Description: Invoke-WebRequest tests

Context  : Invoke-WebRequest -SslProtocol Test
TestName : Verifies Invoke-WebRequest -SslProtocol -SslProtocol Tls, Tls11 fails on a Tls12 only connection
Error    : Expected string length 83 but was 89. Strings differ at index 9.
           Expected: {WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand}
           But was:  {WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand}
           --------------------^

Context  : Invoke-WebRequest -SslProtocol Test
TestName : Verifies Invoke-WebRequest -SslProtocol -SslProtocol Tls, Tls12 fails on a Tls11 only connection
Error    : Expected string length 83 but was 89. Strings differ at index 9.
           Expected: {WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand}
           But was:  {WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand}
           --------------------^

Context  : Invoke-WebRequest -SslProtocol Test
TestName : Verifies Invoke-WebRequest -SslProtocol -SslProtocol Tls11, Tls12 fails on a Tls only connection
Error    : Expected string length 83 but was 89. Strings differ at index 9.
           Expected: {WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand}
           But was:  {WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand}
           --------------------^

Context  : Invoke-WebRequest -SslProtocol Test
TestName : Verifies Invoke-WebRequest -SslProtocol Tls, Tls11 works on Tls
Error    : The requested security protocol is not supported.

Context  : Invoke-WebRequest -SslProtocol Test
TestName : Verifies Invoke-WebRequest -SslProtocol Tls, Tls11 works on Tls11
Error    : The requested security protocol is not supported.

Context  : Invoke-WebRequest -SslProtocol Test
TestName : Verifies Invoke-WebRequest -SslProtocol Tls, Tls12 works on Tls
Error    : The requested security protocol is not supported.

Context  : Invoke-WebRequest -SslProtocol Test
TestName : Verifies Invoke-WebRequest -SslProtocol Tls11, Tls12 works on Tls11
Error    : The requested security protocol is not supported.

Context  : Invoke-WebRequest -SslProtocol Test
TestName : Verifies Invoke-WebRequest -SslProtocol Tls11, Tls12 works on Tls12
Error    : The requested security protocol is not supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions