Can't sign in to Platform account on first Komodo start

I just downloaded the latest Komodo release 12.0.1 and installed it. When I open Komodo, it requires me to sign in to my ActiveState Platform account, which I created yesterday and confirmed.

When I enter my credentials it takes about 3 minutes and then an error message appears saying

“Login failed, it appears you are offline”

The computer is definitely not offline. I can go to any website I want.

I know, that there are duplicates of this issue here, but “careyh” asked me to open a new thread, because he thinks, the issue is different from those that looked identical but were already resolved.

Hey @gpetrowitsch, thanks for opening the new thread.

Can you reproduce the issue then share your logs? You can find your log file with the info in this post:

  • Carey

Hi @careyh, thanks for trying to help!

Here’s the contents of the pystderr.log file (I’m sorry to just copy it here, but I can’t find an option to add a file). Anyway, I hope it helps.

[2020-07-21 12:54:00,051] [INFO] Startup: Welcome to Komodo IDE 12.0.1 build 91869 (platform win32-x86, running on Windows post2012Server version 6.3.9600)
[2020-07-21 12:54:00,051] [INFO] Startup: C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\komodo.exe built on Mon Feb 10 18:14:23 2020
[2020-07-21 12:54:03,361] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2020-07-21 12:54:03,480] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:03,865] [INFO] Platform Auth: Using API URL: https://platform.activestate.com//api/v1
[2020-07-21 12:54:03,865] [WARNING] root: [object Object].logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).
    @chrome://komodo/content/komodo.js:15:1

[2020-07-21 12:54:05,328] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:05,653] [WARNING] keybindings: [Ctrl+0] was used for 'cmd_goToQuickBookmark_0', overriding to use 'cmd_fontZoomReset'
[2020-07-21 12:54:05,710] [WARNING] ko.widgets: Pref path doesn't exist: windowWorkspace, 1
[2020-07-21 12:54:05,989] [WARNING] ko.widgets: Could not restore widget unittest-widget
[2020-07-21 12:54:06,000] [WARNING] ko.widgets: Could not restore widget symbolbrowser-widget
[2020-07-21 12:54:06,431] [DEBUG] ko.launch: versioncheck on http://docs.komodoide.com/changelog/12
[2020-07-21 12:54:06,709] [INFO] koInitService: Adding pre startup service for 'koFileStatusService': '@activestate.com/koFileStatusService;1'
[2020-07-21 12:54:07,661] [INFO] codeintel/process: Starting CodeIntel
[2020-07-21 12:54:07,663] [DEBUG] codeintel/process: PYTHONPATH: C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\python\..\lib\python2.7;C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\support\dbgp\pythonlib;C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\extensions\codeintel@activestate.com\content\..\pylib\codeintel\lib;C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\extensions\codeintel@activestate.com\content\..\pylib\codeintel\env\Lib\site-packages
[2020-07-21 12:54:07,940] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2020-07-21 12:54:08,000] [INFO] komodospellchecker: Spell checker loaded.
[2020-07-21 12:54:08,000] [INFO] komodospellchecker: Using dictionary en-US
[2020-07-21 12:54:09,713] [ERROR] koAppInfo: Failed to check version of executable C:\Users\petrowit\AppData\Local\Microsoft\WindowsApps\python3.exe
Traceback (most recent call last):
  File "C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\components\koAppInfo.py", line 190, in _isValidExecutable
    isvalid = self._isValidExecutableVersion(exe)
  File "C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\components\koAppInfo.py", line 162, in _isValidExecutableVersion
    versionParts = invocationutils.split_short_ver(ver, intify=True)
  File "C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\python\komodo\invocationutils.py", line 94, in split_short_ver
    raise ValueError("%r is not a valid short version string" % ver_str)
ValueError: '' is not a valid short version string
[2020-07-21 12:54:09,839] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:09,890] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:10,013] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:10,069] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:10,148] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:10,203] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:10,301] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:10,355] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:10,427] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:10,506] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:10,641] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:10,755] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2020-07-21 12:54:10,756] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2020-07-21 12:54:10,756] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2020-07-21 12:54:10,831] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2012/lib/mozilla/components/koamAddonManager.js:138
[2020-07-21 12:54:10,887] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:11,012] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:11,082] [ERROR] console-logger: TypeError: n is undefined (2) in chrome://komodo/content/contrib/commonjs/underscore.js:5
Traceback (most recent call last):
  File "chrome://komodo/content/contrib/commonjs/underscore.js", line 5, in 

[2020-07-21 12:54:11,394] [ERROR] koAppInfo: Failed to check version of executable C:\Users\petrowit\AppData\Local\Microsoft\WindowsApps\python.exe
Traceback (most recent call last):
  File "C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\components\koAppInfo.py", line 190, in _isValidExecutable
    isvalid = self._isValidExecutableVersion(exe)
  File "C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\components\koAppInfo.py", line 162, in _isValidExecutableVersion
    versionParts = invocationutils.split_short_ver(ver, intify=True)
  File "C:\Program Files (x86)\ActiveState Komodo IDE 12\lib\mozilla\python\komodo\invocationutils.py", line 94, in split_short_ver
    raise ValueError("%r is not a valid short version string" % ver_str)
ValueError: '' is not a valid short version string
[2020-07-21 12:54:11,454] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2020-07-21 12:54:11,456] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2020-07-21 12:54:11,456] [WARNING] console-logger: XUL box for tab element contained an inline #text child, forcing all its children to be wrapped in a block. (1) in chrome://unittest/content/views/panel.xul:0
[2020-07-21 12:54:11,829] [INFO] koInitService: Adding pre startup service for 'KoMemoryReporter': '@activestate.com/koMemoryReporter;1'
[2020-07-21 12:54:11,845] [INFO] koInitService: Adding pre startup service for 'koCommandmentService': '@activestate.com/koCommandmentService;1'
[2020-07-21 12:54:11,871] [INFO] koInitService: Adding pre startup service for 'koDBGPManager': '@activestate.com/koDBGPManager;1'
[2020-07-21 12:54:16,657] [DEBUG] codeintel/process: stdout: 
port:58931

pid:1936

[2020-07-21 12:54:16,657] [INFO] codeintel/process: CodeIntel started on port 58931
[2020-07-21 12:54:16,657] [DEBUG] codeintel/process: Calling callbacks for: started, number: 1
[2020-07-21 12:54:18,128] [WARNING] console-logger: Unknown descriptor 'font-display' in @font-face rule.  Skipped to next declaration. (1) in less://komodo/skin/global/global.less:1429
[2020-07-21 12:54:51,684] [DEBUG] ko.launch: Response: http://docs.komodoide.com/changelog/12 (0)
[2020-07-21 12:54:51,686] [DEBUG] ko.launch: versioncheck on http://docs.komodoide.com/changelog/120
[2020-07-21 12:55:32,059] [DEBUG] ko.launch: Response: http://docs.komodoide.com/changelog/120 (0)
[2020-07-21 12:57:45,601] [ERROR] tool.js: Could not download state tool installer, response code: 0, response: 
Traceback from ERROR in 'tool.js' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    install/<@chrome://state/content/js/sdk/tool.js:62:17
    this.request/req.onreadystatechange@chrome://komodo/content/sdk/ajax.js:81:17
    injectOpenHandler/tw.openDialog@chrome://komodo/content/global.js:120:22
    openDialogWrap@chrome://komodo/content/komodo.js:631:19
    ko.windowManager.openWindow@chrome://komodo/content/library/windowManager.js:113:16
    this.loginDialog@chrome://komodo/content/sdk/auth.js:168:1
    openLoginDialog@chrome://komodo/content/komodo.js:31:25
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13

[2020-07-21 12:57:46,569] [ERROR] Platform Auth: Login failed with: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Traceback from ERROR in 'Platform Auth' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    this.login/callback@chrome://komodo/content/sdk/auth.js:184:17
    this.request2/req.onreadystatechange@chrome://komodo/content/sdk/ajax.js:134:17
    injectOpenHandler/tw.openDialog@chrome://komodo/content/global.js:120:22
    openDialogWrap@chrome://komodo/content/komodo.js:631:19
    ko.windowManager.openWindow@chrome://komodo/content/library/windowManager.js:113:16
    this.loginDialog@chrome://komodo/content/sdk/auth.js:168:1
    openLoginDialog@chrome://komodo/content/komodo.js:31:25
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13

[2020-07-21 12:57:46,569] [ERROR] Platform Auth: Response: 
[2020-07-21 12:57:46,578] [ERROR] Platform Auth: Response: 
Traceback from ERROR in 'Platform Auth' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    this.login/callback@chrome://komodo/content/sdk/auth.js:205:17
    this.request2/req.onreadystatechange@chrome://komodo/content/sdk/ajax.js:134:17
    injectOpenHandler/tw.openDialog@chrome://komodo/content/global.js:120:22
    openDialogWrap@chrome://komodo/content/komodo.js:631:19
    ko.windowManager.openWindow@chrome://komodo/content/library/windowManager.js:113:16
    this.loginDialog@chrome://komodo/content/sdk/auth.js:168:1
    openLoginDialog@chrome://komodo/content/komodo.js:31:25
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13

[2020-07-21 12:57:46,592] [WARNING] console-logger: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://platform.activestate.com//api/v1/login. This can be fixed by moving the resource to the same domain or enabling CORS. (1) in https://platform.activestate.com//api/v1/login:0
[2020-07-21 12:57:46,592] [WARNING] console-logger: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://platform.activestate.com//api/v1/login. This can be fixed by moving the resource to the same domain or enabling CORS. (1) in https://platform.activestate.com//api/v1/login:0
[2020-07-21 12:57:53,069] [ERROR] commando-scope-packages: Unable to retrieve package listing for schemes
Traceback from ERROR in 'commando-scope-packages' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    this._getAvailablePackagesByKind/<@chrome://scope-packages/content/packages.js:440:17
    this.request/req.onreadystatechange@chrome://komodo/content/sdk/ajax.js:81:17
    injectOpenHandler/tw.openDialog@chrome://komodo/content/global.js:120:22
    openDialogWrap@chrome://komodo/content/komodo.js:631:19
    ko.windowManager.openWindow@chrome://komodo/content/library/windowManager.js:113:16
    this.loginDialog@chrome://komodo/content/sdk/auth.js:168:1
    openLoginDialog@chrome://komodo/content/komodo.js:31:25
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13

[2020-07-21 12:58:13,246] [ERROR] commando-scope-packages: Unable to retrieve package listing for macros
Traceback from ERROR in 'commando-scope-packages' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    this._getAvailablePackagesByKind/<@chrome://scope-packages/content/packages.js:440:17
    this.request/req.onreadystatechange@chrome://komodo/content/sdk/ajax.js:81:17
    injectOpenHandler/tw.openDialog@chrome://komodo/content/global.js:120:22
    openDialogWrap@chrome://komodo/content/komodo.js:631:19
    ko.windowManager.openWindow@chrome://komodo/content/library/windowManager.js:113:16
    this.loginDialog@chrome://komodo/content/sdk/auth.js:168:1
    openLoginDialog@chrome://komodo/content/komodo.js:31:25
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13

[2020-07-21 12:58:13,246] [ERROR] commando-scope-packages: Unable to retrieve package listing for toolbox
Traceback from ERROR in 'commando-scope-packages' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    this._getAvailablePackagesByKind/<@chrome://scope-packages/content/packages.js:440:17
    this.request/req.onreadystatechange@chrome://komodo/content/sdk/ajax.js:81:17
    injectOpenHandler/tw.openDialog@chrome://komodo/content/global.js:120:22
    openDialogWrap@chrome://komodo/content/komodo.js:631:19
    ko.windowManager.openWindow@chrome://komodo/content/library/windowManager.js:113:16
    this.loginDialog@chrome://komodo/content/sdk/auth.js:168:1
    openLoginDialog@chrome://komodo/content/komodo.js:31:25
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13

[2020-07-21 12:58:33,391] [ERROR] commando-scope-packages: Unable to retrieve package listing for skins
Traceback from ERROR in 'commando-scope-packages' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    this._getAvailablePackagesByKind/<@chrome://scope-packages/content/packages.js:440:17
    this.request/req.onreadystatechange@chrome://komodo/content/sdk/ajax.js:81:17
    injectOpenHandler/tw.openDialog@chrome://komodo/content/global.js:120:22
    openDialogWrap@chrome://komodo/content/komodo.js:631:19
    ko.windowManager.openWindow@chrome://komodo/content/library/windowManager.js:113:16
    this.loginDialog@chrome://komodo/content/sdk/auth.js:168:1
    openLoginDialog@chrome://komodo/content/komodo.js:31:25
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13

[2020-07-21 12:58:33,417] [ERROR] commando-scope-packages: Unable to retrieve package listing for languages
Traceback from ERROR in 'commando-scope-packages' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    this._getAvailablePackagesByKind/<@chrome://scope-packages/content/packages.js:440:17
    this.request/req.onreadystatechange@chrome://komodo/content/sdk/ajax.js:81:17
    injectOpenHandler/tw.openDialog@chrome://komodo/content/global.js:120:22
    openDialogWrap@chrome://komodo/content/komodo.js:631:19
    ko.windowManager.openWindow@chrome://komodo/content/library/windowManager.js:113:16
    this.loginDialog@chrome://komodo/content/sdk/auth.js:168:1
    openLoginDialog@chrome://komodo/content/komodo.js:31:25
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13

[2020-07-21 12:58:33,418] [ERROR] commando-scope-packages: Unable to retrieve package listing for keybinds
Traceback from ERROR in 'commando-scope-packages' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    this._getAvailablePackagesByKind/<@chrome://scope-packages/content/packages.js:440:17
    this.request/req.onreadystatechange@chrome://komodo/content/sdk/ajax.js:81:17
    injectOpenHandler/tw.openDialog@chrome://komodo/content/global.js:120:22
    openDialogWrap@chrome://komodo/content/komodo.js:631:19
    ko.windowManager.openWindow@chrome://komodo/content/library/windowManager.js:113:16
    this.loginDialog@chrome://komodo/content/sdk/auth.js:168:1
    openLoginDialog@chrome://komodo/content/komodo.js:31:25
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13

[2020-07-21 12:58:33,431] [ERROR] commando-scope-packages: Unable to retrieve package listing for addons
Traceback from ERROR in 'commando-scope-packages' logger:
    Logger.prototype.error@chrome://komodo/content/sdk/logging.js:411:27
    this._getAvailablePackagesByKind/<@chrome://scope-packages/content/packages.js:440:17
    this.request/req.onreadystatechange@chrome://komodo/content/sdk/ajax.js:81:17
    injectOpenHandler/tw.openDialog@chrome://komodo/content/global.js:120:22
    openDialogWrap@chrome://komodo/content/komodo.js:631:19
    ko.windowManager.openWindow@chrome://komodo/content/library/windowManager.js:113:16
    this.loginDialog@chrome://komodo/content/sdk/auth.js:168:1
    openLoginDialog@chrome://komodo/content/komodo.js:31:25
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13

[2020-07-21 13:13:55,937] [ERROR] ko.main: error when running 'function places_onUnload() {
    ko.places.manager.finalize();
    ko.places.viewMgr.finalize();
    ko.places.projects.terminate();
    ko.places.manager = ko.places._viewMgr = null;
}' shutdown handler (object='null':
-- EXCEPTION START --
TypeError: _placePrefs is undefined
+ stack
    this.terminate@chrome://komodo-places/content/project_places.js:389:5
    places_onUnload@chrome://komodo-places/content/places.js:3637:5
    this.runWillCloseHandlers@chrome://komodo/content/komodo.js:324:17
    this._onDOMWindowClose@chrome://komodo/content/komodo.js:244:5
    goQuitApplication@chrome://global/content/globalOverlay.js:63:3
    this.quitApplication@chrome://komodo/content/komodo.js:68:9
    openLoginDialog@chrome://komodo/content/komodo.js:33:9
    authenticateUser/<@chrome://komodo/content/komodo.js:27:67
    this.authenticated@chrome://komodo/content/sdk/auth.js:44:13
    authenticateUser@chrome://komodo/content/komodo.js:27:5
    onloadDelay/</<@chrome://komodo/content/komodo.js:456:13
-- EXCEPTION END --
[2020-07-21 13:13:55,940] [WARNING] views: Inconsistent view count in view_closed event
[2020-07-21 13:13:56,134] [WARNING] tool.js: Could not retrieve api key credentials
[2020-07-21 13:13:56,135] [WARNING] tool.js: Could not retrieve private key credentials

I recognized one thing: The first error message in the log says, that it’s not able to determine the version of python3 (by testing the executable …\AppData\Local\Microsoft\WindowsApps\python3.exe). This .exe file has 0kB - it’s an empty file. Maybe there’s something wrong with the installation procedure of Komodo 12? I have a python3 version (3.7 to be exact) installed somewhere else on my PC. Maybe this somehow conflicts with Komodo 12?

On the other hand: I have the same setup on my Laptop, which is in the same network right near my LabPC (which shows the problem). On the Laptop however, I don’t have this issue. It could be, that on the Laptop I first installed Komodo and then the other python3, but I’m not sure - it’s more than a year ago…

Morning @gpetrowitsch,

That Python is error is coming from Microsoft trying to get everyone to use their distribution of Python:


That error in your logs in benign so you can ignore it.

The more applicable errors in the logs all point to issues connecting to the internet so though you’re able to open website, there appears to be something unique about your network setup that’s breaking things when Komodo tries to reach the internet. Maybe a proxy or something? Can you shed some light on that?

Login error, NOTE that CORS is enabled for platform.activestate.com:

[2020-07-21 12:57:46,592] [WARNING] console-logger: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://platform.activestate.com//api/v1/login. This can be fixed by moving the resource to the same domain or enabling CORS. (1) in https://platform.activestate.com//api/v1/login:0

Other errors that are trying to reach resources on the internet:
Loading available addons at komodo.activestate.com:

[2020-07-21 12:58:33,431] [ERROR] commando-scope-packages: Unable to retrieve package listing for addons
...
[2020-07-21 12:58:33,418] [ERROR] commando-scope-packages: Unable to retrieve package listing for keybinds
...
[2020-07-21 12:58:33,417] [ERROR] commando-scope-packages: Unable to retrieve package listing for languages
...
[2020-07-21 12:58:33,391] [ERROR] commando-scope-packages: Unable to retrieve package listing for skins
...
[2020-07-21 12:58:13,246] [ERROR] commando-scope-packages: Unable to retrieve package listing for toolbox
...
[2020-07-21 12:58:13,246] [ERROR] commando-scope-packages: Unable to retrieve package listing for macros
...
[2020-07-21 12:57:53,069] [ERROR] commando-scope-packages: Unable to retrieve package listing for schemes
  • Carey

Hi Carey,

thanks for the reply. I checked the proxy setup on both of my computers. It is identical. We are using an automatic configuration script here, which I don’t know, what it does.
Although the proxy setup is identical, one computer had no problems, but the other one has.

I must admit, that I don’t remember, if I had to log in on first start of Komodo 12 on the computer, where it works. This was months ago. Maybe it has the same issue now? How can I check this?

Is there a specific port required to be open for Platform login?

Regarding CORS: What is this? How can I enable it?

Cheers,
Gerhard

@gpetrowitsch, is it an option to disable the proxy to start Komodo, login, then turn your proxy back on? That would likely be the easiest solution.

There is no special port involved in hitting the login api. It’s the standard https port, 443 which Komodo is using. You would be getting a different error if you couldn’t connect to the server.

CORS: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
You don’t do anything to enable CORS. We do it, and it is enabled. My guess is that your proxy is changing something in the request regarding where the “origin” of the request is coming from (ie. changing it to the proxy server rather than Komodo).

The only real options here will be to either take your computer somewhere where you can connect to the internet without the proxy then log in. You don’t need to log in again once you’re done it the first time. Or turn off the proxy briefly.

  • Carey

@careyh; the automatic proxy configuration script can’t be disabled, but I can enter a different proxy (manual proxy setup). If I enter our proxy server there, nothing changes.
I can’t take the computer outside - it’s a tower PC and it’s owned by the company.
I’m really desperate and don’t know, what to do. :frowning:

@gpetrowitsch, the only other option is the second work around in this FAQ that I just threw up:

@careyh; Thanks - I was hoping, that something like this should be possible. I will try it out, once I’m in the office again (mostly working in the home-office due to Corona…).

If I understand it correctly, the computer with the issue must be disconnected from the internet, when the files from the profile are copied from the USB stick and Komodo is started afterwards; only after this first start the internet connection may be re-established, right?

I don’t think this is necessary. You can be connected to the internet, but Komodo but be stopped. When Komodo starts again it will look for the saved files you imported, when it finds them it will skip the login dialog.

@careyh. Thank you very much - this solution worked perfectly.