Git Product home page Git Product logo

Comments (3)

ncw avatar ncw commented on July 28, 2024

Thanks for reporting this.

I would say it is a bug!

I see you are using

err := conn.ApplyEnvironment()

I could see how this could happen if you have a storage URL and an auth token in there?

Is that the case?

I can see several mistakes in the auth code now I look at it! I think that bit of code was amongst my first bits of Go code written in 2014 2fd9fd3

The problem is that the mutex went from an inline one to a pointer. This is so that the Connection can be copied without problems fb21762 however not all the places it is used got updated to initialise it.

from swift.

EtienneM avatar EtienneM commented on July 28, 2024

I could see how this could happen if you have a storage URL and an auth token in there?

Here is the list of environment variables:

OS_USERNAME
OS_PASSWORD
OS_REGION_NAME
OS_AUTH_URL
OS_IDENTITY_API_VERSION=3
OS_USER_DOMAIN_NAME
OS_PROJECT_DOMAIN_NAME
OS_PROJECT_ID
OS_PROJECT_NAME

from swift.

ncw avatar ncw commented on July 28, 2024

Can you have a go with the fix-160-auth-panic branch? I think this will fix it.

I decided I needed to revert #154 which is the underlying cause of the problem.

from swift.

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.