-
-
Notifications
You must be signed in to change notification settings - Fork 764
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
[v1.0.0b] PWA shows white-screen when logged in (sometimes) #1077
Comments
I noticed this today as well on Android, seems intermittent for me. Will dig into it this week. |
Hoping someone else might have an idea of what's going on. As a temporary work around, if you can tap login fast enough it will let you pass the login screen, which I know is not ideal 😞 Edit: I'm an idiot and used fetch on the server. See here Should be fixed when that PR is merged |
* remove fetch / use axios fix #1077 * revert checkbox change * add password peek * fix bool check
thinks this is still happening? |
I haven't been able to replicate it with the most recent build. Make sure you grab the latest build of the nightly containers. You might also need to reinstall the PWA. |
I did some testing: It works ✅ if I add the PWA homescreen icon for the direct local IP Address to Mealie. It does not ❌ work if mealie is behind a reverse proxy (NGINX Proxy Manager in my case) ie: accessing mealie from https://mealie.domain.com |
issues are indeed gone after a removal :) both on Nginx and local :) |
Hmm ill do some more testing. It only works the first time behind NGINX for me. After I close out the PWA from the "task manager" it no longer works, and I get the same issues as before. I did try setting it up on a whole new subdomain and it still did not work. Do you use NGINX Proxy Manager? |
Ah yeah indeed, after force closing it, issues return! Using SWAG
…________________________________
Van: Wells ***@***.***>
Verzonden: woensdag 23 maart 2022 16:54
Aan: hay-kot/mealie ***@***.***>
CC: zierbeek ***@***.***>; Comment ***@***.***>
Onderwerp: Re: [hay-kot/mealie] [v1.0.0b] PWA shows white-screen when logged in (sometimes) (Issue #1077)
issues are indeed gone after a removal :) both on Nginx and local :)
Hmm ill do some more testing. It only works the first time behind NGINX for me. After I close out the PWA from the "task manager" it no longer works, and I get the same issues as before. I did try setting it up on a whole new subdomain and it still did not work. Do you use NGINX Proxy Manager?
—
Reply to this email directly, view it on GitHub<#1077 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOCC7WZW6YUZ3F2ZXPXIB7TVBM5C7ANCNFSM5RGSPSBQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Never-mind, I got it to fail. Back to the drawing board. |
Just tested, no issues with the demo site. |
Yeah, this is thoroughly confusing. I think the PR I did resolved the core issue that was causing the error, but the PWA is doing some aggressive caching that is causing the pages not to render correctly. It may be that you need to uninstall the PWA and delete all associated page data and re-install the PWA to get this to be resolved? I've done that and so far so good on my Ipad and Android phone and MacBook 🤞 |
No dice for me. I removed all PWA for it, and even setup access on a whole other domain, created the new PWA, and had the same issue. Ill keep doing some testing on my end with the reverse proxy and see if I can get anywhere. |
Bummer, I'd double check that you've got the latest build |
Checking in on this again. I haven't had the issue since updating and have been using it pretty regularly. |
I still have the issue on the latest update. Tried deleting and reinstalling the PWA. Just tried a few minutes ago. No help. Gave up on using it |
Same here
|
My 2c about this:
My setup is nightlies docker, behind traefik; this stack went up yesterday for the first time on this server so images are up-to-date. Thank you for all your work on this project! |
Not much I can do on this to troubleshoot since I can't replicate the issue with any of my devices. If anyone can troubleshoot on their end with a remote debugger with chrome or eq. and can provide some more information or ideas on what causing the issue that would be really helpful. |
I just tested this using even Microsoft Edge in Windows 11 by adding the "application" to my desktop and had the same issue. I can run debugger tools if needed but I dont really know what im doing with all that. I could create a dummy user account maybe for you to test if you need? |
I can reproduce this behavior even on chrome (Version 99.0.4844.84 (Official Build) (64-bit)) on my linux machine (the build number of Mealie as reported in Settings -> General about -> Build is 10784b6 by the way). How to reproduce on chrome on pc
All http request succeeded, but the console report an error:
The js is mimified so it's not easly debugged: maybe later I'll manage to setup Mealie in dev mode and look further into this issue. |
Good bot. The issue is still relevant though! |
Just cross-linking. I started encountering this issue after installing the attempted fix for #1816. I've completely blown away the storage for the site and all cookies, but the issue persists. I wasn't previously encountering the problem, so this is a new behaviour. Let me know if there's any testing I can perform for you. I've got my configuration listed in #1816 (comment) |
@articuno1au, do you know the last good build number where you weren't experiencing the PWA error? |
FWIW I wasn't experiencing it before either, but that's because it logged me out every time I opened the PWA, so I never had the chance for the redirect to fail (because it never redirected). So the issue still existed, it just basically got cancelled out by the login state not persisting |
Trying another fix Will give it a try again once the build is complete. 🤞 |
Tested and confirmed its operational for me across multiple devices! Thanks so much!! |
I was getting the same earlier today. Trying another fix, should be built soon. https://github.com/hay-kot/mealie/actions/runs/3859534260 |
Latest one seems to work correctly! |
Looks to be working for me as well! |
So, it's not working for me, but I'm unsure if I have the correct code. I'm currently running the following front-end hash: sha256:400eb63197207faa11d1370f29abbf237dbf9b35628a0306cd85dabdd767b56c |
Didn't mean to close this, whoops! @articuno1au, did you do the following?
|
Yeah, I cleared data. Scrub that. It seems to be resolved. I had been logging in then installing the PWA. I installed the PWA then logged in and it started working. I've tested a bunch of times, still working without issue. Not sure why that would make a difference.. Lgtm. |
I can't confirm that it works :/ I uninstalled the PWA, deleted all browser data in firefox, installed the PWA w/o prior login and then logged in inside the PWA. This worked better than before, but when I closed the PWA and tried to reenter, mealie first asks me to enter my credentials, but then the screen turns blank as before. |
@SimSon2710 - Just for isolation testing, do you want to try again with a clean browser like Chrome or Vivaldi? I found some weird caching stuff with the PWA. |
@articuno1au - I just tried both, completely new and clean installation of Vivaldi and Chrome, but the issue persist :/ |
Worth a try. I can't replicate on my end I'm sorry. Good luck getting it sorted. |
Up until the most recent builds I've been able to replicate the issue but now the PWA works as expected. As such, there's not much else I can do without any kind of ability to reproduce the issue. I would make sure / try the following
If none of that works, I'd need to get some information from your browser console on your phone which is a whole thing... Let me know! |
Same here on the latest nightly. @hay-kot are you still looking for someone to send debug logs? |
Sorry I haven't answered anymore, but I was lost under a heap of work. I just updated mealie, and now it seems to work fine! |
It works now for us, too! :) Thank you |
First Check
What is the issue you are experiencing?
After setting up Mealie 1.0.0b, I added a homescreen shortcut within iOS, and initially it worked, it let me login. After closing out, and closing out from the iOS “task manager”, It will no longer load correctly. I see the login screen for a brief moment, and then it goes to a white page. This only occurs for the iOS Add to Homescreen function.
Deployment
Docker (Linux)
Deployment Details
I run this within docker on Ubuntu Server 20.04 Headless. I run the site behind Nginx Proxy Manager.
The text was updated successfully, but these errors were encountered: