jetbrains toolbox doesn't update
Several months ago, I allowed jetbrains toolbox to update itself. Ever since then, it has not worked. I am using Toolbox 1.6.2914 on Mac OS El Capitan.
It complains that it "cannot connect to server". From reading the logs, it looks like there is a misconfiguration in how the SSL certificates are being verified. Accessing the URLs which fail in Toolbox from Safari or Chrome on my machine works just fine.
The log file shows:
Started fetching applications feeds: remote
Configuring DownloadTimeout for "http://toolbox-internal-feed.labs.intellij.net/feeds/v1/internal-feed.feed.xz.signed" to 300000 ms
Started request QUrl("http://toolbox-internal-feed.labs.intellij.net/feeds/v1/internal-feed.feed.xz.signed")
DownloadAction::replyError: "Host toolbox-internal-feed.labs.intellij.net not found" from: QUrl("http://toolbox-internal-feed.labs.intellij.net/feeds/v1/internal-feed.feed.xz.signed") error code: QNetworkReply::NetworkError(HostNotFoundError)
DownloadAction::replyReadyRead: Error: Host toolbox-internal-feed.labs.intellij.net not found
Download Response: http://toolbox-internal-feed.labs.intellij.net/feeds/v1/internal-feed.feed.xz.signed request headers: User-Agent: Toolbox/1.6.2914 (Macintosh; Intel Mac OS X 10_11), Accept-Encoding: identity, Cache-Control: max-age=10800, must-revalidate , response: ( )
replyFinished: QNetworkReply::deleteLater is called
Finished request QUrl("http://toolbox-internal-feed.labs.intellij.net/feeds/v1/internal-feed.feed.xz.signed") size: 0
Unable to download feed from "http://toolbox-internal-feed.labs.intellij.net/feeds/v1/internal-feed.feed.xz.signed" "Host toolbox-internal-feed.labs.intellij.net not found"
No previously downloaded content for feed "http://toolbox-internal-feed.labs.intellij.net/feeds/v1/internal-feed.feed.xz.signed"
Configuring DownloadTimeout for "https://download.jetbrains.com/toolbox/feeds/v1/public-feed.feed.xz.signed" to 300000 ms
Started request QUrl("https://download.jetbrains.com/toolbox/feeds/v1/public-feed.feed.xz.signed")
applicationStateChanged to Qt::ApplicationState(ApplicationActive)
Invalidating shadow
Invalidating shadow
Invalidating shadow
Invalidating shadow
Invalidating shadow
DownloadAction::replySslErrors url QUrl("https://download.jetbrains.com/toolbox/feeds/v1/public-feed.feed.xz.signed")
DownloadAction::replySslErrors error The root CA certificate is not trusted for this purpose
Unimplemented code.
SSL error certificate:
DownloadAction::replyError: "SSL handshake failed" from: QUrl("https://download.jetbrains.com/toolbox/feeds/v1/public-feed.feed.xz.signed") error code: QNetworkReply::NetworkError(SslHandshakeFailedError)
DownloadAction::replyReadyRead: Error: SSL handshake failed
Download Response: https://download.jetbrains.com/toolbox/feeds/v1/public-feed.feed.xz.signed request headers: User-Agent: Toolbox/1.6.2914 (Macintosh; Intel Mac OS X 10_11), Accept-Encoding: identity, Cache-Control: max-age=10800, must-revalidate , response: ( )
replyFinished: QNetworkReply::deleteLater is called
Finished request QUrl("https://download.jetbrains.com/toolbox/feeds/v1/public-feed.feed.xz.signed") size: 0
Unable to download feed from "https://download.jetbrains.com/toolbox/feeds/v1/public-feed.feed.xz.signed" "The root CA certificate is not trusted for this purpose "
No previously downloaded content for feed "https://download.jetbrains.com/toolbox/feeds/v1/public-feed.feed.xz.signed"
Feed update return en empty result, not updating current feed items
Please sign in to leave a comment.
Hello!
Looks like you have this issue - https://youtrack.jetbrains.com/issue/ALL-1224
We do plan to fix it by the nearest Toolbox update(yes, it will be required to update Toolbox manually).
It does not seem to be fixed in Toolbox 1.6.2914.
Please expect the fix in 1.7, in several days.
I have this on "JetBrains Toolbox 1.8.3678 (Mar 15 2018) OS kernel winnt 10.0.16299 on x86_64"
It won't update my apps. When I click "Check for updates" I get a notification saying "Cannot connect to server. Information may be outdated", then a Windows notification saying "No updates available". Yet the apps are severely out of date.
Same issue on "JetBrains Toolbox 1.8.3678 (Mar 15 2018) OS kernel darwin 17.5.0 on x86_64"
I have the same issue and config as Liang.
The same stuff here.
Same here, "No updates available", and no new tools can be installed.
Same here, "No updates available", and no new tools can be installed...
Resolved for me now :)
Same, started working for me when I retried this morning.
The 1.7 update did not fix it for me. But today I upgraded to JetBrains Toolbox 1.8.3678 (Mar 15 2018)
OS kernel darwin 15.6.0 on x86_64, and updating works again (on MacOS El Capitan).
I'm still on the same config as my previous post and it started working again the day after my post, server side fix or workaround I guess?
I have now the same problem. This is a very annoying thing! I am running the latest version, just made an update manually. 1.13.4733
I had a file in /etc/ssl/certs which had a filename like: $someHash which was pointing to a metasploit installation. That was the reason why it failed. After deleting this file, everything worked again. There seems to be also a QT bugticket for this.
Having same problem:
Toolbox App 1.15.5666, OS kernel darwin 18.2.0 on x86_64
BTW nothing in my /etc/ssl/certs folder :-)
I'm experiencing the same issue again. MacOS 10.14.6 and Toolbox App 1.15.5666, OS kernel darwin 18.7.0 on x86_64.
Error message:
Failed to update feed. Please check internet connection
I am also unable to log in to my account from the Toolbox app.
Same problem on Fedora 30 (Workstation Edition), Toolbox Toolbox App 1.15.5605, OS kernel linux 5.1.15-300.fc30.x86_64 on x86_64
There is self signed certificate in chain.
Same here. Cannot install anything, Keeps telling me to check my internet connection. Pretty misleading error message also.
1.16.6067 74955 2019-12-04T20:17:02.066 INFO DownloadAction 202 DownloadAction::replyError: "SSL handshake failed" from: QUrl("https://download.jetbrains.com/toolbox/feeds/v1/thirdparty-feed.feed.xz.signed") error code: QNetworkReply::NetworkError(SslHandshakeFailedError)
jetbrains-toolbox --version; lsb_release -a; uname -r
Toolbox 1.16.6067
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 31 (Thirty One)
Release: 31
Codename: ThirtyOne
5.3.12-300.fc31.x86_64
Added a comment to: https://youtrack.jetbrains.com/issue/ALL-1224
These comments helped me:
https://youtrack.jetbrains.com/issue/TBX-1224#focus=streamItem-27-2279340.0-0
https://youtrack.jetbrains.com/issue/TBX-1224#focus=streamItem-27-2847878.0-0
TL;DR
On RH made distros (RHEL, CentOS 8, Fedora) this issue is still in place: https://bugzilla.redhat.com/show_bug.cgi?id=1021499
Workaround:
```bash
#remove certificates hashes
sudo rm -rf /etc/pki/tls/certs/*.0
#jetbrain toolbox should work fine now
./jetbrains-toolbox
```
To bring back certificates hashes in case they are needed for other software:
```bash
sudo yum -y install openssl-perl
sudo c_rehash
```