# No response from editor but dashboard UI stills works ?! (FIXED)

**URL:** https://discourse.nodered.org/t/no-response-from-editor-but-dashboard-ui-stills-works-fixed/57765
**Category:** General
**Created:** [4 February 2022 13:23 UTC](https://discourse.nodered.org/t/no-response-from-editor-but-dashboard-ui-stills-works-fixed/57765 "2022-02-04T13:23:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![vtgav](https://avatars.discourse-cdn.com/v4/letter/v/f0a364/32.png) [@vtgav](https://discourse.nodered.org/u/vtgav)
#### Post date: [4 February 2022 13:23 UTC](https://discourse.nodered.org/t/no-response-from-editor-but-dashboard-ui-stills-works-fixed/57765/1 "2022-02-04T13:23:55Z")

</div>

I have node-red V2.2.0 installed on an Azure debian 10 VM accessing a local MySQL database, using latest Chrome to access the editor and dashboard ui.  
Its been working fine for days as I've been developing the application. Today I had some sort of strange blip and when I refreshed the editor I just got a blank screen, however the dashboard UI still works.

I've stopped and restarted node-red - same result; blank node-red but dashboard UI works.  
I've stopped and restarted the VM itself, same results.

checking the node-red log file gives something interesting

```auto
4 Feb 12:25:13 - [info] Started flows
4 Feb 12:25:13 - [error] [mysql:90954e215c0fcf35] Database not connected
4 Feb 12:25:13 - [error] [mysql:1443a7ab59b87dc9] Database not connected

```

but . . . what does it mean ?? the dashboard UI works fine, and access data from mysql ?? and in any case I can't see the flows in order to change anything. But maybe the mysql error is not relevant to the real problem here.

If I use the chrome tools to look at that page there is an error message on there that may or may not be relevant :-

`*Access to CSS stylesheet at 'http://obfuscated:1880/vendor/jquery/css/base/jquery-ui.min.css?v=2.2.0' from origin 'http://obfuscated:1880' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `private`.*`

as an aside, the VM also runs a docker container with node-red which accesses the same mysql database - this also works fine from a dashboard UI perspective, but the editor behavior is different - it does load and does show its flows but loses connection within a few seconds and can't remake it. If I refrech the browser same thing happens - initial load then loses connection.  
This docker container isn't causing the main node-red problem - I've restarted the VM without the container running and get the same behaviour on the main editor screen - ie: blank

I'm a bit lost really ☹  
any ideas appreciated . . .  
Gav

---

<div class="post-metadata">

### Author: ![vtgav](https://avatars.discourse-cdn.com/v4/letter/v/f0a364/32.png) [@vtgav](https://discourse.nodered.org/u/vtgav)
#### Post date: [4 February 2022 13:40 UTC](https://discourse.nodered.org/t/no-response-from-editor-but-dashboard-ui-stills-works-fixed/57765/2 "2022-02-04T13:40:49Z")

</div>

OK chasing down the chrome error message helped . . .

see [Chrome CORS error on request to localhost dev server from remote site - Stack Overflow](https://stackoverflow.com/questions/66534759/chrome-cors-error-on-request-to-localhost-dev-server-from-remote-site)

changing my chrome setting for :  
_chrome://flags/#block-insecure-private-network-requests_

made the editor reappear ( no idea why it suddenly affected me from this morning ), however, I now get the 'lost connection to server' problem ☹

---

<div class="post-metadata">

### Author: ![vtgav](https://avatars.discourse-cdn.com/v4/letter/v/f0a364/32.png) [@vtgav](https://discourse.nodered.org/u/vtgav)
#### Post date: [4 February 2022 13:45 UTC](https://discourse.nodered.org/t/no-response-from-editor-but-dashboard-ui-stills-works-fixed/57765/3 "2022-02-04T13:45:51Z")

</div>

checking the chrome console after the CORS flag fix gives me this every time I get the lost connection message

```auto
WebSocket connection to 'ws://obfuscated:1880/comms' failed: 
s @ red.min.js?v=2.2.0:16
(anonymous) @ red.min.js?v=2.2.0:16

```

---

<div class="post-metadata">

### Author: ![vtgav](https://avatars.discourse-cdn.com/v4/letter/v/f0a364/32.png) [@vtgav](https://discourse.nodered.org/u/vtgav)
#### Post date: [4 February 2022 14:29 UTC](https://discourse.nodered.org/t/no-response-from-editor-but-dashboard-ui-stills-works-fixed/57765/4 "2022-02-04T14:29:43Z")

</div>

OK an update with some 'egg on face' I fear . . . I do need to set up DNS and certs and use https of course, but the real cause of this I've realised was that the 'strange blip' was after I connected to our company VPN and hence was accessing Azure via a different route ☹ apologies for being a complete idiot.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [5 April 2022 14:30 UTC](https://discourse.nodered.org/t/no-response-from-editor-but-dashboard-ui-stills-works-fixed/57765/5 "2022-04-05T14:30:22Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
