Skip to content

invalid version: unknown revision - 404error #231

@89ao

Description

@89ao

When downloading the version nhooyr.io/websocket@v1.8.7 via goproxy.io, an error 404 occurred indicating the package could not be found. This issue persists even when using github.com/coder/websocket@v1.8.7.

export GOPROXY=https://goproxy.io
go install -x nhooyr.io/websocket@v1.8.7

root@b12a4602b4da:~# go install -x nhooyr.io/websocket@v1.8.7
# get https://goproxy.io/nhooyr.io/@v/v1.8.7.info
# get https://goproxy.io/nhooyr.io/websocket/@v/v1.8.7.info
# get https://goproxy.io/nhooyr.io/@v/v1.8.7.info: 404 Not Found (0.091s)
# get https://goproxy.io/nhooyr.io/websocket/@v/v1.8.7.info: 404 Not Found (1.193s)
go: nhooyr.io/websocket@v1.8.7: nhooyr.io/websocket@v1.8.7: reading https://goproxy.io/nhooyr.io/websocket/@v/v1.8.7.info: 404 Not Found
	server response: not found: nhooyr.io/websocket@v1.8.7: invalid version: unknown revision v1.8.7
root@b12a4602b4da:~# go get nhooyr.io/websocket@v1.8.7
go: nhooyr.io/websocket@v1.8.7: reading https://goproxy.io/nhooyr.io/websocket/@v/v1.8.7.info: 404 Not Found
	server response: not found: nhooyr.io/websocket@v1.8.7: invalid version: unknown revision v1.8.7

go install -x github.com/coder/websocket@v1.8.7

# go install -x github.com/coder/websocket@v1.8.7
go: github.com/coder/websocket@v1.8.7: version constraints conflict:
	github.com/coder/websocket@v1.8.7: parsing go.mod:
	module declares its path as: nhooyr.io/websocket
	        but was required as: github.com/coder/websocket

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions