Error details: error sending request for url (): error trying to connect: operation timed out
This issue occurred after I update from 2.1.20 to 2.1.22.
During media sync:
Tue Jun 2 00:00:47 2020: Media sync starting...
Tue Jun 2 00:01:17 2020: Connection timed out. Please try again on a different network.
Error details: error sending request for url (): error trying to connect: operation timed out
This is pretty weird cause all the text has been successfully synced but the pictures.
My android phone could receive all the content except the pictures.
Comments are closed, but you can start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by addons_zz on 01 Jun, 2020 04:33 PM
Can you try to update to the latest Anki version from https://apps.ankiweb.net/ and then use
Tools > Check Database
and run sync again?2 Posted by Dan on 02 Jun, 2020 02:43 AM
Updated to 2.1.26 and checked the database and checked media. The issue persists.
I tried to install 2.1.20/22 again but failed to load the collection file. Does this relate to the issue?
3 Posted by Dan on 02 Jun, 2020 02:52 AM
I just check my laptop (win7 x64) with Anki 2.1.25. Same issue happens, which didn't appear about a month ago.
I tried both cable network and 4G network, same issues.
4 Posted by addons_zz on 02 Jun, 2020 03:00 AM
Please see When problems occur
Did you downgrade your Anki version? Please read the warning at https://changes.ankiweb.net/#/
5 Posted by Dan on 02 Jun, 2020 03:04 AM
I've find similar post here
https://anki.tenderapp.com/discussions/ankidesktop/42046-network-error
The issue persists and I believe it is not related to addons.
Support Staff 6 Posted by Damien Elmes on 02 Jun, 2020 10:16 AM
Dan: 'operation timed out' means Anki can't connect to AnkiWeb. The most likely cause is antivirus or firewall software on your machine blocking Anki, or a work/school environment that requires a proxy.
7 Posted by Dan on 02 Jun, 2020 12:49 PM
Damien: The issue could be fixed by downgrading anki 2.1.26 to 2.1.20
On anki 2.1.20 both text and media could be sync on the small messagebox.
On anki 2.1.22/25/26 text sync on small messagebox and media are synced on "Media Sync Log" messagebox, where the issue happens.
On anki 2.1.20 text and media are synced successfully.
On anki 2.1.22/25/26 Text are synced successfully. Media couldn't be synced. (Though Media was synced successfully once or twice, in most condition, there are error of "operation timed out")
PS: I just register another account and could be synced for once and failed to sync later....
Support Staff 8 Posted by Damien Elmes on 03 Jun, 2020 10:15 AM
The media syncing uses different network libraries - perhaps you need to specify a proxy/VPN manually: https://docs.ankiweb.net/#/syncing?id=proxies
9 Posted by Dan on 03 Jun, 2020 11:31 AM
FIXED !
I add an environment variable
name: HTTPS_PROXY
value: http://@127.0.0.1:10809
(I figured out the name and password is not needed, don't know why)
I use proxy app cause I live in China and could not sync without proxy. (HTTP [email blocked].0.1:10809)
Here are what I find:
①In version 2.1.20 + Internet LAN proxy is set + no environment variables → Proxy app successfully caught the request and sync successfully
2020/06/03 19:14:08 tcp:127.0.0.1:56498 accepted tcp:sync2.ankiweb.net:443 [proxy]
②In version 2.1.22 or above + Internet LAN proxy is set + no environment variables → Proxy app caught only 1 request and could only sync text. no media syncs
③In version 2.1.22 or above + Internet LAN proxy is set or closed + environment variables is set → Proxy app caught 2 requests and could sync both text and media
APP:
2020/06/03 19:16:58 tcp:127.0.0.1:56661 accepted tcp:sync2.ankiweb.net:443 [proxy]
2020/06/03 19:17:00 tcp:127.0.0.1:56664 accepted tcp:sync2.ankiweb.net:443 [proxy]
ANKI:
Wed Jun 3 19:17:00 2020: Media sync starting...
Wed Jun 3 19:17:01 2020: Added: 0↑ 0↓, Removed: 0↑ 0↓, Checked: 0
Wed Jun 3 19:17:01 2020: Media sync complete.
One more question: will environment variables affect my other desktop apps? will they also be automatically proxied?
Thanks for your patience.
BTW:
I can't open the link in the manual:
https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sysdm_advancd_environmnt_addchange_variable.mspx?mfr=true
It says:
Access Denied
You don't have permission to access "http://mscom.errorpage.failover.com/403/403.htm?" on this server.
Support Staff 10 Posted by Damien Elmes on 04 Jun, 2020 10:41 AM
Thanks Dan, I'll update the link.