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

Error occoured. Error: Request failed with status code 401 #24

Closed
biju-ps opened this issue Feb 5, 2021 · 9 comments
Closed

Error occoured. Error: Request failed with status code 401 #24

biju-ps opened this issue Feb 5, 2021 · 9 comments

Comments

@biju-ps
Copy link

biju-ps commented Feb 5, 2021

I have configured as follows but returning Error occoured. Error: Request failed with status code 401
Please show us a sample config screen
image

@camelator
Copy link

same issue here

@IJustDev
Copy link
Owner

IJustDev commented Feb 22, 2021

The instance url does not contain the D... (the owner of the repository) nor the ....core.git (the repository name itself). Furthermore the check the baseurlfrom stack overflow

If you've got UI/UX improvements feel free to open them in a separate issue!

@biju-ps
Copy link
Author

biju-ps commented Feb 22, 2021

Thanks for the reply.. But your reply not helped me much.
My gitea is installed in a local network .
Please share us a sample config screen .

@IJustDev
Copy link
Owner

Gitea BaseURL: /
Gitea Instance URL: http://localhost:3000
Gitea Owner: IJustDev
Gitea Repo: Gitea-VSCode

@biju-ps
Copy link
Author

biju-ps commented Feb 22, 2021

Now 404
image

Browser
image

@biju-ps
Copy link
Author

biju-ps commented Feb 22, 2021

I just inspected the traffic using fiddler
it shows
image

The additional / in the url is creating the issue.

Just removed the additional / from the url and tried from API tester tool
image

@biju-ps
Copy link
Author

biju-ps commented Mar 2, 2021

@IJustDev Any update please ?

@lonix1
Copy link

lonix1 commented Mar 5, 2021

This is same as my issue #25
I think it's the same underlying problem, it doesn't work properly on localhost

@IJustDev
Copy link
Owner

Hey thanks for everybody asking for an update and contributing to this project. This seems like a bug I've made with the most recent version.

Possible workaround Downgrade to 1.2.0 or 1.0.1.

I will try to see what I can do tomorrow

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

4 participants