Comments (21)
What version of Safari? And can you test Firefox?
from dashboard.
Safari: Version 13.1.3 (15609.4.1)
from dashboard.
I only have Safari 14.1.1 (16611.2.7.1.4) locally on a Mac but am unable to reproduce it.
I ran it this way as per the docs:
docker run --rm -p 6052:6052 -e ESPHOME_DASHBOARD_USE_PING=true -v "${PWD}":/config -it esphome/esphome
In Safari, can you go to develop -> Show JavaScript console and refresh the page. Do you see any errors?
from dashboard.
Related: esphome/issues#2174
Maybe interesting snippet:
everything works if i go to the ip:port of esphome 192.168.1.xx:6052, it just doesn't work in a frame within home assistant
from dashboard.
ok... so I left a small bit of info out of the original issue. I run the swag (https://hub.docker.com/r/linuxserver/swag) reverse proxy for esphome dashboard and homeassistant (takes care of my LetsEncrypt SSL certs). If I connect direct to the docker instance on port 6052 it all works.
from dashboard.
What version of Safari? And can you test Firefox?
Worked in Firefox via the SSL reverse proxy
from dashboard.
I only have Safari 14.1.1 (16611.2.7.1.4) locally on a Mac but am unable to reproduce it.
I ran it this way as per the docs:
docker run --rm -p 6052:6052 -e ESPHOME_DASHBOARD_USE_PING=true -v "${PWD}":/config -it esphome/esphome
In Safari, can you go to develop -> Show JavaScript console and refresh the page. Do you see any errors?
The only error I see in the Javascript console is this:
from dashboard.
i have the same issue, esphome/issues#2174
running safari Version 13.1.2 (13609.3.5.1.5)
safari useragent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15
javascript console i get 1 error and two warnings
[Warning] The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. (app.bcb38ac1.js, line 849)
[Warning] The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. (entrypoint.0d3c68f7.js, line 4171)
[Error] Failed to load resource: the server responded with a status of 401 (Unauthorized) (index-7c27abab.js, line 0)
from dashboard.
@erikpendragon there is no authorization on the dashboard so maybe you also forgot to mention that you're running something custom in front of it?
from dashboard.
i have nginx setup as per the add-on instructions with duckdns
domain: '!secret dns_domain'
certfile: fullchain.pem
keyfile: privkey.pem
hsts: max-age=31536000; includeSubDomains
cloudflare: false
customize:
active: false
default: nginx_proxy_default*.conf
servers: nginx_proxy/*.conf
from dashboard.
@erikpendragon there is no authorization on the dashboard so maybe you also forgot to mention that you're running something custom in front of it?
I run Authelia with SWAG. Authelia provides the authentication for the reverse proxy. It worked fine during the 1.18.0 to 1.19.2 upgrade using Chrome and Firefox, it is only Safari that is causing issues.
from dashboard.
Oh you run Authelia in front of it too? Another "small bit" you forgot to mention.
I am going to take a break from this issue as I feel like I am being sent on a goose chase.
from dashboard.
mine worked fine before 1.19.x+ as well
from dashboard.
Here is how to fix it home-assistant/frontend#3259
Feel free to open a PR.
from dashboard.
Here is how to fix it home-assistant/frontend#3259
Feel free to open a PR.
i am not sure how this fixes it, it looks to be a code change to the front end. am i expected to pull this myself and request it to be merged back in corrected? how does this issue become a fix?
from dashboard.
It's been raised here as well: esphome/issues#2174
from dashboard.
I have same problem since couple of versions ago.
How to fix it? The link above doesn't really tell how to fix.
from dashboard.
I changed to Firefox and itβs working again.
from dashboard.
Yes, Chrome works also but it should work in Safari as well as it did before.
from dashboard.
Agree
from dashboard.
Was this fixed or just closed?
from dashboard.
Related Issues (20)
- Failed to initialize. HOT 3
- Pasted in yaml validation wrong
- Feature: Native HTTPS Support HOT 1
- ACE Websocket messages not always JSON
- editor issues HOT 4
- Editor scroll on mobile HOT 1
- Default tab length in "monaco" editor is now 4 signs instead of 2? HOT 1
- ESPHome editor in HA change color quotes HOT 2
- Can not adopt Olimex POE BT proxy in ESPhome HOT 4
- No Paste command on context menu HOT 3
- Adopted POE proxy remains in Dashboard as 'Discovered', and doesnt do 'Active' HOT 4
- Opening install choose dialog triggers 500 for new configurations
- Dark theme HOT 2
- List of boards should be sorted
- UI cursor freeze(no respone) while editing yaml
- "Show API Key" dialog shows "Loading..." forever if no encryption key in config
- Deploy dashboard in Kubernetes HOT 1
- Change "Stop" button to "Dismiss"?
- Remove "ignoreDeprecations": "5.0" from tsconfig
- ESPHome always requires a WiFi network HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dashboard.