Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboards fail to load in iOS 15 (2023.11.0b0) #18419

Closed
3 tasks done
RobertD502 opened this issue Oct 25, 2023 · 16 comments · Fixed by #18438
Closed
3 tasks done

Dashboards fail to load in iOS 15 (2023.11.0b0) #18419

RobertD502 opened this issue Oct 25, 2023 · 16 comments · Fixed by #18438

Comments

@RobertD502
Copy link

RobertD502 commented Oct 25, 2023

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing

After updating to 2023.11.0b0, I found that dashboards don't load when accessing Home Assistant with Safari(iOS 15.1) or the Home Assistant companion app (I'm assuming this is due to it also using webkit). The following is seen when either accessing Home Assistant via Mobile Safari or the iOS companion app:

IMG_6627DFC1A169-1

I can confirm that this doesn't affect any other browsers (including more up to date Mac and iOS devices).
I have included an output from the dev console showing errors encountered on the iOS device.

Describe the behavior you expected

Dashboards should load normally.

Steps to reproduce the issue

Connect to Home Assistant on an iOS device running iOS 15.

What version of Home Assistant Core has the issue?

2023.11.0b0

What was the last working version of Home Assistant Core?

2023.10.5

In which browser are you experiencing the issue with?

iOS Safari

Which operating system are you using to run this browser?

iOS 15.1

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

[Error] Unhandled Promise Rejection: SyntaxError: Invalid regular expression: invalid group specifier name
	promiseEmptyOnRejected (3143-FKwm94Gin5A.js:1)
	promiseReactionJob
[Error] Error loading page – "lovelace"
SyntaxError: Invalid regular expression: invalid group specifier name
parseModule
(anonymous function)
asyncFunctionResume
(anonymous function)
promiseReactionJobWithoutPromise
	(anonymous function) (app-wENyGOpR21s.js:2:88631)
	promiseReactionJob


### Additional information

![image](https://github.com/home-assistant/frontend/assets/52541649/b3d62bed-ad2e-4075-9238-aebf1727a40b)
@piitaya
Copy link
Member

piitaya commented Oct 26, 2023

2023.11.0b1 will provide a fix for this one #18418. I hope it will resolve your issue too.

@RobertD502
Copy link
Author

RobertD502 commented Oct 26, 2023

Without me going and hunting it down, do you happen to know where the frontend files are located within Home Assistant OS or the container within the OS(I have SSH access to the host via port 2222, so I can make the changes seen in the PR to test if it is related instead of waiting on the beta 1 build)?

Disregard: Just read through the frontend architecture. I see I'd have to use the development mode for the frontend.

@bramkragten
Copy link
Member

Have you tried if this also happens in safe mode?

@bramkragten
Copy link
Member

This might be related to #18297

@bramkragten
Copy link
Member

Or #18250

@RobertD502
Copy link
Author

RobertD502 commented Oct 27, 2023

Have you tried if this also happens in safe mode?

Same issue in safe mode. Regardless of the dashboard/page, it happens - Energy page, Settings Page, etc. None of them load, but I'll have to wait for b1 to see if the previously mentioned fix does the trick.

Edit: Beta1 just showed up on my updates. Will try now.

@Rrapa
Copy link

Rrapa commented Oct 27, 2023

2023.11.0b1 is crashing dashboards on iOS 15 again I'm afraid ...

@RobertD502
Copy link
Author

RobertD502 commented Oct 27, 2023

@bramkragten
Indeed not fixed in b1. Would you mind reopening the issue? The dev console is showing the same errors as in beta0:

image

@silamon
Copy link
Contributor

silamon commented Oct 27, 2023

The b1 build didn't include the fix for this issue. I see it's now picked up, and this fix will be included in b2.

@RobertD502
Copy link
Author

RobertD502 commented Oct 27, 2023

The b1 build didn't include the fix for this issue. I see it's now picked up, and this fix will be included in b2.

I'm not sure what fix you're referring to. The potential fix I'm referring to is the one mentioned in piitaya's comment (the PR was part of the frontend 20231026.0 release, which was included in the core 2023.11.0b1 release.)

Edit: I see you're referring to the lookbehind PR.

@silamon
Copy link
Contributor

silamon commented Oct 27, 2023

What piitaya mentioned was a fix for a different issue which was most likely related. Bram included a different fix which closed this issue. That fix is in todays frontend release 20231027.0 which will end up in b2.

@RobertD502
Copy link
Author

Confirmed working in beta2.

@Rrapa
Copy link

Rrapa commented Oct 29, 2023

Same here - confirmed working

@madebywitteveen
Copy link

Same issue here; how to install B2 ?

@RobertD502
Copy link
Author

Same issue here; how to install B2 ?

No need to install the beta. Just install 2023.11.1, which includes all of the fixes done in the 2023.11 beta.

@madebywitteveen
Copy link

madebywitteveen commented Nov 5, 2023 via email

@github-actions github-actions bot locked and limited conversation to collaborators Nov 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants