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

[Bug] SSL certificate problem: certificate has expired More details here: https://curl.se/docs/sslcerts.html #2059

Open
faro75 opened this issue Nov 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@faro75
Copy link

faro75 commented Nov 16, 2024

Describe the bug
not able to install casaos

A clear and concise description of what the bug is.
SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html
To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

 - OS: [e.g. iOS]
 - Browser [e.g. chrome, safari]
 - Version [e.g. 22]

System Time

Run timedatectl and share the output

(timedatectl output here)

Logs

Run following command to collect corresponding logs:

sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service

casaos@casaos:~$ curl -fsSL https://get.casaos.io | sudo bash
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
casaos@casaos:~$ - OS: [e.g. iOS]

  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
    -bash: -: command not found
    -bash: -: command not found
    -bash: -: command not found
    casaos@casaos:$ (timedatectl output here)
    Unknown command verb output.
    casaos@casaos:
    $ sudo journalctl -xef -u casaos-gateway
    sudo journalctl -xef -u casaos-user-service
    sudo journalctl -xef -u casaos-local-storage
    sudo journalctl -xef -u casaos-app-management
    sudo journalctl -xef -u casaos.service
    -- Journal begins at Thu 2024-05-09 01:42:09 EDT. --
    May 09 01:42:10 casaos systemd[1]: Starting CasaOS Gateway...
    ░░ Subject: A start job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 80.
    May 09 01:42:11 casaos casaos-gateway[516]: v0.4.4
    May 09 01:42:12 casaos casaos-gateway[575]: git commit: 6ef077387c645cf67d8a718369b1406bd00d1538
    May 09 01:42:12 casaos casaos-gateway[575]: build date: 2023-07-24T08:31:51Z
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] PROVIDE *service.State <= main.main.func4()
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] PROVIDE *service.Management <= github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] PROVIDE *route.ManagementRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] PROVIDE *route.GatewayRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] PROVIDE *route.StaticRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] INVOKE main.run()
    May 09 01:42:12 casaos casaos-gateway[575]: 2024-05-09T01:42:12.218-0400 error Failed to load routes {"error": "open /var/run/casaos/routes.json: no such file or directory", "filepath": "/var/run/casaos/routes.json", "func": "service.NewManagementService", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/service/management.go", "line": 32}
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] HOOK OnStart main.run.func1() executing (caller: main.run)
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] HOOK OnStart main.run.func1() called by main.run ran successfully in 675.86µs
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] HOOK OnStart main.run.func2() executing (caller: main.run)
    May 09 01:42:12 casaos casaos-gateway[575]: 2024-05-09T01:42:12.221-0400 info Management service is listening... {"address": "127.0.0.1:33791", "filepath": "/var/run/casaos/management.url", "func": "main.run.func1.1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 185}
    May 09 01:42:12 casaos casaos-gateway[575]: 2024-05-09T01:42:12.221-0400 info Checking if service at URL is running... {"url": "http://[::]:80/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 361}
    May 09 01:42:12 casaos casaos-gateway[575]: 2024-05-09T01:42:12.226-0400 info New gateway is listening... {"address": "[::]:80", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 337}
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] HOOK OnStart main.run.func2() called by main.run ran successfully in 5.013392ms
    May 09 01:42:12 casaos casaos-gateway[575]: [Fx] HOOK OnStart main.run.func3() executing (caller: main.run)
    May 09 01:42:12 casaos casaos-gateway[575]: 2024-05-09T01:42:12.226-0400 info Static web service is listening... {"address": "127.0.0.1:43685", "filepath": "/var/run/casaos/static.url", "func": "main.run.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 290}
    May 09 01:42:12 casaos systemd[1]: Started CasaOS Gateway.
    ░░ Subject: A start job for unit casaos-gateway.service has finished successfully
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has finished successfully.
    ░░
    ░░ The job identifier is 80.
    May 09 01:42:12 casaos casaos-gateway[575]: 2024-05-09T01:42:12.228-0400 info Notified systemd that gateway is ready {"func": "main.main.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 136}
    May 09 01:42:13 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:13 | 200 | 1.645701ms | 127.0.0.1 | GET "/ping"
    May 09 01:42:13 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:13 | 201 | 898.296µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:13 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:13 | 201 | 2.84625ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 200 | 1.884208ms | 127.0.0.1 | GET "/ping"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 818.296µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 764.137µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 1.715834ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 1.868608ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 986.767µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 1.521936ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 1.100257ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 1.115575ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 1.259375ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 1.102223ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 751.476µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 750.701µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 815.19µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 674.304µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 747.119µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 988.665µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 818.769µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 200 | 424.463µs | 127.0.0.1 | GET "/ping"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 775.4µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 733.112µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 721.928µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:15 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:15 | 201 | 760.251µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:19 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:19 | 200 | 413.123µs | 127.0.0.1 | GET "/ping"
    May 09 01:42:20 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:20 | 201 | 718.242µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:20 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:20 | 201 | 731.412µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:20 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:20 | 201 | 797.502µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:20 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:20 | 201 | 715.823µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:20 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:20 | 201 | 765.451µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:31 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:31 | 200 | 447.113µs | 127.0.0.1 | GET "/ping"
    May 09 01:42:32 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:32 | 201 | 749.03µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:32 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:32 | 201 | 770.203µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:32 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:32 | 201 | 1.08579ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:32 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:32 | 201 | 1.270516ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:42:32 casaos casaos-gateway[575]: [GIN] 2024/05/09 - 01:42:32 | 201 | 968.589µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:17 casaos systemd[1]: Stopping CasaOS Gateway...
    ░░ Subject: A stop job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 872.
    May 09 01:53:17 casaos casaos-gateway[575]: [Fx] ERROR Failed to start: context canceled
    May 09 01:53:17 casaos casaos-gateway[575]: 2024-05-09T01:53:17.725-0400 info A gateway is stopped {"address": "[::]:80", "func": "main.reloadGateway.func1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 324}
    May 09 01:53:17 casaos systemd[1]: casaos-gateway.service: Succeeded.
    ░░ Subject: Unit succeeded
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service has successfully entered the 'dead' state.
    May 09 01:53:17 casaos systemd[1]: Stopped CasaOS Gateway.
    ░░ Subject: A stop job for unit casaos-gateway.service has finished
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has finished.
    ░░
    ░░ The job identifier is 872 and the job result is done.
    May 09 01:53:17 casaos systemd[1]: casaos-gateway.service: Consumed 1.279s CPU time.
    ░░ Subject: Resources consumed by unit runtime
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service completed and consumed the indicated resources.
    May 09 01:53:17 casaos systemd[1]: Starting CasaOS Gateway...
    ░░ Subject: A start job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 872.
    May 09 01:53:18 casaos casaos-gateway[3136]: v0.4.8
    May 09 01:53:18 casaos casaos-gateway[3142]: git commit: c63f7c502de32f430cfeb9fc3e6a6c89d3c19032
    May 09 01:53:18 casaos casaos-gateway[3142]: build date: 2024-03-12T08:51:02Z
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] PROVIDE *service.State <= main.main.func4()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] PROVIDE *service.Management <= github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] PROVIDE *route.ManagementRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] PROVIDE *route.GatewayRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] PROVIDE *route.StaticRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] INVOKE main.run()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] RUN provide: go.uber.org/fx.New.func1()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] RUN provide: main.main.func4()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] HOOK OnStart main.run.func1() executing (caller: main.run)
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] HOOK OnStart main.run.func1() called by main.run ran successfully in 721.843µs
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] HOOK OnStart main.run.func2() executing (caller: main.run)
    May 09 01:53:18 casaos casaos-gateway[3142]: 2024-05-09T01:53:18.858-0400 info Checking if service at URL is running... {"url": "http://[::]:80/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
    May 09 01:53:18 casaos casaos-gateway[3142]: 2024-05-09T01:53:18.858-0400 info Management service is listening... {"address": "127.0.0.1:44179", "filepath": "/var/run/casaos/management.url", "func": "main.run.func1.1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 206}
    May 09 01:53:18 casaos casaos-gateway[3142]: 2024-05-09T01:53:18.860-0400 info New gateway is listening... {"address": "[::]:80", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] HOOK OnStart main.run.func2() called by main.run ran successfully in 2.326695ms
    May 09 01:53:18 casaos casaos-gateway[3142]: [Fx] HOOK OnStart main.run.func3() executing (caller: main.run)
    May 09 01:53:18 casaos casaos-gateway[3142]: 2024-05-09T01:53:18.861-0400 info Static web service is listening... {"address": "127.0.0.1:42915", "filepath": "/var/run/casaos/static.url", "func": "main.run.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 311}
    May 09 01:53:18 casaos systemd[1]: Started CasaOS Gateway.
    ░░ Subject: A start job for unit casaos-gateway.service has finished successfully
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has finished successfully.
    ░░
    ░░ The job identifier is 872.
    May 09 01:53:18 casaos casaos-gateway[3142]: 2024-05-09T01:53:18.863-0400 info Notified systemd that gateway is ready {"func": "main.main.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 157}
    May 09 01:53:20 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:20 | 200 | 1.710287ms | 127.0.0.1 | GET "/ping"
    May 09 01:53:20 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:20 | 201 | 3.032186ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:20 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:20 | 201 | 755.174µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:22 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:22 | 200 | 473.738µs | 127.0.0.1 | GET "/ping"
    May 09 01:53:22 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:22 | 201 | 722.997µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:22 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:22 | 201 | 696.372µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:22 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:22 | 201 | 712.971µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:22 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:22 | 201 | 765.342µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:26 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:26 | 200 | 465.472µs | 127.0.0.1 | GET "/ping"
    May 09 01:53:26 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:26 | 201 | 753.095µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:26 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:26 | 201 | 733.377µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:26 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:26 | 201 | 821.25µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:26 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:26 | 201 | 737.478µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:26 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:26 | 201 | 813.788µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:35 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:35 | 200 | 430.157µs | 127.0.0.1 | GET "/ping"
    May 09 01:53:37 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:37 | 201 | 1.009043ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:37 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:37 | 201 | 965.762µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:37 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:37 | 201 | 806.99µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:37 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:37 | 201 | 895.6µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:37 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:37 | 201 | 767.328µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 200 | 404.758µs | 127.0.0.1 | GET "/ping"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 755.981µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 863.953µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 1.020353ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 1.007128ms | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 858.758µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 900.716µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 820.663µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 748.947µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 779.616µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 747.447µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 790.454µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 729.1µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 753.175µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 729.946µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 823.898µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 730.751µs | 127.0.0.1 | POST "/v1/gateway/routes"
    May 09 01:53:38 casaos casaos-gateway[3142]: [GIN] 2024/05/09 - 01:53:38 | 201 | 722.269µs | 127.0.0.1 | POST "/v1/gateway/routes"
    -- Boot bb7d770fc67d43139469f8f38d202324 --
    Sep 18 23:43:02 casaos systemd[1]: Starting CasaOS Gateway...
    ░░ Subject: A start job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 96.
    Sep 18 23:43:03 casaos casaos-gateway[516]: v0.4.8
    Sep 18 23:43:03 casaos casaos-gateway[552]: git commit: c63f7c502de32f430cfeb9fc3e6a6c89d3c19032
    Sep 18 23:43:03 casaos casaos-gateway[552]: build date: 2024-03-12T08:51:02Z
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] PROVIDE *service.State <= main.main.func4()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] PROVIDE *service.Management <= github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] PROVIDE *route.ManagementRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] PROVIDE *route.GatewayRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] PROVIDE *route.StaticRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] INVOKE main.run()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] RUN provide: go.uber.org/fx.New.func1()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] RUN provide: main.main.func4()
    Sep 18 23:43:04 casaos casaos-gateway[552]: 2170-09-18T23:43:04.013-0400 error Failed to load routes {"error": "open /var/run/casaos/routes.json: no such file or directory", "filepath": "/var/run/casaos/routes.json", "func": "service.NewManagementService", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/service/management.go", "line": 32}
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] HOOK OnStart main.run.func1() executing (caller: main.run)
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] HOOK OnStart main.run.func1() called by main.run ran successfully in 635.718µs
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] HOOK OnStart main.run.func2() executing (caller: main.run)
    Sep 18 23:43:04 casaos casaos-gateway[552]: 2170-09-18T23:43:04.016-0400 info Checking if service at URL is running... {"url": "http://[::]:80/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
    Sep 18 23:43:04 casaos casaos-gateway[552]: 2170-09-18T23:43:04.017-0400 info Management service is listening... {"address": "127.0.0.1:45311", "filepath": "/var/run/casaos/management.url", "func": "main.run.func1.1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 206}
    Sep 18 23:43:04 casaos casaos-gateway[552]: 2170-09-18T23:43:04.020-0400 info New gateway is listening... {"address": "[::]:80", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] HOOK OnStart main.run.func2() called by main.run ran successfully in 3.470252ms
    Sep 18 23:43:04 casaos casaos-gateway[552]: [Fx] HOOK OnStart main.run.func3() executing (caller: main.run)
    Sep 18 23:43:04 casaos casaos-gateway[552]: 2170-09-18T23:43:04.020-0400 info Static web service is listening... {"address": "127.0.0.1:37197", "filepath": "/var/run/casaos/static.url", "func": "main.run.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 311}
    Sep 18 23:43:04 casaos systemd[1]: Started CasaOS Gateway.
    ░░ Subject: A start job for unit casaos-gateway.service has finished successfully
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has finished successfully.
    ░░
    ░░ The job identifier is 96.
    Sep 18 23:43:04 casaos casaos-gateway[552]: 2170-09-18T23:43:04.022-0400 info Notified systemd that gateway is ready {"func": "main.main.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 157}
    Sep 18 23:43:05 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:05 | 200 | 1.534668ms | 127.0.0.1 | GET "/ping"
    Sep 18 23:43:05 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:05 | 201 | 866.597µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:05 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:05 | 201 | 2.839307ms | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 200 | 734.986µs | 127.0.0.1 | GET "/ping"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 724.307µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 2.148912ms | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 885.514µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 885.186µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 829.877µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 786.342µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 873.754µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 789.512µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 888.346µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 715.904µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 2.555309ms | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 771.846µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 682.998µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 669.673µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 831.421µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 683.7µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:06 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:06 | 201 | 719.12µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:07 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:07 | 200 | 565.202µs | 127.0.0.1 | GET "/ping"
    Sep 18 23:43:07 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:07 | 201 | 738.063µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:07 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:07 | 201 | 725.681µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:07 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:07 | 201 | 822.918µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:07 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:07 | 201 | 757.183µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:11 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:11 | 200 | 1.616448ms | 127.0.0.1 | GET "/ping"
    Sep 18 23:43:11 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:11 | 201 | 754.068µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:11 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:11 | 201 | 725.078µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:11 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:11 | 201 | 733.083µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:11 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:11 | 201 | 707.701µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:11 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:11 | 201 | 781.746µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:23 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:23 | 200 | 477.483µs | 127.0.0.1 | GET "/ping"
    Sep 18 23:43:25 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:25 | 201 | 705.099µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:25 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:25 | 201 | 764.337µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:25 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:25 | 201 | 739.946µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:25 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:25 | 201 | 747.067µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:43:25 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:43:25 | 201 | 746.139µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:48:08 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:08 | 200 | 58.487363ms | 192.168.2.138 | GET "/"
    Sep 18 23:48:08 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:08 | 200 | 46.295098ms | 192.168.2.138 | GET "/js/custom.js"
    Sep 18 23:48:08 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:08 | 200 | 72.952704ms | 192.168.2.138 | GET "/css/custom.css"
    Sep 18 23:48:08 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:08 | 200 | 112.800542ms | 192.168.2.138 | GET "/0.97b366b0.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 169.695763ms | 192.168.2.138 | GET "/1.5db3d552.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 253.03194ms | 192.168.2.138 | GET "/app.743a8bea.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 4.000076ms | 192.168.2.138 | GET "/14.ea992751.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 76.449404ms | 192.168.2.138 | GET "/13.4eb610e5.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 127.658512ms | 192.168.2.138 | GET "/12.d80889b5.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 268.04299ms | 192.168.2.138 | GET "/11.ce8fcfca.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 5.38302ms | 192.168.2.138 | GET "/15.8e16de3d.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 3.180805ms | 192.168.2.138 | GET "/16.e96bae27.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 3.120397ms | 192.168.2.138 | GET "/17.253263a5.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 3.463271ms | 192.168.2.138 | GET "/18.862a58c9.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 5.008001ms | 192.168.2.138 | GET "/19.a0b503ec.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 5.982677ms | 192.168.2.138 | GET "/20.a5e5eb0a.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 2.443875ms | 192.168.2.138 | GET "/22.f8a37fab.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 3.101137ms | 192.168.2.138 | GET "/21.d37c47df.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 4.206879ms | 192.168.2.138 | GET "/23.189da12b.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 2.765084ms | 192.168.2.138 | GET "/24.e4342521.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 2.653748ms | 192.168.2.138 | GET "/25.6364e736.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 3.162798ms | 192.168.2.138 | GET "/26.d4f409fb.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 2.894159ms | 192.168.2.138 | GET "/28.bd260a86.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 3.083811ms | 192.168.2.138 | GET "/27.4433a5de.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 2.622304ms | 192.168.2.138 | GET "/29.ad6cf14a.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 33.545552ms | 192.168.2.138 | GET "/31.fae1dfad.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 10.039407ms | 192.168.2.138 | GET "/30.a3217f4f.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 497.322044ms | 192.168.2.138 | GET "/vendorsapp.7a036e8b.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 490.266851ms | 192.168.2.138 | GET "/10.f3328bf0.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 15.092795ms | 192.168.2.138 | GET "/33.9948e8ec.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 21.326901ms | 192.168.2.138 | GET "/34.63def333.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 34.01407ms | 192.168.2.138 | GET "/4.2576959f.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 237.069773ms | 192.168.2.138 | GET "/3.79db4798.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 179.245464ms | 192.168.2.138 | GET "/32.caaab8ce.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 307.450377ms | 192.168.2.138 | GET "/2.abf03c34.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 65.551921ms | 192.168.2.138 | GET "/36.63661a27.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 3.150699ms | 192.168.2.138 | GET "/5.6789f567.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 4.41665ms | 192.168.2.138 | GET "/8.befcb5ef.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 8.238335ms | 192.168.2.138 | GET "/7.ba6d8217.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 34.233409ms | 192.168.2.138 | GET "/6.85178cc6.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 103.137745ms | 192.168.2.138 | GET "/9.4a721de6.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 269.762982ms | 192.168.2.138 | GET "/35.a873a57d.js"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 41.117842ms | 192.168.2.138 | GET "/css/animate.min.css"
    Sep 18 23:48:09 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:09 | 200 | 40.390172ms | 192.168.2.138 | GET "/img/default_wallpaper.459c0744.jpg"
    Sep 18 23:48:10 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:10 | 200 | 4.669463ms | 192.168.2.138 | GET "/img/casa-dark.e40b39b0.svg"
    Sep 18 23:48:10 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:10 | 200 | 36.793499ms | 192.168.2.138 | GET "/favicon.ico"
    Sep 18 23:48:14 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:14 | 200 | 35.351051ms | 192.168.2.138 | GET "/img/default-avatar.48989365.svg"
    Sep 18 23:48:14 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:14 | 200 | 99.96228ms | 192.168.2.138 | GET "/fonts/materialdesignicons-webfont.66e43f0f.woff2"
    Sep 18 23:48:42 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:42 | 200 | 37.944374ms | 192.168.2.138 | GET "/img/logo.4b14f83d.png"
    Sep 18 23:48:42 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:42 | 200 | 39.80303ms | 192.168.2.138 | GET "/fonts/casaos.e0782031.ttf"
    Sep 18 23:48:42 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:42 | 200 | 702.057µs | 192.168.2.138 | GET "/v1/gateway/port"
    Sep 18 23:48:42 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:42 | 200 | 39.13605ms | 192.168.2.138 | GET "/img/swiper-right.7cdebae6.svg"
    Sep 18 23:48:42 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:42 | 200 | 34.261728ms | 192.168.2.138 | GET "/img/smart_icon.aa9718f9.svg"
    Sep 18 23:48:42 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:42 | 200 | 38.801405ms | 192.168.2.138 | GET "/img/sync.96982f4e.svg"
    Sep 18 23:48:42 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:42 | 200 | 41.977635ms | 192.168.2.138 | GET "/img/swiper-left.26854ed9.svg"
    Sep 18 23:48:42 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:42 | 200 | 3.504829ms | 192.168.2.138 | GET "/img/storage.5b007d8f.svg"
    Sep 18 23:48:43 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:43 | 200 | 37.749318ms | 192.168.2.138 | GET "/img/waiting-white.6d039335.svg"
    Sep 18 23:48:43 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:43 | 200 | 15.65684ms | 192.168.2.138 | GET "/img/files.8e1fb67b.svg"
    Sep 18 23:48:43 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:48:43 | 200 | 22.594312ms | 192.168.2.138 | GET "/img/appstore.8437ce09.svg"
    Sep 18 23:49:40 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:49:40 | 200 | 41.23076ms | 192.168.2.138 | GET "/img/default.ee0295e7.svg"
    Sep 18 23:53:55 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:53:55 | 200 | 34.422466ms | 192.168.2.138 | GET "/img/success.066bb944.svg"
    Sep 18 23:56:54 casaos casaos-gateway[552]: [GIN] 2170/09/18 - 23:56:54 | 200 | 40.70653ms | 192.168.2.138 | GET "/img/waiting-white.43bd9d72.svg"
    Sep 18 23:56:54 casaos systemd[1]: Stopping CasaOS Gateway...
    ░░ Subject: A stop job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 621.
    Sep 18 23:56:54 casaos casaos-gateway[552]: [Fx] ERROR Failed to start: context canceled
    Sep 18 23:56:54 casaos casaos-gateway[552]: 2170-09-18T23:56:54.785-0400 info A gateway is stopped {"address": "[::]:80", "func": "main.reloadGateway.func1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 345}
    Sep 18 23:56:54 casaos systemd[1]: casaos-gateway.service: Succeeded.
    ░░ Subject: Unit succeeded
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service has successfully entered the 'dead' state.
    Sep 18 23:56:54 casaos systemd[1]: Stopped CasaOS Gateway.
    ░░ Subject: A stop job for unit casaos-gateway.service has finished
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has finished.
    ░░
    ░░ The job identifier is 621 and the job result is done.
    Sep 18 23:56:54 casaos systemd[1]: casaos-gateway.service: Consumed 5.250s CPU time.
    ░░ Subject: Resources consumed by unit runtime
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service completed and consumed the indicated resources.
    -- Boot ae250083fda74585a490ad2ad996f8a1 --
    Sep 18 23:57:18 casaos systemd[1]: Starting CasaOS Gateway...
    ░░ Subject: A start job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 119.
    Sep 18 23:57:19 casaos casaos-gateway[511]: v0.4.8
    Sep 18 23:57:19 casaos casaos-gateway[550]: git commit: c63f7c502de32f430cfeb9fc3e6a6c89d3c19032
    Sep 18 23:57:19 casaos casaos-gateway[550]: build date: 2024-03-12T08:51:02Z
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] PROVIDE *service.State <= main.main.func4()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] PROVIDE *service.Management <= github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] PROVIDE *route.ManagementRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] PROVIDE *route.GatewayRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] PROVIDE *route.StaticRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] INVOKE main.run()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] RUN provide: go.uber.org/fx.New.func1()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] RUN provide: main.main.func4()
    Sep 18 23:57:19 casaos casaos-gateway[550]: 2170-09-18T23:57:19.802-0400 error Failed to load routes {"error": "open /var/run/casaos/routes.json: no such file or directory", "filepath": "/var/run/casaos/routes.json", "func": "service.NewManagementService", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/service/management.go", "line": 32}
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] HOOK OnStart main.run.func1() executing (caller: main.run)
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] HOOK OnStart main.run.func1() called by main.run ran successfully in 783.538µs
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] HOOK OnStart main.run.func2() executing (caller: main.run)
    Sep 18 23:57:19 casaos casaos-gateway[550]: 2170-09-18T23:57:19.808-0400 info Checking if service at URL is running... {"url": "http://[::]:80/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
    Sep 18 23:57:19 casaos casaos-gateway[550]: 2170-09-18T23:57:19.809-0400 info Management service is listening... {"address": "127.0.0.1:43187", "filepath": "/var/run/casaos/management.url", "func": "main.run.func1.1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 206}
    Sep 18 23:57:19 casaos casaos-gateway[550]: 2170-09-18T23:57:19.812-0400 info New gateway is listening... {"address": "[::]:80", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] HOOK OnStart main.run.func2() called by main.run ran successfully in 4.503778ms
    Sep 18 23:57:19 casaos casaos-gateway[550]: [Fx] HOOK OnStart main.run.func3() executing (caller: main.run)
    Sep 18 23:57:19 casaos casaos-gateway[550]: 2170-09-18T23:57:19.812-0400 info Static web service is listening... {"address": "127.0.0.1:45029", "filepath": "/var/run/casaos/static.url", "func": "main.run.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 311}
    Sep 18 23:57:19 casaos systemd[1]: Started CasaOS Gateway.
    ░░ Subject: A start job for unit casaos-gateway.service has finished successfully
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has finished successfully.
    ░░
    ░░ The job identifier is 119.
    Sep 18 23:57:19 casaos casaos-gateway[550]: 2170-09-18T23:57:19.815-0400 info Notified systemd that gateway is ready {"func": "main.main.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 157}
    Sep 18 23:57:20 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:20 | 404 | 2.393627ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 18 23:57:21 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:21 | 404 | 1.835771ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 18 23:57:21 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:21 | 200 | 14.648729ms | 192.168.2.138 | GET "/img/sk_icon.0404320d.svg"
    Sep 18 23:57:21 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:21 | 404 | 4.006785ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 18 23:57:21 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:21 | 200 | 649.076µs | 127.0.0.1 | GET "/ping"
    Sep 18 23:57:21 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:21 | 201 | 885.995µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:21 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:21 | 201 | 717.879µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:21 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:21 | 404 | 488.473µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 200 | 630.305µs | 127.0.0.1 | GET "/ping"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 889.085µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 836.998µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 917.495µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 805.988µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 720.108µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 743.495µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 801.345µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 936.274µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 6.609645ms | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 754.046µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 712.991µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 800.047µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 723.664µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 720.995µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 734.967µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 682.604µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:22 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:22 | 201 | 838.579µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:23 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:23 | 200 | 491.216µs | 127.0.0.1 | GET "/ping"
    Sep 18 23:57:23 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:23 | 201 | 722.936µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:23 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:23 | 201 | 716.248µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:23 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:23 | 201 | 706.845µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:23 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:23 | 201 | 754.156µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:23 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:23 | 200 | 1.069688ms | 192.168.2.138 | GET "/img/danger.baa60a28.svg"
    Sep 18 23:57:23 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:23 | 200 | 1.237994ms | 192.168.2.138 | GET "/"
    Sep 18 23:57:27 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:27 | 200 | 386.981µs | 127.0.0.1 | GET "/ping"
    Sep 18 23:57:27 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:27 | 201 | 723.936µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:27 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:27 | 201 | 713.536µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:27 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:27 | 201 | 750.716µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:27 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:27 | 201 | 737.2µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:27 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:27 | 201 | 778.212µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:38 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:38 | 200 | 463.24µs | 127.0.0.1 | GET "/ping"
    Sep 18 23:57:41 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:41 | 201 | 733.821µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:41 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:41 | 201 | 721.719µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:41 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:41 | 201 | 754.572µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:41 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:41 | 201 | 720.765µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:41 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:41 | 201 | 842.469µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 18 23:57:46 casaos casaos-gateway[550]: [GIN] 2170/09/18 - 23:57:46 | 200 | 624.032µs | 192.168.2.138 | GET "/v1/gateway/port"
    Sep 19 00:01:24 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:24 | 200 | 39.704556ms | 192.168.2.138 | GET "/img/storage.d487ddb6.png"
    Sep 19 00:01:26 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:26 | 200 | 36.259489ms | 192.168.2.138 | GET "/img/disk.573d4b55.png"
    Sep 19 00:01:44 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:44 | 200 | 41.683388ms | 192.168.2.138 | GET "/img/waiting.2bc0a3ec.svg"
    Sep 19 00:01:45 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:45 | 200 | 36.066554ms | 192.168.2.138 | GET "/img/folder-documents.0b5caf46.svg"
    Sep 19 00:01:45 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:45 | 200 | 21.936581ms | 192.168.2.138 | GET "/img/folder-download.4a35c243.svg"
    Sep 19 00:01:45 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:45 | 200 | 42.217945ms | 192.168.2.138 | GET "/img/folder-application.dccf1c67.svg"
    Sep 19 00:01:45 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:45 | 200 | 22.931905ms | 192.168.2.138 | GET "/img/folder-pictures.12e954f3.svg"
    Sep 19 00:01:45 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:45 | 200 | 22.686303ms | 192.168.2.138 | GET "/img/folder-video.5b161e78.svg"
    Sep 19 00:01:48 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:48 | 200 | 37.486527ms | 192.168.2.138 | GET "/img/driver/Dropbox.svg"
    Sep 19 00:01:48 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:48 | 200 | 38.977166ms | 192.168.2.138 | GET "/img/driver/GoogleDrive.svg"
    Sep 19 00:01:48 casaos casaos-gateway[550]: [GIN] 2170/09/19 - 00:01:48 | 200 | 88.675159ms | 192.168.2.138 | GET "/img/driver/OneDrive.svg"
    Sep 19 00:17:38 casaos systemd[1]: Stopping CasaOS Gateway...
    ░░ Subject: A stop job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 804.
    Sep 19 00:17:38 casaos casaos-gateway[550]: [Fx] ERROR Failed to start: context canceled
    Sep 19 00:17:38 casaos casaos-gateway[550]: 2170-09-19T00:17:38.165-0400 info A gateway is stopped {"address": "[::]:80", "func": "main.reloadGateway.func1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 345}
    Sep 19 00:17:38 casaos systemd[1]: casaos-gateway.service: Succeeded.
    ░░ Subject: Unit succeeded
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service has successfully entered the 'dead' state.
    Sep 19 00:17:38 casaos systemd[1]: Stopped CasaOS Gateway.
    ░░ Subject: A stop job for unit casaos-gateway.service has finished
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has finished.
    ░░
    ░░ The job identifier is 804 and the job result is done.
    Sep 19 00:17:38 casaos systemd[1]: casaos-gateway.service: Consumed 3.096s CPU time.
    ░░ Subject: Resources consumed by unit runtime
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service completed and consumed the indicated resources.
    -- Boot 4df920cdc3f0420da014e20643582cdd --
    Sep 19 00:18:03 casaos systemd[1]: Starting CasaOS Gateway...
    ░░ Subject: A start job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 115.
    Sep 19 00:18:04 casaos casaos-gateway[514]: v0.4.8
    Sep 19 00:18:05 casaos casaos-gateway[556]: git commit: c63f7c502de32f430cfeb9fc3e6a6c89d3c19032
    Sep 19 00:18:05 casaos casaos-gateway[556]: build date: 2024-03-12T08:51:02Z
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] PROVIDE *service.State <= main.main.func4()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] PROVIDE *service.Management <= github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] PROVIDE *route.ManagementRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] PROVIDE *route.GatewayRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] PROVIDE *route.StaticRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] INVOKE main.run()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] RUN provide: go.uber.org/fx.New.func1()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] RUN provide: main.main.func4()
    Sep 19 00:18:05 casaos casaos-gateway[556]: 2170-09-19T00:18:05.159-0400 error Failed to load routes {"error": "open /var/run/casaos/routes.json: no such file or directory", "filepath": "/var/run/casaos/routes.json", "func": "service.NewManagementService", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/service/management.go", "line": 32}
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] HOOK OnStart main.run.func1() executing (caller: main.run)
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] HOOK OnStart main.run.func1() called by main.run ran successfully in 614.043µs
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] HOOK OnStart main.run.func2() executing (caller: main.run)
    Sep 19 00:18:05 casaos casaos-gateway[556]: 2170-09-19T00:18:05.162-0400 info Management service is listening... {"address": "127.0.0.1:41855", "filepath": "/var/run/casaos/management.url", "func": "main.run.func1.1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 206}
    Sep 19 00:18:05 casaos casaos-gateway[556]: 2170-09-19T00:18:05.162-0400 info Checking if service at URL is running... {"url": "http://[::]:80/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
    Sep 19 00:18:05 casaos casaos-gateway[556]: 2170-09-19T00:18:05.165-0400 info New gateway is listening... {"address": "[::]:80", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] HOOK OnStart main.run.func2() called by main.run ran successfully in 3.488245ms
    Sep 19 00:18:05 casaos casaos-gateway[556]: [Fx] HOOK OnStart main.run.func3() executing (caller: main.run)
    Sep 19 00:18:05 casaos casaos-gateway[556]: 2170-09-19T00:18:05.166-0400 info Static web service is listening... {"address": "127.0.0.1:32985", "filepath": "/var/run/casaos/static.url", "func": "main.run.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 311}
    Sep 19 00:18:05 casaos systemd[1]: Started CasaOS Gateway.
    ░░ Subject: A start job for unit casaos-gateway.service has finished successfully
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has finished successfully.
    ░░
    ░░ The job identifier is 115.
    Sep 19 00:18:05 casaos casaos-gateway[556]: 2170-09-19T00:18:05.168-0400 info Notified systemd that gateway is ready {"func": "main.main.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 157}
    Sep 19 00:18:06 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:06 | 404 | 36.564868ms | 192.168.2.138 | GET "/v2/message_bus/socket.io/?EIO=3&transport=websocket"
    Sep 19 00:18:06 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:06 | 404 | 38.117436ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:06 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:06 | 404 | 355.757µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:06 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:06 | 404 | 400.542µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:06 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:06 | 404 | 3.763339ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:06 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:06 | 200 | 569.431µs | 127.0.0.1 | GET "/ping"
    Sep 19 00:18:06 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:06 | 201 | 1.87927ms | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:06 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:06 | 201 | 681.192µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:06 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:06 | 404 | 415.141µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 200 | 1.773003ms | 127.0.0.1 | GET "/ping"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 813.598µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 769.909µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 757.924µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 789.501µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 850.268µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 883.923µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 960.067µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 911.836µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 876.238µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 722.96µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 726.473µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 693.721µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 733.267µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 818.658µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 742.606µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 685.42µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 740.174µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 200 | 465.48µs | 127.0.0.1 | GET "/ping"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 732.423µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 749.571µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 704.741µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 201 | 709.522µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:08 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:08 | 200 | 8.878303ms | 192.168.2.138 | GET "/"
    Sep 19 00:18:12 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:12 | 200 | 444.429µs | 127.0.0.1 | GET "/ping"
    Sep 19 00:18:13 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:13 | 201 | 733.932µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:13 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:13 | 201 | 818.628µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:13 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:13 | 201 | 713.313µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:13 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:13 | 201 | 715.943µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:13 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:13 | 201 | 737.548µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:14 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:14 | 200 | 571.075µs | 192.168.2.138 | GET "/v1/gateway/port"
    Sep 19 00:18:15 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:15 | 404 | 8.890673ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:15 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:15 | 404 | 917.861µs | 192.168.2.138 | GET "/v1/container/usage"
    Sep 19 00:18:17 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:17 | 404 | 492.892µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:18 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:18 | 200 | 3.278134ms | 192.168.2.138 | GET "/img/casa-white.a18ca893.svg"
    Sep 19 00:18:19 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:19 | 404 | 312.701µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:19 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:19 | 404 | 391.695µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:21 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:21 | 404 | 315.577µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:21 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:21 | 404 | 344.133µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:23 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:23 | 404 | 352.265µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:23 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:23 | 404 | 482.497µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:24 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:24 | 200 | 396.586µs | 127.0.0.1 | GET "/ping"
    Sep 19 00:18:24 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:24 | 404 | 413.556µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:18:26 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:26 | 201 | 783.418µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:26 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:26 | 201 | 779.928µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:26 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:26 | 201 | 777.615µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:26 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:26 | 201 | 757.995µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:18:26 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:18:26 | 201 | 784.828µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:19:18 casaos casaos-gateway[556]: [GIN] 2170/09/19 - 00:19:18 | 200 | 37.615228ms | 192.168.2.138 | GET "/img/warning.762d9914.svg"
    Sep 19 00:21:54 casaos systemd[1]: Stopping CasaOS Gateway...
    ░░ Subject: A stop job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 458.
    Sep 19 00:21:54 casaos casaos-gateway[556]: [Fx] ERROR Failed to start: context canceled
    Sep 19 00:21:54 casaos casaos-gateway[556]: 2170-09-19T00:21:54.452-0400 info A gateway is stopped {"address": "[::]:80", "func": "main.reloadGateway.func1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 345}
    Sep 19 00:21:54 casaos systemd[1]: casaos-gateway.service: Succeeded.
    ░░ Subject: Unit succeeded
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service has successfully entered the 'dead' state.
    Sep 19 00:21:54 casaos systemd[1]: Stopped CasaOS Gateway.
    ░░ Subject: A stop job for unit casaos-gateway.service has finished
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has finished.
    ░░
    ░░ The job identifier is 458 and the job result is done.
    Sep 19 00:21:54 casaos systemd[1]: casaos-gateway.service: Consumed 1.890s CPU time.
    ░░ Subject: Resources consumed by unit runtime
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service completed and consumed the indicated resources.
    -- Boot cddf96c348f34417ba0dc97884845c60 --
    Sep 19 00:22:18 casaos systemd[1]: Starting CasaOS Gateway...
    ░░ Subject: A start job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 110.
    Sep 19 00:22:19 casaos casaos-gateway[505]: v0.4.8
    Sep 19 00:22:19 casaos casaos-gateway[543]: git commit: c63f7c502de32f430cfeb9fc3e6a6c89d3c19032
    Sep 19 00:22:19 casaos casaos-gateway[543]: build date: 2024-03-12T08:51:02Z
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] PROVIDE *service.State <= main.main.func4()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] PROVIDE *service.Management <= github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] PROVIDE *route.ManagementRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] PROVIDE *route.GatewayRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] PROVIDE *route.StaticRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] INVOKE main.run()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] RUN provide: go.uber.org/fx.New.func1()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] RUN provide: main.main.func4()
    Sep 19 00:22:19 casaos casaos-gateway[543]: 2170-09-19T00:22:19.866-0400 error Failed to load routes {"error": "open /var/run/casaos/routes.json: no such file or directory", "filepath": "/var/run/casaos/routes.json", "func": "service.NewManagementService", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/service/management.go", "line": 32}
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] HOOK OnStart main.run.func1() executing (caller: main.run)
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] HOOK OnStart main.run.func1() called by main.run ran successfully in 707.426µs
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] HOOK OnStart main.run.func2() executing (caller: main.run)
    Sep 19 00:22:19 casaos casaos-gateway[543]: 2170-09-19T00:22:19.869-0400 info Management service is listening... {"address": "127.0.0.1:43155", "filepath": "/var/run/casaos/management.url", "func": "main.run.func1.1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 206}
    Sep 19 00:22:19 casaos casaos-gateway[543]: 2170-09-19T00:22:19.869-0400 info Checking if service at URL is running... {"url": "http://[::]:80/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
    Sep 19 00:22:19 casaos casaos-gateway[543]: 2170-09-19T00:22:19.873-0400 info New gateway is listening... {"address": "[::]:80", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] HOOK OnStart main.run.func2() called by main.run ran successfully in 3.608513ms
    Sep 19 00:22:19 casaos casaos-gateway[543]: [Fx] HOOK OnStart main.run.func3() executing (caller: main.run)
    Sep 19 00:22:19 casaos casaos-gateway[543]: 2170-09-19T00:22:19.873-0400 info Static web service is listening... {"address": "127.0.0.1:40065", "filepath": "/var/run/casaos/static.url", "func": "main.run.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 311}
    Sep 19 00:22:19 casaos systemd[1]: Started CasaOS Gateway.
    ░░ Subject: A start job for unit casaos-gateway.service has finished successfully
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has finished successfully.
    ░░
    ░░ The job identifier is 110.
    Sep 19 00:22:19 casaos casaos-gateway[543]: 2170-09-19T00:22:19.874-0400 info Notified systemd that gateway is ready {"func": "main.main.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 157}
    Sep 19 00:22:21 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:21 | 404 | 35.54118ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:22:21 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:21 | 404 | 4.091345ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:22:21 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:21 | 404 | 311.663µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:22:21 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:21 | 404 | 1.359362ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:22:21 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:21 | 200 | 1.693043ms | 127.0.0.1 | GET "/ping"
    Sep 19 00:22:21 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:21 | 201 | 901.052µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:21 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:21 | 201 | 707.067µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:21 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:21 | 404 | 462.723µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 200 | 496.551µs | 127.0.0.1 | GET "/ping"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 894.739µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 974.621µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 892.949µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 759.987µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 888.283µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 727.401µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 744.928µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 753.789µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 839.466µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 900.758µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 896.985µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 945.926µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 930.156µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 882.969µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 826.01µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 898.312µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:22 | 201 | 836.801µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:23 | 200 | 488.032µs | 127.0.0.1 | GET "/ping"
    Sep 19 00:22:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:23 | 201 | 726.828µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:23 | 201 | 762.755µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:23 | 201 | 744.633µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:23 | 201 | 777.156µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:24 | 200 | 8.574958ms | 192.168.2.138 | GET "/"
    Sep 19 00:22:27 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:27 | 200 | 440.298µs | 127.0.0.1 | GET "/ping"
    Sep 19 00:22:27 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:27 | 201 | 739.318µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:27 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:27 | 201 | 831.916µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:27 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:27 | 201 | 714.366µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:27 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:27 | 201 | 734.344µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:27 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:27 | 201 | 725.55µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:39 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:39 | 200 | 414.581µs | 127.0.0.1 | GET "/ping"
    Sep 19 00:22:41 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:41 | 201 | 740.751µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:41 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:41 | 201 | 768.525µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:41 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:41 | 201 | 743.962µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:41 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:41 | 201 | 712.647µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:22:41 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:22:41 | 201 | 741.969µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 00:26:30 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:26:30 | 200 | 3.888352ms | 192.168.2.138 | GET "/v1/gateway/port"
    Sep 19 00:55:10 casaos casaos-gateway[543]: 2170-09-19T00:55:10.459-0400 info Checking if service at URL is running... {"url": "http://[::]:81/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
    Sep 19 00:55:10 casaos casaos-gateway[543]: 2170-09-19T00:55:10.461-0400 info New gateway is listening... {"address": "[::]:81", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
    Sep 19 00:55:10 casaos casaos-gateway[543]: 2170-09-19T00:55:10.461-0400 info Stopping previous gateway in 1 seconds... {"address": "[::]:80", "func": "main.reloadGateway.func2", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 364}
    Sep 19 00:55:10 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:10 | 200 | 57.209964ms | 192.168.2.138 | PUT "/v1/gateway/port"
    Sep 19 00:55:11 casaos casaos-gateway[543]: 2170-09-19T00:55:11.462-0400 info A gateway is stopped {"address": "[::]:80", "func": "main.reloadGateway.func1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 345}
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 956.611µs | 192.168.2.138 | OPTIONS "/v1/gateway/port"
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 529.756µs | 192.168.2.138 | GET "/v1/gateway/port"
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 1.693209ms | 192.168.2.138 | GET "/"
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 26.464135ms | 192.168.2.138 | GET "/js/custom.js"
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 49.613774ms | 192.168.2.138 | GET "/css/custom.css"
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 62.599979ms | 192.168.2.138 | GET "/0.97b366b0.js"
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 88.307467ms | 192.168.2.138 | GET "/1.5db3d552.js"
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 231.117123ms | 192.168.2.138 | GET "/app.743a8bea.js"
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 50.94317ms | 192.168.2.138 | GET "/13.4eb610e5.js"
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 118.098077ms | 192.168.2.138 | GET "/12.d80889b5.js"
    Sep 19 00:55:11 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:11 | 200 | 221.941927ms | 192.168.2.138 | GET "/11.ce8fcfca.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 3.34239ms | 192.168.2.138 | GET "/14.ea992751.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 5.159649ms | 192.168.2.138 | GET "/15.8e16de3d.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 5.873173ms | 192.168.2.138 | GET "/16.e96bae27.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 3.128994ms | 192.168.2.138 | GET "/17.253263a5.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 3.422376ms | 192.168.2.138 | GET "/18.862a58c9.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 423.366804ms | 192.168.2.138 | GET "/vendors
    app.7a036e8b.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 3.33244ms | 192.168.2.138 | GET "/19.a0b503ec.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 3.09192ms | 192.168.2.138 | GET "/21.d37c47df.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 6.095009ms | 192.168.2.138 | GET "/20.a5e5eb0a.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 398.188538ms | 192.168.2.138 | GET "/10.f3328bf0.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 2.26733ms | 192.168.2.138 | GET "/22.f8a37fab.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 2.47876ms | 192.168.2.138 | GET "/23.189da12b.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 2.385103ms | 192.168.2.138 | GET "/24.e4342521.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 3.302707ms | 192.168.2.138 | GET "/25.6364e736.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 2.571565ms | 192.168.2.138 | GET "/26.d4f409fb.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 3.45601ms | 192.168.2.138 | GET "/28.bd260a86.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 3.182477ms | 192.168.2.138 | GET "/27.4433a5de.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 2.314286ms | 192.168.2.138 | GET "/29.ad6cf14a.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 3.505135ms | 192.168.2.138 | GET "/30.a3217f4f.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 23.170804ms | 192.168.2.138 | GET "/31.fae1dfad.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 19.925142ms | 192.168.2.138 | GET "/34.63def333.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 15.316298ms | 192.168.2.138 | GET "/33.9948e8ec.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 248.687255ms | 192.168.2.138 | GET "/2.abf03c34.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 141.249289ms | 192.168.2.138 | GET "/32.caaab8ce.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 161.266441ms | 192.168.2.138 | GET "/3.79db4798.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 31.459726ms | 192.168.2.138 | GET "/4.2576959f.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 51.773442ms | 192.168.2.138 | GET "/36.63661a27.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 3.290753ms | 192.168.2.138 | GET "/5.6789f567.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 7.91854ms | 192.168.2.138 | GET "/7.ba6d8217.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 5.701923ms | 192.168.2.138 | GET "/8.befcb5ef.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 32.517983ms | 192.168.2.138 | GET "/6.85178cc6.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 232.365249ms | 192.168.2.138 | GET "/35.a873a57d.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 88.210566ms | 192.168.2.138 | GET "/9.4a721de6.js"
    Sep 19 00:55:12 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:12 | 200 | 43.907175ms | 192.168.2.138 | GET "/css/animate.min.css"
    Sep 19 00:55:13 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:13 | 200 | 4.825346ms | 192.168.2.138 | GET "/favicon.ico"
    Sep 19 00:55:13 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:13 | 200 | 44.876324ms | 192.168.2.138 | GET "/img/default_wallpaper.459c0744.jpg"
    Sep 19 00:55:13 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:13 | 200 | 1.780009ms | 192.168.2.138 | GET "/img/default-avatar.48989365.svg"
    Sep 19 00:55:13 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:13 | 200 | 69.501123ms | 192.168.2.138 | GET "/fonts/materialdesignicons-webfont.66e43f0f.woff2"
    Sep 19 00:55:32 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:32 | 200 | 41.265295ms | 192.168.2.138 | GET "/img/logo.4b14f83d.png"
    Sep 19 00:55:32 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:32 | 200 | 33.593999ms | 192.168.2.138 | GET "/fonts/casaos.e0782031.ttf"
    Sep 19 00:55:32 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:32 | 200 | 914.047µs | 192.168.2.138 | GET "/v1/gateway/port"
    Sep 19 00:55:32 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:32 | 200 | 34.415328ms | 192.168.2.138 | GET "/img/swiper-left.26854ed9.svg"
    Sep 19 00:55:32 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:32 | 200 | 33.225067ms | 192.168.2.138 | GET "/img/swiper-right.7cdebae6.svg"
    Sep 19 00:55:32 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:32 | 200 | 37.627294ms | 192.168.2.138 | GET "/img/storage.5b007d8f.svg"
    Sep 19 00:55:32 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:32 | 200 | 38.612886ms | 192.168.2.138 | GET "/img/waiting-white.6d039335.svg"
    Sep 19 00:55:32 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:32 | 200 | 32.834504ms | 192.168.2.138 | GET "/img/files.8e1fb67b.svg"
    Sep 19 00:55:32 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:32 | 200 | 35.797208ms | 192.168.2.138 | GET "/img/appstore.8437ce09.svg"
    Sep 19 00:55:39 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:55:39 | 200 | 36.759316ms | 192.168.2.138 | GET "/img/default.ee0295e7.svg"
    Sep 19 00:56:01 casaos casaos-gateway[543]: 2170-09-19T00:56:01.405-0400 info Checking if service at URL is running... {"url": "http://[::]:80/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
    Sep 19 00:56:01 casaos casaos-gateway[543]: 2170-09-19T00:56:01.409-0400 info New gateway is listening... {"address": "[::]:80", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
    Sep 19 00:56:01 casaos casaos-gateway[543]: 2170-09-19T00:56:01.410-0400 info Stopping previous gateway in 1 seconds... {"address": "[::]:81", "func": "main.reloadGateway.func2", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 364}
    Sep 19 00:56:01 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:56:01 | 200 | 48.180858ms | 192.168.2.138 | PUT "/v1/gateway/port"
    Sep 19 00:56:02 casaos casaos-gateway[543]: 2170-09-19T00:56:02.410-0400 info A gateway is stopped {"address": "[::]:81", "func": "main.reloadGateway.func1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 345}
    Sep 19 00:56:02 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:56:02 | 200 | 1.201319ms | 192.168.2.138 | OPTIONS "/v1/gateway/port"
    Sep 19 00:56:02 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:56:02 | 200 | 944.198µs | 192.168.2.138 | GET "/v1/gateway/port"
    Sep 19 00:56:02 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:56:02 | 200 | 1.349621ms | 192.168.2.138 | GET "/"
    Sep 19 00:56:04 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 00:56:04 | 200 | 964.518µs | 192.168.2.138 | GET "/v1/gateway/port"
    Sep 19 01:25:54 casaos systemd[1]: Stopping CasaOS Gateway...
    ░░ Subject: A stop job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 1280.
    Sep 19 01:25:54 casaos casaos-gateway[543]: [Fx] ERROR Failed to start: context canceled
    Sep 19 01:25:54 casaos casaos-gateway[543]: 2170-09-19T01:25:54.597-0400 info A gateway is stopped {"address": "[::]:80", "func": "main.reloadGateway.func1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 345}
    Sep 19 01:25:54 casaos systemd[1]: casaos-gateway.service: Succeeded.
    ░░ Subject: Unit succeeded
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service has successfully entered the 'dead' state.
    Sep 19 01:25:54 casaos systemd[1]: Stopped CasaOS Gateway.
    ░░ Subject: A stop job for unit casaos-gateway.service has finished
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has finished.
    ░░
    ░░ The job identifier is 1280 and the job result is done.
    Sep 19 01:25:54 casaos systemd[1]: casaos-gateway.service: Consumed 7.757s CPU time.
    ░░ Subject: Resources consumed by unit runtime
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service completed and consumed the indicated resources.
    -- Boot 7545df5afcaa44e8aa98f0d2ffa41a20 --
    Sep 19 01:26:19 casaos systemd[1]: Starting CasaOS Gateway...
    ░░ Subject: A start job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 103.
    Sep 19 01:26:20 casaos casaos-gateway[506]: v0.4.8
    Sep 19 01:26:20 casaos casaos-gateway[543]: git commit: c63f7c502de32f430cfeb9fc3e6a6c89d3c19032
    Sep 19 01:26:20 casaos casaos-gateway[543]: build date: 2024-03-12T08:51:02Z
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] PROVIDE *service.State <= main.main.func4()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] PROVIDE *service.Management <= github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] PROVIDE *route.ManagementRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] PROVIDE *route.GatewayRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] PROVIDE *route.StaticRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] INVOKE main.run()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] RUN provide: go.uber.org/fx.New.func1()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] RUN provide: main.main.func4()
    Sep 19 01:26:21 casaos casaos-gateway[543]: 2170-09-19T01:26:21.009-0400 error Failed to load routes {"error": "open /var/run/casaos/routes.json: no such file or directory", "filepath": "/var/run/casaos/routes.json", "func": "service.NewManagementService", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/service/management.go", "line": 32}
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] HOOK OnStart main.run.func1() executing (caller: main.run)
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] HOOK OnStart main.run.func1() called by main.run ran successfully in 2.418773ms
    Sep 19 01:26:21 casaos casaos-gateway[543]: 2170-09-19T01:26:21.014-0400 info Management service is listening... {"address": "127.0.0.1:38673", "filepath": "/var/run/casaos/management.url", "func": "main.run.func1.1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 206}
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] HOOK OnStart main.run.func2() executing (caller: main.run)
    Sep 19 01:26:21 casaos casaos-gateway[543]: 2170-09-19T01:26:21.014-0400 info Checking if service at URL is running... {"url": "http://[::]:80/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
    Sep 19 01:26:21 casaos casaos-gateway[543]: 2170-09-19T01:26:21.017-0400 info New gateway is listening... {"address": "[::]:80", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] HOOK OnStart main.run.func2() called by main.run ran successfully in 3.562797ms
    Sep 19 01:26:21 casaos casaos-gateway[543]: [Fx] HOOK OnStart main.run.func3() executing (caller: main.run)
    Sep 19 01:26:21 casaos casaos-gateway[543]: 2170-09-19T01:26:21.018-0400 info Static web service is listening... {"address": "127.0.0.1:33595", "filepath": "/var/run/casaos/static.url", "func": "main.run.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 311}
    Sep 19 01:26:21 casaos systemd[1]: Started CasaOS Gateway.
    ░░ Subject: A start job for unit casaos-gateway.service has finished successfully
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit casaos-gateway.service has finished successfully.
    ░░
    ░░ The job identifier is 103.
    Sep 19 01:26:21 casaos casaos-gateway[543]: 2170-09-19T01:26:21.020-0400 info Notified systemd that gateway is ready {"func": "main.main.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 157}
    Sep 19 01:26:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:22 | 404 | 1.652846ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:22 | 404 | 2.767693ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:22 | 404 | 488.055µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:22 | 404 | 1.586836ms | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:22 | 404 | 377.675µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:22 | 200 | 1.844848ms | 127.0.0.1 | GET "/ping"
    Sep 19 01:26:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:22 | 201 | 898.391µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:22 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:22 | 201 | 685.487µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 200 | 394.886µs | 127.0.0.1 | GET "/ping"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 886.631µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 776.449µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 865.176µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 939.302µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 1.651367ms | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 684.367µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 698.908µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 698.339µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 693.391µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 706.873µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 713.046µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 775.929µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 787.645µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 741.014µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 743.267µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 723.331µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:23 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:23 | 201 | 808.902µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 404 | 347.362µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 404 | 876.12µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 404 | 523.733µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 404 | 329.148µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 404 | 347.284µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 200 | 421.099µs | 127.0.0.1 | GET "/ping"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 201 | 739.05µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 201 | 772.396µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 201 | 735.267µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 201 | 734.814µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 404 | 383.547µs | 192.168.2.138 | GET "/v2/app_management/web/appgrid"
    Sep 19 01:26:24 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:24 | 200 | 8.402649ms | 192.168.2.138 | GET "/"
    Sep 19 01:26:28 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:28 | 200 | 414.021µs | 127.0.0.1 | GET "/ping"
    Sep 19 01:26:28 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:28 | 201 | 783.599µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:28 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:28 | 201 | 713.507µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:28 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:28 | 201 | 784.871µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:28 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:28 | 201 | 728.099µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:28 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:28 | 201 | 730.11µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:40 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:40 | 200 | 422.929µs | 127.0.0.1 | GET "/ping"
    Sep 19 01:26:42 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:42 | 201 | 789.816µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:42 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:42 | 201 | 723.162µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:42 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:42 | 201 | 776.25µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:42 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:42 | 201 | 779.258µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:42 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:42 | 201 | 744.711µs | 127.0.0.1 | POST "/v1/gateway/routes"
    Sep 19 01:26:44 casaos casaos-gateway[543]: [GIN] 2170/09/19 - 01:26:44 | 200 | 518.711µs | 192.168.2.138 | GET "/v1/gateway/port"
    Sep 19 01:28:39 casaos casaos-gateway[543]: [Fx] ERROR Failed to start: context canceled
    Sep 19 01:28:39 casaos casaos-gateway[543]: 2170-09-19T01:28:39.202-0400 info A gateway is stopped {"address": "[::]:80", "func": "main.reloadGateway.func1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 345}
    Sep 19 01:28:39 casaos systemd[1]: Stopping CasaOS Gateway...
    ░░ Subject: A stop job for unit casaos-gateway.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has begun execution.
    ░░
    ░░ The job identifier is 512.
    Sep 19 01:28:39 casaos systemd[1]: casaos-gateway.service: Succeeded.
    ░░ Subject: Unit succeeded
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service has successfully entered the 'dead' state.
    Sep 19 01:28:39 casaos systemd[1]: Stopped CasaOS Gateway.
    ░░ Subject: A stop job for unit casaos-gateway.service has finished
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit casaos-gateway.service has finished.
    ░░
    ░░ The job identifier is 512 and the job result is done.
    Sep 19 01:28:39 casaos systemd[1]: casaos-gateway.service: Consumed 1.557s CPU time.
    ░░ Subject: Resources consumed by unit runtime
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit casaos-gateway.service completed and consumed the indicated resources.

Additional context

Add any other context about the problem here.

If you are a Zimaboard user, make it explicit with when you got your Zimaboard.

zimaboard

@faro75 faro75 added the bug Something isn't working label Nov 16, 2024
@jerrykuku
Copy link
Contributor

Looking at the logs, it seems that there is a problem with your system time, you can try to execute the following command in ssh to synchronize the time:
timedatectl set-ntp false
timedatectl set-ntp true
and then use timedatectl to check .

@faro75
Copy link
Author

faro75 commented Nov 19, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants