-
Notifications
You must be signed in to change notification settings - Fork 68
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
Blank pages loading #81
Comments
Hi, Looks like you've already created a superAdmin user, and the authentication token is being corrupted, I recommend you to try and navigate to http://localhost:8080/ from an incognito window, or another browser in order to check if it's the problem |
Thanks for the quick response. I tried opening it on an incognito window and it is still the same. It always redirects to "http://localhost:8080/admin/welcome". I am hosting it on an AWS Ubuntu 16.04 EC2 instance. |
Yes, the redirection is expected, but it should show the admin onboarding, which branch are you deploying? Main? |
Yes. It is the main branch. |
I have tried it in a separate browser as well, and a circular loader spins up for a few seconds then it is blank. |
Well, it's certainly the first time that I'm seeing this bug, clearly, the backend is trying to parse a login token, but it's not being provided (because the user doesn't even exist). Can you try checking out to |
I tried these steps with |
I'll have a look, I'm sorry |
I've started a new Leemons installation in main branch, It's true that the backend error about jwt being invalid is appearing, but the frontend is displaying the installation wizzard correctly. I've done a fresh clone, I don't know why all you are having this error.
|
I've done a fresh clone, but I'm still encountering an error. |
@MIGUELez11 We tried with the fresh setup again & follow the same thing with main branch but still facing the same issues. |
I can't today, but I'm gonna answer for it. Can you please visit http://localhost:8080/api/status to check if the backend is listening correctly? What about http://localhost:3000/users/login? It's showing a login form without text? |
@MIGUELez11 i checked the api http://localhost:8080/api/status so it's listening perfectly with response. but http://localhost:3000/users/login shown me a blank page. |
The frontend is listening on port 3000, but you should access through 8080. @Cerberupo do you remember the cannot read default of undefined error from previously? |
@MIGUELez11 @Cerberupo Having same issue. the blank page is appearing with loader only. Not able to see the welcome wizard page with both the ports. |
Can anyone inspect the network tab and download it in a HAR type? Also, I have to add that we are migrating this version of Leemons to a new infrastructure, we're almost there :D. |
#Hi @MIGUELez11, Please find the attached HAR file. Please do let me know if you need any other information, happy to help. I am also facing the same issue as others (attached screenshot for the same). Another observation : |
@AAKCoder can you provide your |
Okay, with the har file viewed, can anyone provide a log? They're stored in |
Please find attached the log file, do let me know if anything else is required.. |
@MIGUELez11 I have not created any .env files, are we supposed to create? I am sorry if I missed that step, can you help me with what needs to be put in that? Attached the database.js file. |
I'm sorry, you don't need the |
@MIGUELez11 Thanks for the investigation, if anybody is able to help please do so.. Can migration to new infrastructure possibly help to solve this? When is the update expected? |
Hello there, I think I've found the solution, today I've started having this issue, for me it was not having I've done with vs code a replace with this:
And replaced it by
|
Hi!
I am getting a blank page when going to http://localhost:8080, http://localhost:8080/admin and http://localhost:3000. And below are the logs from the "yarn dev" server when loading localhost:8080.
The text was updated successfully, but these errors were encountered: