Giter Site home page Giter Site logo

Error 401 with Hubic about svfs HOT 9 CLOSED

ovh avatar ovh commented on July 17, 2024
Error 401 with Hubic

from svfs.

Comments (9)

xlucas avatar xlucas commented on July 17, 2024

Hello,

When does this occur ? Right after trying to mount an svfs device or after some time ?

from svfs.

remyj38 avatar remyj38 commented on July 17, 2024

Just after running the command

from svfs.

xlucas avatar xlucas commented on July 17, 2024

Oh, I just get it. You are not using the right options.

Options hubic_auth and hubic_token are used once you registered an application in your hubic account (see the docs).

On the other side, what you did is : you fetched a swift token and storage url from the hubic API, so options you are looking for are token and storage_url as described in the README.

from svfs.

remyj38 avatar remyj38 commented on July 17, 2024

OK, it works. Thanks and sorry for the mistakes.

from svfs.

xlucas avatar xlucas commented on July 17, 2024

No problem, you're welcome.

from svfs.

widowild1 avatar widowild1 commented on July 17, 2024

i add a "application HubiC" and launch hubic-application
`$ hubic-application
Did you registered an application under your hubic account ? (y/N) y
~> Application redirect URL: http://localhost/
~> Application client_id: api_hubic_Fy[...]
~> Application client_secret:

  1. Setting scope ... OK
    ~> Email: g9[...]@free.fr
    ~> Password:
  2. Granting access ... OK
  3. Getting refresh token ... OK

== Your mount options ==
~> hubic_auth=YXBpX[...]
~> hubic_token=3LFE[...]`

$ sudo mount -t svfs -o hubic_auth=hubic_auth=YXBpX[...],hubic_token=3LFE[...],container=default hubic /home/wido/hubic/
wido ~ $ 2016/04/24 11:19:47 Invalid reply from server when fetching hubic API token : 401
$ ls -al /home/wido/hubic ls: impossible d'accéder à '/home/wido/hubic': Noeud final de transport n'est pas connecté
any idea?

from svfs.

xlucas avatar xlucas commented on July 17, 2024

Make sure your authentication options are correct. Here your are using hubic_auth=hubic_auth=... which is wrong.

from svfs.

widowild1 avatar widowild1 commented on July 17, 2024

lol tired...

from svfs.

xlucas avatar xlucas commented on July 17, 2024

:)

from svfs.

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.