Comments (15)
Hi,
I'be just created the v1.4.4
version to fix the error, without retract v1.4.3
due to the retract directive is not compatible with Go 1.15.
Thanks and sorry! 😉
from websocket.
The following worked for me:
# 1. Clean cache
go clean -modcache
# 2. Check that you don't have conflicting versions (github.com/gofiber/fiber/v2 and github.com/gofiber/fiber) in your go mod
# 3. Tidy
go mod tidy
from websocket.
@alexg-axis I tried above and didn't help when tried to do go get -u github.com/fasthttp/websocket
from websocket.
I got the issue again and this time I tried another solution.
- Remove all indirect dependencies
- Remove
go.sum
(be aware of the potential issues this could lead to) - Manually add your dependencies, my example pasted below
- Run
go mod tidy
- don't rungo get -u
require (
// ...
github.com/fasthttp/websocket v1.4.3-rc.9
github.com/gofiber/fiber/v2 v2.19.0
github.com/valyala/fasthttp v1.30.0
)
See: gofiber/websocket#66.
from websocket.
@alexg-axis The problem is with go get -u
on the package. Because manually upgrade each dependencies are is not a solution as there will be more dependencies.
from websocket.
I understand. It's not a solution, rather a workaround.
from websocket.
@savsgio Any idea for fixing this issue?
from websocket.
Hi all,
The version v1.4.3
is wrong version, because when i created the first beta version of v1.4.3
i made the mistake when i wrote the tag version. I will try to contact with go.dev staff to remove the v1.4.3
version.
So, now the last correct version is v1.4.3-rc.9
.
Thanks and sorry!
from websocket.
@savsgio Still the issue is not fixed.
I think maybe just for the sake to fix the issue, Create a different release tag v1.4.4-rc.1 on new commit?
from websocket.
still
go get -u all
go get all: module github.com/savsgio/gotils@upgrade found (v0.0.0-20210921075833-21a6215cb0e4), but does not contain package github.com/savsgio/gotils
from websocket.
Getting same error.
from websocket.
Getting same error.
from websocket.
@savsgio give me write permission so I can change the version number
from websocket.
Hi everyone,
I created an issue (golang/go#50129) to remove the invalid v1.4.3
version.
Thanks for your patience!
from websocket.
@savsgio Maybe just create another version 1.4.4 to fix the error
from websocket.
Related Issues (20)
- panic: repeated read on failed websocket connection HOT 1
- Re-uploading v1.4.2 has introduced checksum mismatch HOT 1
- Beta releases HOT 3
- Type mismatch if using Fiber v2 HOT 1
- IsWebsocketUpgrade returning false HOT 3
- Replace flate with the flate pool from fasthttp HOT 2
- Case caused FastHTTPIsWebSocketUpgrade prediction false.
- panic: concurrent write to websocket connection HOT 5
- panic nil: websocket.(*Conn).beginMessage HOT 5
- Since gorilla projects are archived, how would it impact this project ? HOT 2
- Migrate from deprected `ioutil` to `io`
- Please return different error when server responds with non-101 status code HOT 1
- Is there any plan to support websocket client of fasthttp? HOT 5
- writing on closed connection without getting error !
- multiple user connection on the same goroutine?
- multiple user connection on the same goroutine?
- Library required case-sensitive "Upgrade" header HOT 1
- is it possible to obtain the file descriptor from fiber websocket?
- [Question]: Am I need to use keepalive as a ping?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websocket.