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

401 while requesting for /v0/item for comments #6

Closed
wants to merge 1 commit into from
Closed

401 while requesting for /v0/item for comments #6

wants to merge 1 commit into from

Conversation

hidroh
Copy link

@hidroh hidroh commented Jan 25, 2016

Hi please ignore the changes in this PR, I just use it as a way to log issue since the repo does not support issues.

It looks like a lot of comment items returns 401 while being requested, and I have received multiple reports from my client's users.

E.g.:
Story returns 200: https://hacker-news.firebaseio.com/v0/item/10963401.json
Comment under this story returns 401: https://hacker-news.firebaseio.com/v0/item/10963624.json

{
    "error": "Permission denied"
}

A sample curl:

$ curl --verbose https://hacker-news.firebaseio.com/v0/item/10963624.json
*   Trying 104.197.145.189...
* Connected to hacker-news.firebaseio.com (104.197.145.189) port 443 (#0)
* TLS 1.2 connection using TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.firebaseio.com
* Server certificate: Google Internet Authority G2
* Server certificate: GeoTrust Global CA
> GET /v0/item/10963624.json HTTP/1.1
> Host: hacker-news.firebaseio.com
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 36
< Content-Type: application/json; charset=utf-8
< Cache-Control: no-cache
< Strict-Transport-Security: max-age=31556926; includeSubDomains; preload
<
{
  "error" : "Permission denied"
}

This was referenced Jan 25, 2016
@hidroh
Copy link
Author

hidroh commented Jan 25, 2016

Seems to be resolved now.

@hidroh hidroh closed this Jan 25, 2016
@cheeaun
Copy link

cheeaun commented Jan 25, 2016

Just a note that I got this error too few hours ago. Wondering if this is a bug on Firebase side?

@hidroh
Copy link
Author

hidroh commented Jan 25, 2016

According to my email conversation with a member of HN API team it was their mistake and they have resolved it now.

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

Successfully merging this pull request may close these issues.

2 participants