Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: runs against local helia #6

Closed

Conversation

SgtPooki
Copy link

@SgtPooki SgtPooki commented Oct 29, 2023

Things I've noted during local runs:

  1. healthcheck was failing locally due to no / on helia-http-gateway (fixed on latest)
  2. go-ipfs-api requests to helia-http-gateway via t.ipfs.Version don't work for some reason..
    • Needs investigation.. should just be HTTP request, but it isn't. This PR works (change .Version to raw http request fixes version check
  3. http request to http://localhost:8888/ipns/filecoin.io fails with error:
    • error="error value: &rod.ErrNavigation{Reason:\"net::ERR_CONNECTION_REFUSED\"}\ngoroutine 61 [running]:\nruntime/debug.Stack()\n\t/Users/sgtpooki/.asdf/installs/golang/1.21.3/go/src/runtime/debug/stack.go:24 +0x64\ngithub.com/go-rod/rod.Try.func1()\n\t/Users/sgtpooki/.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/go-rod/rod@v0.112.6/utils.go:213 +0x3c\npanic({0x102f6c000?, 0x14000590c80?})\n\t/Users/sgtpooki/.asdf/installs/golang/1.21.3/go/src/runtime/panic.go:914 +0x218\nmain.(*probe).mustNavigate(0x140001e5680)\n\t/Users/sgtpooki/code/work/protocol.ai/plprobelab/tiros/probe.go:235 +0x634\nmain.(*probe).run.func1()\n\t/Users/sgtpooki/code/work/protocol.ai/plprobelab/tiros/probe.go:156 +0x2c\ngithub.com/go-rod/rod.Try(0x140001e5680?)\n\t/Users/sgtpooki/.asdf/installs/golang/1.21.3/packages/pkg/mod/github.com/go-rod/rod@v0.112.6/utils.go:217 +0x58\nmain.(*probe).run(0x140001e5680)\n\t/Users/sgtpooki/code/work/protocol.ai/plprobelab/tiros/probe.go:154 +0x80\nmain.(*tiros).measureWebsites(0x14000514360, 0x1400041c280, {0x140001c8690, 0x1, 0x1?}, 0x14000043500)\n\t/Users/sgtpooki/code/work/protocol.ai/plprobelab/tiros/probe.go:49 +0x2b0\ncreated by main.RunAction in goroutine 1\n\t/Users/sgtpooki/code/work/protocol.ai/plprobelab/tiros/cmd_run.go:219 +0x830\n" url="http://localhost:8888/ipns/filecoin.io"

@SgtPooki
Copy link
Author

replaced by #12

@SgtPooki SgtPooki closed this Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant