Skip to content

Unable to follow redirects to execute sendme.ps1 #320

Description

@neuralpain

I'm receiving the below error when I run the following command (#309).

iwr https://iroh.computer/sendme.ps1 -useb | iex

The command was copied directly from the iroh.computer homepage and pasted in the terminal. This was tested on two individual machines in different countries just to be sure.

iwr : The remote server returned an error: (308) Permanent Redirect.
At line:1 char:1
+ iwr https://iroh.computer/sendme.ps1 -useb | iex
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

I downloaded the script and tested it on my GitHub Pages site and it works without any issues.

iwr https://neuralpain.github.io/test/sendme/sendme.ps1 -useb | iex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions