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

Getting a 401 unauthorized response from the API endpoint #6

Open
travismoulton opened this issue Jul 5, 2021 · 4 comments
Open

Getting a 401 unauthorized response from the API endpoint #6

travismoulton opened this issue Jul 5, 2021 · 4 comments

Comments

@travismoulton
Copy link

Hi,
I was trying to run this app locally so I can look at the react dev tools to compare it against the code and really get a feel for how everything is working. Is anyone else experiencing the same?
Thanks
Travis

@khaledosman
Copy link
Owner

can you provide more details regarding how to reproduce this issue?

Something among the lines of:

  • Steps to reproduce
  • Expected Behaviour
  • Actual Behaviour

Thanks!

@travismoulton
Copy link
Author

Thank you. I followed the steps in the README, I cloned the git repository, ran npm install, and then npm start.

The local server starts, I can see the navbar at the top. underneath I can see the component that says Your Feed / Global Feed, but underneath that just Loading...

In my console I have 3 errors
GEThttps://conduit.productionready.io/api/user
GEThttps://conduit.productionready.io/api/articles/feed?limit=10&offset=0
GEThttps://conduit.productionready.io/api/tags

All of them have a status of 401 Unauthorized and a referrer policy strict-origin-when-crossing

@khaledosman
Copy link
Owner

sounds like the backend API was temporarily down..

The demo page seem to be working fine, can you try again?

@travismoulton
Copy link
Author

Unfortunately it still won't run locally. I get the same 401 unauthorized error for the 3 requests. Demo version is working however.

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

2 participants