Hello, just thought to give it a go here as well, and ask for help and some brainstorming on the subject matter, as i`ve been in Contact with Anet`s support team for the past week (and we couldn`t really come to a solution, with well my limited knowledge and experience in this technical area of expertise)
Did you manage to solve the problem you mentioned about your connection error codes by chance and how? i tried putting ports 80|443|6112 in firewall outbound and inbound rules, did port forwarding for all of them as well, shut down firewall and windows defender, rebooted PC and Modem (i`m connected with ethernet cable directly to ISP`s modem), even gone as far as reseting modem to its factory settings after port forwarding just didn`t seem to work out... ISP also assured me they aren`t blocking anything, Anet is fairly certain that it is not something on their end, running game with VPN hasn`t helped either and of course i also did run a Gw2 repair on multiple occasions throughout the before mentioned shenanigans... in the end i even wiped, and i mean wiped clean with windows option that even cleans your drives and did a fresh windows installation in case i had some corrupt files/malware/something backlogging me. I mean i believe i did pretty much everything my limited knowledge on such subjects allows me to.
So once again i am just curious whether you managed to solve it, and if so, how. Or did it just resolve on its own. because i`ve read probably all of the forum threads pertaining this matter in the past week, and i`ve exhausted pretty much all of my options (have also been in contact with Anet support throughout the whole past week and we couldn`t find a solution)
I also didn`t change anything when the launcher error Code: 58:11:5:535 and Error Code=5:11:3:164:101 started happening... On Tuesday last week (before patch) error Code=5:11:3:164:101 popped up, kicked me out of personal asuran story instance, and i`ve been unable to log in for 7 days now (or just got to log in after couple of error code58:11:5:535 launcher errors, only to get kicked out pretty much every time when i map swapped).
Though if i got in (say Silverwastes for example) i had no issues whatsoever playing the game as smoothly as if none of it ever happened.
If it also helps, say Overwatch, Guildwars (1) and Apex Legends (through Steam) work just fine, and haven`t had any connection issues while playing them