Coder Social home page Coder Social logo

Comments (8)

Yessir-kim avatar Yessir-kim commented on July 19, 2024 2

I have the same issue after ressetting the '/bifurcation/mint' repos, but it is working now. (go version 1.20)

I've had success with this:

  1. remove the 'github.com/bifurcation/mint' line in your go.mod (in github.com/lucas-clemente/quic-go)
  2. type the command 'go get github.com/bifurcation/mint@a6080d464fb57a9330c2124ffb62f3c233e3400e'
  3. and then 'go build'

When you just use 'go get' except for the version, I guess it always download lastest version of mint. (that doesn't have KeyLen and IvLen fields)

So, You have to specify the version to use indirect version.

from mp-quic.

qdeconinck avatar qdeconinck commented on July 19, 2024

Did you reset the mint repository to the provided commit?

$ cd ~/go/src/github.com/bifurcation/mint
$ git reset --hard a6080d464fb57a9330c2124ffb62f3c233e3400e
# Check that no more build issues arise
$ cd ~/go/src/github.com/lucas-clemente/quic-go
$ go build
# This should not produce any output

from mp-quic.

Heath68 avatar Heath68 commented on July 19, 2024

Thanks a lot, this issue got solved.

from mp-quic.

Psylence0609 avatar Psylence0609 commented on July 19, 2024

Did you reset the mint repository to the provided commit?

$ cd ~/go/src/github.com/bifurcation/mint
$ git reset --hard a6080d464fb57a9330c2124ffb62f3c233e3400e
# Check that no more build issues arise
$ cd ~/go/src/github.com/lucas-clemente/quic-go
$ go build
# This should not produce any output

I have done this but I still get the same error KeyLen and IvLen undefined

from mp-quic.

cat24max avatar cat24max commented on July 19, 2024

Did you reset the mint repository to the provided commit?

$ cd ~/go/src/github.com/bifurcation/mint
$ git reset --hard a6080d464fb57a9330c2124ffb62f3c233e3400e
# Check that no more build issues arise
$ cd ~/go/src/github.com/lucas-clemente/quic-go
$ go build
# This should not produce any output

I have done this but I still get the same error KeyLen and IvLen undefined

Yea you have to reset ALL repos that produce errors. I reset all packages to ~December 2017 and it fixed it.

from mp-quic.

elhachi avatar elhachi commented on July 19, 2024

Did you reset the mint repository to the provided commit?

$ cd ~/go/src/github.com/bifurcation/mint
$ git reset --hard a6080d464fb57a9330c2124ffb62f3c233e3400e
# Check that no more build issues arise
$ cd ~/go/src/github.com/lucas-clemente/quic-go
$ go build
# This should not produce any output

I have done this but I still get the same error KeyLen and IvLen undefined

Yea you have to reset ALL repos that produce errors. I reset all packages to ~December 2017 and it fixed it.

I'm new to golang and I got really hard time because of this error. I tried to update th golang version, reset the mint repo, use the oldest version of quic-go (I guessed that the error appears because of using different version of the mpquic (go1.9) and the quic-go (go1.17))... but nothing solved the problem... @cat24max Could you please tell me, in more details, how you fixed it ?

from mp-quic.

Prakash-Sanchela avatar Prakash-Sanchela commented on July 19, 2024

Did you reset the mint repository to the provided commit?

$ cd ~/go/src/github.com/bifurcation/mint
$ git reset --hard a6080d464fb57a9330c2124ffb62f3c233e3400e
# Check that no more build issues arise
$ cd ~/go/src/github.com/lucas-clemente/quic-go
$ go build
# This should not produce any output

I have done this but I still get the same error KeyLen and IvLen undefined

Yea you have to reset ALL repos that produce errors. I reset all packages to ~December 2017 and it fixed it.

I'm new to golang and I got really hard time because of this error. I tried to update th golang version, reset the mint repo, use the oldest version of quic-go (I guessed that the error appears because of using different version of the mpquic (go1.9) and the quic-go (go1.17))... but nothing solved the problem... @cat24max Could you please tell me, in more details, how you fixed it ?

Even after resetting the

/bifurcation/mint

repository, I am still facing the same issue.

from mp-quic.

Prakash-Sanchela avatar Prakash-Sanchela commented on July 19, 2024

I have the same issue after ressetting the '/bifurcation/mint' repos, but it is working now. (go version 1.20)

I've had success with this:

  1. remove the 'github.com/bifurcation/mint' line in your go.mod (in github.com/lucas-clemente/quic-go)
  2. type the command 'go get github.com/bifurcation/mint@a6080d464fb57a9330c2124ffb62f3c233e3400e'
  3. and then 'go build'

When you just use 'go get' except for the version, I guess it always download lastest version of mint. (that doesn't have KeyLen and IvLen fields)

So, You have to specify the version to use indirect version.

Thanks @Yessir-kim . Worked for me. That perticular module for the commit got added into $GOPATH/pkg/mod path

from mp-quic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.