Neo4j Desktop hanging due to Invalid URL: --allow-file-access-from-files

I put this as a reply to another related item, but I am afraid that answering it with updates makes the original problem appear as resolved, which it is not.

In short, I updated the neo4j desktop application 1.4.11.58, and after that I have not been able to start the neo4j desktop application. I have no problems starting and using the database - I can use the console and connect with the browser without problems.

I tried to delete the .neo4jdesktop folder in my home folder and then starting the neo4j desktop app again. I now get a log file that I have pasted below. The system does create 3 processes called Neo4j Desktop.exe. One of them initially allocates around 500MB of RAM but then falls back to 110MB, where it stays, having no visible effect.

As you can see in the trace, one problem is the --allow-file-access-from-files in a URL, and another is accessing 40.64.135.1:12617. At this time it has populated the .neo4jdesktop directory with other information (distributions, graphApps, persist, projects, relate-data directories).

I need to get this annoying issue resolved so I can continue work on my graph app.

Here is the complete log file:
[2022-01-03 13:04:26.419] [info] Starting Neo4j Desktop 1.4.11 @ Windows_NT 10.0.19044

[2022-01-03 13:04:26.476] [error] Protocol Manager error TypeError [ERR_INVALID_URL]: Invalid URL: --allow-file-access-from-files

at onParseError (internal/url.js:259:9)

at new URL (internal/url.js:335:5)

at t.default (C:\Users\peter\AppData\Local\Programs\Neo4j Desktop\resources\app.asar\dist\main.prod.js:1:198740)

at App.<anonymous> (C:\Users\peter\AppData\Local\Programs\Neo4j Desktop\resources\app.asar\dist\main.prod.js:1:228223)

at App.emit (events.js:315:20)

at App.EventEmitter.emit (domain.js:467:12)

at App.emitter.emit (C:\Users\peter\AppData\Local\Programs\Neo4j Desktop\resources\app.asar\node_modules\@sentry\electron\dist\main\integrations\electron.js:63:25)

[2022-01-03 17:02:18.905] [info] Starting Neo4j Desktop 1.4.11 @ Windows_NT 10.0.19044

[2022-01-03 17:02:19.060] [info] Initializing persistence

[2022-01-03 17:02:19.062] [info] GraphQL server is running @ http://127.0.0.1:11001

[2022-01-03 17:02:19.067] [info] Creating persistent store - projects

[2022-01-03 17:02:19.074] [info] Creating persistent store - databases

[2022-01-03 17:02:19.078] [info] Creating persistent store - userData

[2022-01-03 17:02:19.082] [info] Creating persistent store - graphApps

[2022-01-03 17:02:19.085] [info] Creating persistent store - plugins

[2022-01-03 17:02:19.090] [info] Creating persistent store - distributions

[2022-01-03 17:02:19.094] [info] Creating persistent store - licenses

[2022-01-03 17:02:19.097] [info] Creating persistent store - notifications

[2022-01-03 17:02:19.100] [info] Creating persistent store - karhu

[2022-01-03 17:02:19.107] [info] Creating persistent store - permissions

[2022-01-03 17:02:19.110] [info] Creating persistent store - certificates

[2022-01-03 17:02:19.114] [info] Configuring crash reporting

[2022-01-03 17:02:19.115] [info] Creating new client ID

[2022-01-03 17:02:19.116] [info] Reading settings

[2022-01-03 17:02:19.118] [info] PowerShell compatibility check

[2022-01-03 17:02:19.429] [info] PowerShell version: 5. Required version: 5.

[2022-01-03 17:02:19.559] [info] PowerShell language mode: FullLanguage

[2022-01-03 17:02:19.562] [info] Reading bundled resources C:\Users\peter\AppData\Local\Programs\Neo4j Desktop\resources

[2022-01-03 17:02:19.565] [info] Distribution folder for java should exist

[2022-01-03 17:02:19.566] [info] Will copy [

'zulu11.41.23-ca-jdk11.0.8-win_x64.zip',

'zulu8.48.0.53-ca-jdk8.0.265-win_x64.zip'

]

[2022-01-03 17:02:25.294] [info] Distribution folder for neo4j should exist

[2022-01-03 17:02:25.297] [info] Will copy [ 'neo4j-enterprise-4.4.0-windows.zip' ]

[2022-01-03 17:02:25.382] [info] Reading bundled resources C:\Users\peter\AppData\Local\Programs\Neo4j Desktop\resources

[2022-01-03 17:02:25.384] [info] Distribution folder for graphApps should exist

[2022-01-03 17:02:25.385] [info] Will copy [ 'neo4j-bloom-1.9.1.tar.gz', 'neo4j-browser-4.4.1.tar.gz' ]

[2022-01-03 17:02:25.448] [info] Copying C:\Users\peter\AppData\Local\Programs\Neo4j Desktop\resources\offline\plugins to C:\Users\peter\AppData\Local\Neo4j\Relate\Cache\plugin

[2022-01-03 17:02:25.449] [info] Copying C:\Users\peter\AppData\Local\Programs\Neo4j Desktop\resources\offline\plugin-versions to C:\Users\peter.Neo4jDesktop\relate-data\plugin-versions

[2022-01-03 17:02:25.469] [info] Starting Nest application... NestFactory

[2022-01-03 17:02:25.483] [info] ElectronModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.484] [info] s dependencies initialized InstanceLoader

[2022-01-03 17:02:25.484] [info] ConfigHostModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.485] [info] WebModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.485] [info] WebModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.485] [info] ConfigModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.486] [info] ConfigModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.486] [info] SystemModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.486] [info] SystemModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.495] [info] GraphQLSchemaBuilderModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.495] [info] WindowModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.495] [info] n dependencies initialized InstanceLoader

[2022-01-03 17:02:25.496] [info] FilesModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.496] [info] AuthModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.496] [info] HealthModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.497] [info] DBMSModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.497] [info] DBMSPluginsModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.497] [info] DBModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.498] [info] ExtensionModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.498] [info] ProjectModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.498] [info] GraphQLModule dependencies initialized InstanceLoader

[2022-01-03 17:02:25.672] [info] Nest application successfully started NestApplication

[2022-01-03 17:02:25.828] [error] Error: listen EADDRNOTAVAIL: address not available 40.64.135.1:12617 NestApplication

[2022-01-03 17:02:25.828] [error] App initialization error Error: listen EADDRNOTAVAIL: address not available 40.64.135.1:12617

at Server.setupListenHandle [as _listen2] (net.js:1301:21)

at listenInCluster (net.js:1366:12)

at GetAddrInfoReqWrap.doListen [as callback] (net.js:1503:7)

at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:8)