Skip to content

Not working in Chrome, but perfect in Firefox [Bug]  #1894

@bboti86

Description

@bboti86

Describe the bug

Hi,
just found CasaOS and it made me instantly reinstall my RaspberryPI I use as a home server.
Works really great and flawless.

However I noticed something:

  • I use Chrome and the main page does not load:
    image
  • However works great from the same machine, in the same network from Firefox
  • If I copy the URL for an app and open it in chrome it works without problem

Interestingly if I use chrome on my phone or tablet it gives me the same error.

What did I do wrong??

From the same computer that has issues with chrome (curl also shows the HTML coming from CasaOS):

`$ curl 192.168.1.6

<title> CasaOS </title> We're sorry but CasaOS doesn't work properly without JavaScript enabled. Please enable it to continue.
<script type="text/javascript" src="/js/custom.js"></script> <script type="text/javascript" src="/vendors~app.b4baeef0.js"></script><script type="text/javascript" src="/app.3060172a.js"></script> `

Desktop (please complete the following information):

 - OS: Client: Arch Linux Server: Ubuntu 23.10
 - Browser Works with Firefox 127.0.2 (64 bit); does not work with Google Chrome Version 126.0.6478.126 (Official Build) (64-bit)

System Time

Run timedatectl and share the output
Client pc:

           Local time: Tue 2024-07-02 22:25:12 CEST
       Universal time: Tue 2024-07-02 20:25:12 UTC
             RTC time: Tue 2024-07-02 20:25:12
            Time zone: Europe/Budapest (CEST, +0200)
           System clock synchronized: yes
          NTP service: active
      RTC in local TZ: no

RaspberryPI Server:

           Local time: Tue 2024-07-02 22:25:27 CEST
       Universal time: Tue 2024-07-02 20:25:27 UTC
             RTC time: n/a
            Time zone: Europe/Budapest (CEST, +0200)
          System clock synchronized: yes
          NTP service: active
      RTC in local TZ: no
(timedatectl output here)

Logs

Run following command to collect corresponding logs:

sudo journalctl -xef -u casaos-gateway : https://pastebin.com/w0mPRmeb
sudo journalctl -xef -u casaos-user-service : https://pastebin.com/A2v10eTg 
sudo journalctl -xef -u casaos-local-storage : https://pastebin.com/8ysZi87G 
sudo journalctl -xef -u casaos-app-management : https://pastebin.com/2t6AjSbX
sudo journalctl -xef -u casaos.service : https://pastebin.com/uFvhDtQp

Let me know if you need me to run anything
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions