Hello Devs.
I am trying to upload a new version of my app but, at the end of the uploading process those errors appear.
Archive submission failed with erros:
- Communications error. Please use diagnostic mode to check connectivity. You need to have outbound access to TCP port 443.
- An exception has occurred: sun.security.validator.Validator.Exception: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Could not connect to Apple's web service.
I have been searching for days how to fix it but no success, found some people saying to disable the Firewall, but I don't think that would be the right way to fix it.
I already updated Java to the latest version but that made no difference. The problem really looks like to be something related to port 443, I have no experience dealing with those ports and networking.
Could anyone help me? How to get outbound access to TCP port 443? Does anyone have experienced the same problem and fixed it somehow?
Would very much appreciate any help.
FIXED!
Finally after days of hair pulling, Java updates, modem firmware update, firewall deactivations, and hundreds of web searches, the problem was the thing that protect us, the antivirus.
The antivirus was blocking the port 443 for unknown reason, after disabling the antivirus the app upload worked like a charm. What a silly bug! 😝
During the searches I found some troubleshooting solutions for similar bugs that I think would be nice to share, because the antivirus was also interfering with iTunes Store connections. See it below:
https://support.apple.com/en-us/HT201413 and https://support.apple.com/en-is/HT203361.
Hope it helps, good luck. 😉