Nothing Special   »   [go: up one dir, main page]

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

Can't send cards to Anki #137

Closed
Orlinky opened this issue Sep 10, 2024 · 6 comments
Closed

Can't send cards to Anki #137

Orlinky opened this issue Sep 10, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@Orlinky
Copy link
Orlinky commented Sep 10, 2024

Hello,

Since 4-5 days ago I can't seem to be able to create new cards(or update old ones) using the extension, I always get this error:

Deck not sent: request to http://127.0.0.1:8765/ failed, reason: read ECONNRESET

I think this started happening since I updated to the latest VS Code version(1.93) but I am not too sure.

Am I the only one having this issue?

@Orlinky
Copy link
Author
Orlinky commented Sep 10, 2024

Yeah, when I downgraded to VS Code 1.92.2, everything seems to be working again, but this is not a long term solution.

@ccvormann
Copy link
ccvormann commented Sep 16, 2024

Same here. Except, the reason is "socket hang up". When I invoke localhost:8765 in my browser, I get the expected response, so Anki-connect seems to work properly. Running VSCode 1.93.1, did not yet try to downgrade

@jasonwilliams
Copy link
Owner

Thanks for raising, I have no idea what is failing here, as the extension hasn't changed in a while this will be coming from VS Code itself, I have raised an issue here.

@jasonwilliams
Copy link
Owner
jasonwilliams commented Sep 17, 2024

Ok so I've published a new release which targets 1.93+ (sorry you'll need the latest version of vs code to use it).
If people can try it out and let me know that would be great. This fix removes node-fetch and uses Electron's built-in fetch instead.

@Orlinky
Copy link
Author
Orlinky commented Sep 18, 2024

Just tried the fix and it works on my side with the latest VS Code(1.93.1).

Thank you!

@ccvormann
Copy link

I can also confirm that the fix was successful. Works fine for me now. Thanks a lot!

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