How to fix Komodo IDE - Login failed.
Login failed. It appears you are offline
I have over 40 years of programming experience using a variety of languages over the course of my career to develop real-time solutions for real-world problems.
Keyboards connect us to the world and, as a keyboard enthusiast, I am searching for the ideal keyboard.
** Updated to include a fix for Linux with many thanks to Keith Schneider - See comments. **
The Problem - Login Failed
After installing an open-source version of the Komodo IDE and attempting to log in to my ActiveState account, I was surprised to see a “Login failed. It appears you are offline” error message.

I could log in to my ActiveState account using my browser, so this “Login failed” was a real problem. Fortunately, after some searching, I found a potential solution on the following webpage: Login failed, it appears you are offline (again) - Discussions - Komodo IDE & Edit | Forums.

Windows FIX
The solution simply bypasses the Sign-In window altogether. The solution I present below is for WINDOWS and differs only by the tools I used to modify the komodo.jar file and, ultimately, the single line of code in the komodo.js file.
The Modified Solution:
The original solution requires using 7Zip. However, Windows File Explorer provides a means to extract zip files.
Note that this will break any integrations with the ActiveState Platform and the ActiveState State Tool:
Uninstall Komodo, then re-install and note the default install directory, something like this C:\Program Files (x86)\ActiveState Komodo IDE 12
Open a Command Prompt and RUN AS ADMINISTRATOR
Change the current working directory:
- cd C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\chrome
From the command line, rename komodo.jar to komodo.zip
- rename komodo.jar komodo.zip
Open File Explorer and navigate to C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\chrome
Click on the komodo.zip file and an “Extract all” button appears on the toolbar above the list of files.

Click the “Extract all” and extract the folders into the chrome folder
A “Destination Folder Access Denied” window may appear. Check the box next to “Do this for all current items” then, click the “Continue” button.

Three new subdirectories or folders should now appear in the “chrome” folder: content, locale, and skin

Use an editor such as Notepad++ and RUN as an ADMINISTRATOR to open and edit the following file in a text editor: content\komodo.js
Comment out line 27 and save.
The line should have the following on it:
auth.authenticated((authenticated) => { if ( ! authenticated) openLoginDialog();});
Add two forward slashes “//” to the beginning of line 27 as pictured below:

In File Explorer, in the chrome folder, ctrl + click on the content, locale and skin folder. Then, on one of the highlighted files, right-click > Compress to… > ZIP File

A window will appear stating, “Windows cannot create the Compressed Archive Folder here. Do you want it to be placed on the desktop instead?” Click “Yes,” and the compressed file will appear on your desktop.

Note that the name of the zip file will be the same as the filename you right-clicked, except it will have a “.zip” extension. In my case, the file created was skin.zip.
Locate the file on your desktop and right-click it. Select properties from the menu that appears, and copy the file’s location. It should be of the form like C:\Users\ …. \ …. \Desktop.

Left-click and hold the button down while highlighting the location. Then, right-click the highlighted text and left-click “copy” from the menu that appears to save it to your clipboard.
Returning to our Command Prompt, we can copy the file from the desktop to the Chrome directory and rename it as “komodo.jar” in a single step.
We should already be in the Chrome subdirectory, but we can always navigate to it with a “cd” command.
- cd C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\chrome
Now, we can simply enter the copy command as:
copy C:\Users\username\….\Desktop\skin.zip komodo.jar
Note that your path will be similar to the syntax shown above.
You should now have a komodo.jar file and the original komodo.zip file in your Chrome folder.
After successfully testing the Komodo IDE, the extracted content, locale, and skin folders can be deleted from the Chrome subdirectory.
You should now be able to start and run Komodo without a Sign-In screen.
Linux Fix
After posting this article, I received this fix from Keith Schneider per his comment/feedback.
There is no need to uninstall anything on Linux. On Linux, Komodo (Edit and IDE) adds hidden folders to your home folder - these need to be removed after fixing the app. Otherwise, the original problem seems to persist. REMOVE the following two folders after fixing the app per your instructions (Translating to Linux ways):
rm -rf $HOME/.activestate/'komodo ide' rm -rf $HOME/komodoide
Then you can re-run the app, which will act like a brand new install but will not prompt to authenticate.
SUCCESS and Thank You
The above method(s) fixed the error, and the Komodo IDE runs without a Sign-In screen. All the credit for identifying the required changes goes to those who identified the code fix and created the original steps to change the files in kind.
Thank you to careyh -Carey Hoffman, moderator and Komodo Developer, for offering the fix: Login failed, it appears you are offline (again) - Discussions - Komodo IDE & Edit | Forums.
Thank you again to Keith Schneider for the Linux fix
