Evalai: 403 Forbidden response from Github API

Created on 18 Nov 2017  路  6Comments  路  Source: Cloud-CV/EvalAI

See the screenshot below for more details about the error:

screen shot 2017-11-18 at 6 16 41 am

bug critical easy_to_fix medium-difficulty priority-high

Most helpful comment

@Obtin: I just thought about a new way of doing this. Can you integrate the https://buttons.github.io/ for showing the fork and star button? It will help us to remove the dependency of Github API and just use this service.

All 6 comments

Hi, to fix these we need an authentication token from github, so i'd request the team leaders to create a client id with a secret and then we can request the api url which will look like:
https://api.github.com/users/whatever?client_id=xxxx&client_secret=yyyy

Thanks @DakshMiglani for the suggestion.
@deshraj, @RishabhJain2018 any action on this?

Hi @DakshMiglani, thanks for the suggestion. We would like to leave it as it is for now. We cannot expose the client_id and client_secret since we are requesting from the client side. We would love to have suggestions from the contributors for various workarounds for this problem.

@deshraj Currently unauthorized users (user is determined by his IP) can make up to 60 requests per hour so for normal usage this won't be a problem.
Another option is to create a view in backend to access the API with the token. The limit would be 5000 per hour but for all users. We would need to limit the refresh-rate of these stats then.

@Obtin please feel free to take this issue. :)

@Obtin: I just thought about a new way of doing this. Can you integrate the https://buttons.github.io/ for showing the fork and star button? It will help us to remove the dependency of Github API and just use this service.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Arun-Jain picture Arun-Jain  路  6Comments

mrinalwahal picture mrinalwahal  路  4Comments

vivektalwar13071999 picture vivektalwar13071999  路  3Comments

w3x10e8 picture w3x10e8  路  4Comments

aka-jain picture aka-jain  路  5Comments