n0-computer / n0-computer/iroh.computer

Unable to follow redirects to execute `sendme.ps1`

Open
#320 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
24
Forks
40
Avg merge
1d 5h
Merged PRs (30d)
4

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue from the iroh.computer homepage by running the reported PowerShell command, then compare its redirect behavior with the working GitHub Pages URL. Trace the homepage's /sendme.ps1 link and its 308 response; done means the documented command executes successfully without requiring a manual download.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, powershell
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.