Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Span API protected? #7

Open
jeffkibuule opened this issue Oct 21, 2022 · 3 comments
Open

Span API protected? #7

jeffkibuule opened this issue Oct 21, 2022 · 3 comments

Comments

@jeffkibuule
Copy link
Contributor

jeffkibuule commented Oct 21, 2022

Is anyone seeing denied access to the SPAN API? I'm running spanos2/r202240/06 and am not getting any data as of a day ago. Instead when I try to access /api/v1/circuits/, I get the following back:

{"detail":"Access to protected HTTP endpoints require an API token passed as a HTTP Bearer header."}

@s0schen
Copy link

s0schen commented Nov 15, 2022

I was just updated to spanos2/r202240/06.1 I notice the webpage access is now password protected with a password I don't have. The webpage allows you to hit the door button 3 times to disable the password and to log in. After log in everything looks the same.

wez added a commit to wez/span-hacs that referenced this issue Dec 10, 2022
We error out due to the problem in
galak#7,
but then fail to re-raise as the right exception type.
@wez
Copy link
Contributor

wez commented Dec 10, 2022

Yeah, I'm seeing this error as well. I've reached out to span to see if they'll share info on how to authenticate this.
I also just pushed a fix for a missing exception import so that the integration handles this issue slightly better.

@wez
Copy link
Contributor

wez commented Dec 10, 2022

I stumbled across this gist which has some API related info, including stuff about auth:
https://gist.github.com/hyun007/c689fbed10424b558f140c54851659e3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants