Skip to main content

Command Palette

Search for a command to run...

How to fix Komodo IDE - Login failed.

Login failed. It appears you are offline

Updated
5 min read
R

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:

  1. Uninstall Komodo, then re-install and note the default install directory, something like this C:\Program Files (x86)\ActiveState Komodo IDE 12

  2. Open a Command Prompt and RUN AS ADMINISTRATOR

  3. Change the current working directory:

    1. cd C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\chrome
  4. From the command line, rename komodo.jar to komodo.zip

    1. rename komodo.jar komodo.zip
  5. Open File Explorer and navigate to C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\chrome

  6. Click on the komodo.zip file and an “Extract all” button appears on the toolbar above the list of files.

  7. Click the “Extract all” and extract the folders into the chrome folder

  8. A “Destination Folder Access Denied” window may appear. Check the box next to “Do this for all current items” then, click the “Continue” button.

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

  10. 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

  11. Comment out line 27 and save.

    1. The line should have the following on it:

      1. auth.authenticated((authenticated) => { if ( ! authenticated) openLoginDialog();});

      2. Add two forward slashes “//” to the beginning of line 27 as pictured below:

  12. 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

  13. 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.

  14. 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.

  15. 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.

  16. 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.

  17. We should already be in the Chrome subdirectory, but we can always navigate to it with a “cd” command.

    1. cd C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\chrome
  18. Now, we can simply enter the copy command as:

    1. copy C:\Users\username\….\Desktop\skin.zip komodo.jar

    2. Note that your path will be similar to the syntax shown above.

  19. You should now have a komodo.jar file and the original komodo.zip file in your Chrome folder.

  20. 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

K

ABSOLUTE TONS OF THANK YOU's for publishing this fix!!!

I've used and paid for years for Komodo-IDE since it was new. I finally got a new PC and reinstalled Fedora Linux to fresh install and thought that I would get all new versions of most everything. Yes, was just upgrading my old PC for many years so Komodo-IDE 11 never broke - just kept chugging along. I knew about Komodo-Edit and used it occasionally.

But then I found V12.x Komodo-IDE and how you have to login to your platform.activestate.com account to authenticate. Fine, I have such an account (although quite stale).

I ran into this same problem and found your fix. Your explanation is quite detailed for Windows but with a close study, the fix is rather easy. I did this on Fedora 42 Linux.

When I re-started Komodo-IDE, the same problem persisted. I wanted to get this info to this site to add my notes to the fix. Your notes say to UN-Install the software - maybe on Windows its setting etc is in the registry - hence uninstall. No need to uninstall anything on Linux. On Linux, Komodo (edit and IDE) add hidden folders to your home folder - these need to be removed after fixing the app. Otherwise the original problem seems to persist. After fixing the app per your instructions (Translating to Linux ways) REMOVE the following two folders.

rm -rf $HOME/.activestate/'komodo ide' rm -rf $HOME/komodoide

Then you can re-run the app and it will act like a brand new install. But it will not prompt to authenticate.

I was never happy with the abandoning of the whole Tcl-PRO dev kit stuff and now they abandoned Komodo - Sad indeed. But now I can at least still use the current version for better or worse.

Many Thanks for your FIX!!!!! Twas a blessing to find it. Created new account here just to tell you all this.

1
R

Thank you for your feedback. It sounds like we were both in the same shoes for a time. I paid for Komodo way back and was disappointed to learn they were turning this over to "open source."

I can add the Linux fix with credit to you for providing it.

Thanks again for reading and going through the effort to extend your thanks.