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: Request failed with status code 404 #6

Open
MehdiAria opened this issue Mar 18, 2022 · 2 comments
Open

Error: Request failed with status code 404 #6

MehdiAria opened this issue Mar 18, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@MehdiAria
Copy link

Describe the bug
A clear and concise description of what the bug is.

Versions (please complete the following information):

  • autoDocstring Version: 0.1.3
  • Operating System: Windows 10
  • Vscode Version: 1.65.2

Original Code (with line to generate on):

class IndexView(generic.ListView):
    model = Category
    queryset = Category.objects.filter()
    template_name = 'landing/index.html'

Actual Result:

Error: Request failed with status code 404

Additional context
Upon using ai-docstring on my Django project I was getting the error Error: connect ECONNREFUSED 127.0.0.1:5000. I tried changing ai-docstring: sever endpoint to 127.0.0.1:8000.
Now I get the error 'Error: Request failed with status code 404'. Also, it seems like after using the extension, it sends a post request to the 'summery' URL which cannot be found on my running Django localserver:
'POST /summary HTTP/1.1" 404 2712'

@MehdiAria MehdiAria added the bug Something isn't working label Mar 18, 2022
@Tyler-Rendina
Copy link

That would be expected behavior, see #5

@devmnob
Copy link

devmnob commented Sep 19, 2023

Changing to 127.0.0.1:8000 gives me the same issue (Error: connect ECONNREFUSED 127.0.0.1:8000) on VS Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants