[NETWORK ERROR] SSL handshake failed: Unable to establish a secure connection to api.filebot.net at this time.

Any questions? Need some help?
Post Reply
Chrystle
Posts: 3
Joined: 17 Aug 2021, 19:43

[NETWORK ERROR] SSL handshake failed: Unable to establish a secure connection to api.filebot.net at this time.

Post by Chrystle »

i have 2 macs and neither are working.
i have a fedora machine and a windows 11 machine and they are both working.
i've tried different dns servers, different wifi including my phone hotspot and i can't get the mac computers to work.
just a spinning wheel and then it stops with nothing matched.

both mac shows for system information the single line:

Image

the error log is:

Image
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[NETWORK ERROR] SSL handshake failed: Unable to establish a secure connection to api.filebot.net at this time.

Post by rednoah »

This error message means that the FileBot process wasn't able to establish a HTTPS connection:

Code: Select all

SSL handshake failed: Unable to establish a secure connection to api.filebot.net at this time. Please check your network configuration.

Code: Select all

SSLHandshakeException: ValidatorException: PKIX path building failed: SunCertPathBuilderException: unable to find valid certification path to requested target
Unfortunately, FileBot doesn't know the underlying reason. Could be a random network issue. Could be a man-in-the-middle attack. Could be specific to your location, or ISP, or VPN, etc. There's probably nothing you can do, other than trying different network configurations to see if something makes a difference, try different machine, try different wifi, try different VPN. This kind of problem may suddenly appear without apparent reason, but may also resolve itself without you doing anything after a few days or weeks.


:idea: If you are a network specialist with lots of SSL expertise, then you may be able to debug the back-and-forth packets with Wireshark. As a normal user, there's however nothing you can do but wait and hope that the problem resolves itself after a few days.



EDIT:

:arrow: I've created a new thread on Stack Overflow: How do I debug SSLHandshakeException and find the root cause?
:idea: Please read the FAQ and How to Request Help.
Chrystle
Posts: 3
Joined: 17 Aug 2021, 19:43

Re: [NETWORK ERROR] SSL handshake failed: Unable to establish a secure connection to api.filebot.net at this time.

Post by Chrystle »

but why would it work with linux and windows, but not mac os?
i tried windows running virtually on the mac and it does work that way.
it did work when i first installed it on my mac for a few days but then stopped.
puzzling.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [NETWORK ERROR] SSL handshake failed: Unable to establish a secure connection to api.filebot.net at this time.

Post by rednoah »

FileBot will use the root certificates installed on the OS, so it's plausible that SSL would work on some machine and not others. Different software runs on different OS platforms, everything is completely different, so it's possible that something interferes with the connection somehow, anti-virus, firewall and VPN software would be the usual subjects. But you'll probably have hard time to isolate the issue. A factory reset would almost certainly fix the problem but probably isn't worth the effort. Since it works for other macOS users at this point in time, I'd just leave it be for now and try again a week later. It'll likely resolve itself. Puzzling indeed.
:idea: Please read the FAQ and How to Request Help.
Post Reply