Skip to content

Invoke-WebRequest throw TypeInitializationException On Linux #2801

Closed

Description

@fcharlie

Steps to reproduce

Open powershell on linux terminal, run:

$response=Invoke-WebRequest -Method Get -Uri "http://github-windows.s3.amazonaws.com/GitHub.application" 

Expected behavior

Invoke-WebRequest should success.

Actual behavior

2016-11-29 15-57-34

Environment data

> $PSVersionTable
Name                           Value                                                                                   
----                           -----                                                                                   
PSVersion                      6.0.0-alpha                                                                             
PSEdition                      Core                                                                                    
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
BuildVersion                   3.0.0.0                                                                                 
GitCommitId                    v6.0.0-alpha.13                                                                         
CLRVersion                                                                                                             
WSManStackVersion              3.0                                                                                     
PSRemotingProtocolVersion      2.3                                                                                     
SerializationVersion           1.1.0.1

Activity

  1. added this to the milestone on Nov 29, 2016
  2. SteveL-MSFT commented on Mar 15, 2017

    @SteveL-MSFT
    Member

    This isn't repro'ing for me on alpha.17

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions