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

Bump nhooyr.io/websocket #1182

Open
alexpyc opened this issue Aug 13, 2024 · 2 comments
Open

Bump nhooyr.io/websocket #1182

alexpyc opened this issue Aug 13, 2024 · 2 comments

Comments

@alexpyc
Copy link

alexpyc commented Aug 13, 2024

Versions of relevant software used

0.15.0

What happened

The captioned module removed releases of v1.8.6 from GitHub: https://github.com/nhooyr/websocket-old/tags

What you expected to happen

Successful go mod vendor

How to reproduce it (as minimally and precisely as possible):

go mod vendor in a project that imports this repository (grpcweb)

Full logs to relevant components

go: downloading nhooyr.io/websocket v1.8.6
go: github.com/improbable-eng/[email protected] requires
	nhooyr.io/[email protected]: reading nhooyr.io/websocket/go.mod at revision v1.8.6: unknown revision v1.8.6

Anything else we need to know

@farisekananda
Copy link

farisekananda commented Aug 14, 2024

not using grpc-web, but also have the same error. You need to replace nhooyr.io/websocket with github.com/coder/websocket as the old project has been deprecated and moved to Coder (ref: https://coder.com/blog/websocket)
sample replace:

replace nhooyr.io/websocket => github.com/coder/websocket v1.8.7

@iamwhil
Copy link

iamwhil commented Aug 26, 2024

Oh, hello there. Arriving from a botched go build with alpaca 1.9.0 as a dependency.
farisekananda's solution works.

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

No branches or pull requests

3 participants