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: AxiosError: Request failed with status code 400 #59

Open
hardiklakhalani opened this issue Feb 13, 2024 · 2 comments
Open

Error: AxiosError: Request failed with status code 400 #59

hardiklakhalani opened this issue Feb 13, 2024 · 2 comments

Comments

@hardiklakhalani
Copy link

hardiklakhalani commented Feb 13, 2024

I have the following configuration data:

settings.json

image

  • Tried http & https both.

Gitea Accessible from Browser

image

Error on clicking refresh

image

In Past, Gitea CLI write/read got accessible after this command when I first time started using Gitea.

git config --global http.sslVerify false

@hardiklakhalani
Copy link
Author

I later found that it's happening with axios, got & fetch. But https is not having this ssl issue. Because https package is not asking for http or https prefix. Instead it asks for host & port separately, by that https handles this tls or ssl regarding issue by itself

@hardiklakhalani
Copy link
Author

#62

Finally, I added this but CodeClimate is preventing further. I tried separating the method to keep it under 20, but still CodeClimate did not like it, so I'm being forced to publish my version of the extension instead of contributing to this one.
If anyone can help me here that'd be great!

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

1 participant