IDE Can't Connect to JetBrains Account

If you already have a license for JetBrains tools and don’t have a connection to the JetBrains Account service, you can register your IDE using an offline activation code or restore the connectivity following the troubleshooting guide below.

To start a trial, your IDE should be able to connect to the JetBrains Account service at https://account.jetbrains.com/ to obtain a free trial license. Your computer needs to be connected to the internet to start a trial of JetBrains IDEs and .NET tools, such as IntelliJ IDEA Ultimate Edition, PyCharm Professional Edition, AppCode, CLion, DataGrip, GoLand, PhpStorm, RubyMine, WebStorm, Rider, DataSpell, ReSharper, ReSharper C++.

In some rare cases, when the product cannot open a browser on your computer, you will be provided with a link to copy and open it in the browser manually. If the product cannot accept a response from the browser (e.g., because all ports are busy), you should go through the following alternative procedure obtaining an IDE authorization token in the browser. You will need to copy a link provided in the product, open it in your browser, go through the account login or creation process, and paste the IDE authorization token you obtain back into the product to activate it. In order to finish the authorization process, the IDE should be able to connect to JBA with the obtained one-time token.

If access to JetBrains Account is not possible from the IDE or the browser, you'll need to troubleshoot the connection to obtain your trial license.

Here are some of the possible causes of issues, along with some workarounds that should help you restore connectivity to JetBrains Account:

  • Check that you are connected to the internet on the computer where the IDE is installed. Try opening some web pages in the browser to verify that you are connected.

  • Some JetBrains domains might be accidentally blocked or re-routed to other IP addresses in the hosts file on the computer where the IDE is installed.

    The hosts file is typically located at %SystemRoot%\System32\drivers\etc\hosts for Windows and at /etc/hosts for macOS and Linux. Please refer to this Wikipedia article for more information about the hosts file and other possible locations depending on the operating system.

    You need to verify that the file doesn't contain any records related to the jetbrains.com or account.jetbrains.com domains. If it does, please remove the lines containing JetBrains domains and save the hosts file. You might need to restart your computer for any changes to take effect (depending on the operating system).

  • Firewalls could be blocking access, either via the domains allowlist/blocklist or by restricting access from the specific application (in our case, one of the IntelliJ IDEA-based IDEs), when the IDE tries to establish the connection. Please check whether you have a firewall enabled and verify the rules set up in the firewall configuration if you do, removing any rules blocking IDE access to JetBrains domains (jetbrains.com, account.jetbrains.com).

  • Access might be blocked by your ISP (Internet Service Provider) or corporate network provider on the DNS (Domain Name System) level. You can try using alternative DNS servers, such as Google's Public DNS 8.8.8.8 or 8.8.8.4, Cloudflare's/APNIC's Public DNS 1.1.1.1, or alternative Public DNS providers depending on your location.

    Both Google and Cloudflare/APNIC provide detailed instructions on configuring their DNS on Windows, Linux, and macOS. You can also contact your company's IT helpdesk or ISP support to resolve the problem if you confirm that a DNS block is the cause of the connectivity issue.

  • There might be a proxy server between you and our server that intercepts traffic and substitutes our certificate with its own, which is different and will not be accepted by the IDE. Thus the IDE won't be able to establish the connection. Alternatively, the proxy server might be blocking access to JetBrains domains completely.

    Note that this proxy server may be entirely transparent for you and may work without any explicit proxy configuration in your system. Please contact your organization's IT helpdesk or ISP support to get the issue resolved.

    If troubleshooting page doesn't help and the proxy is used, we suggest to open JBR net properties file:

    Windows: <IDE_installation_folder>\jbr\conf\net.properties
    MacOS: <IDE_installation_folder>/Contents/jbr/Contents/Home/conf/net.properties
    Linux: <IDE_installation_folder>/jbr/conf/net.properties

    and change the line about system proxy to `java.net.useSystemProxies=true`.

Should you still experience issues connecting to the JetBrains Account service, please contact JetBrains Support for further assistance.

12 out of 136 found this helpful
41 comments

I'm having the same problem as Linas, tried all the things listed on this thread and nothing works, whenever i try to log in on my account on IntelliJ, it gives me this message :

Received fatal alert: handshake_failure Refer to the help article for possible solutions. If you need assistance, contact technical support.

0

Feng Xie Damian We've updated the document with more details. The manual steps are suggested by the IDE if it can't open the browser for some reason or it can't get the one-time token back from the browser. IDE still needs the connection to the JBA servers to verify the token even if you obtain and paste it manually.

0

I have facing the same issue as mentioned by Khacthebkhn.

 

0

Ericohg Sorry to hear that and we understand how frustrating it can be. Our team is working on making the proxy settings dialog available for such cases.

0

Sorry but I am going to uninstall. It is unconceivable to get thru a process not streamlined at the very beginning of a trial.

As any corporative usaer, we are all behind proxies. How come one can get thru a internet dependent process without being able to simply configure proxy settings.

Thanks in advance.

 

0

Daniyal Akkuliyev Please contact the sales team for the offline trial code: https://www.jetbrains.com/support/sales/.

0

Is there a way to get trial-period activation key for offline mode? I logged in via Chrome and Microsoft Edge, still can't activate trial period for WebStorm. I don't want to buy a cat in a bag.

0

Markus Penzel Please see the response above. If you are using a release version, you can register it with the offline activation code. If you want to use the EAP version, please contact support at https://intellij-support.jetbrains.com/hc/requests/new for the workaround.

0

Raconnell2 With the real license you'll be able to use the offline activation code: https://sales.jetbrains.com/hc/en-gb/articles/360016995379-Register-an-IDE-using-an-offline-activation-code. Please contact the sales team via https://www.jetbrains.com/support/sales/ and request the offline trial code so that you can evaluate the product in the isolated environment. Sorry for the inconvenience.

0

Having the same issue as Frank

0

Hi Serge, is there a way around that for locked-down environments? I am happy to authorize and carry over the tokens, but I have no way to touch the firewalls.

I am also happy to copy the license file(s) from the non-EAP installations if that helps?

Edited by Alexey Filippov
0

Please sign in to leave a comment.

Have more questions?

Submit a request