bug:
package golang.org/x/net/websocket: unrecognized import path “golang.org/x/net/websocket”: https fetch: Get “https://golang.org/x/net/websocket?go-get=1”: dial tcp 216.239.37.1:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Causes.
When you need to use the corresponding package, the automatic download error
Solution.
File->Settings->Go->Go Modules
Check Start Go Module Integration and enter GOPROXY=https://goproxy.io, apply it, then go to download again.
Read More:
- [Solved] OpenGL PowerVR SDK Compiling Error: Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
- Golang Error: go get github/xxx [How to Fix]
- [Solved] Eslint error: /xxx/components/xxx import should occur after import of /xxx/utils/xxx
- [Solved] Rocketmq console connect to x.x.x.x:10911 failed Error
- [GO] The entry file under the main package in golang calls other go file functions and appears undefined
- [Solved] Golang Error: main.go:5:2: package go_code/chapter10/factory/model is not in GOROOT
- [Solved] Compile the program error: undefined reference to `cv::dnn::dnn4_v20210301::Net::~Net()‘
- [Solved] net core HTTP Error 500.31 – Failed to load ASP.NET Core runtime HTTP Error 500.30 – ASP.NET Core
- [Solved] hello.s:15 Error: junk at end of line, first unrecognized character valued 0x8
- [Solved] Leetcode Error: AddressSanitizer: SEGV on unknown address 0x55eb765425b8 (pc 0x55eb76542b86 bp 0x7ffd1bd2
- How to Solve golang test Error: # command-line-arguments [command-line-arguments.test]
- Maven package error: [WARNING] The POM for xxx is missing, no dependency inform
- [Solved] Could not resolve placeholder ‘XXX‘ in value “${XXX}“
- [Solved] Android Develop Error: xxx does not have a NavController set on xxx
- [Solved] validateRenderPassDescriptor:xxx: failed assertion XXX
- [Solved] Asp.Net Core IIS Error: HTTP Error 500.30 – ASP.NET Core app failed to start
- How to Solve hadoop3.x.x sh start-dfs.sh Startup Error
- [Solved] “Field pet in XXX.HelloController required a bean of type ‘XXX.Pet‘ that could not be found.“
- QT Error: ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe‘ failed
- [Go] Solve panic: runtime error: invalid memory address or nil pointer dereference in golang