Announcement Banner
UNSOLVED

bilkinger

updated

5 years ago

B

bilkinger

2 Posts

0

2967

July 5th, 2021 13:00

API error "Authorization required"

Setup a lab using the simulator for onefs 9.2.0.0. Created a user and gave it the roles Platform API Read Only and Quota Read/Write. 

And in order to test it I just wanted to get a test quota so I ran. 

curl -k --user username:password -X GET https://192.168.x.x:8080/platform/quota/quotas. 

And then receive error message "Authorization required". This works in production fine. Won't work on the lab.

 

 

  • bilkinger

    2 Posts

    2378

    0

    Posted July 6th, 2021 13:00

    I saw that article and actually didn't think it would apply in this case since running something like what I stated above just works.

    I'll look at this tonight. I appreciate the response

  • Phil.Lam

    4 Apprentice

    •

    642 Posts

    •

    15 Points

    2347

    0

    Posted July 9th, 2021 14:00

    @bilkinger 

    What OneFS is production cluser?

  • vamsyreddy

    1 Message

    1552

    0

    Posted April 28th, 2022 13:00

    I exactly have the same issue. Did you ever figure this out? 

  • DELL-Josh Cr

    Community Manager

    •

    9734 Posts

    •

    44224 Points

    1550

    1

    Posted April 28th, 2022 13:00

    Hi,

    Thanks for your question about the OneFS API error. Try the command “isi_gconfig -t web-config auth_basic=true” This document may also have something that will help. https://dell.to/3y4QrYf

    Let us know if you have any additional questions.

  • Phil.Lam

    4 Apprentice

    •

    642 Posts

    •

    15 Points

    1384

    0

    Posted May 10th, 2022 14:00

    @vamsyreddy, 

    Make sure you use IPs in System zone.