CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] webui only listen on ipv6

Open LSP0123 opened this issue 1 year ago • 2 comments

Describe the bug

use ipv4 access to web ui is too slowly

To Reproduce

  1. fresh install casaos 0.4.8 on armbian jammy (aarch64)
  2. use ipv4 address to access casaos webui
  3. too slowly to open webui

Desktop (please complete the following information):

 - OS: win11
 - Browser : firefox edge
 - version : browser and system are the newest version on stable chanell

Logs


rk:~:% sudo lsof -i | grep http   
casaos-ga    851    root    8u  IPv6 730593      0t0  TCP rk.local:http->192.168.2.200:64690 (ESTABLISHED)
casaos-ga    851    root    9u  IPv6 728719      0t0  TCP rk.local:http->192.168.2.200:64691 (ESTABLISHED)
casaos-ga    851    root   10u  IPv6 729797      0t0  TCP rk.local:http->192.168.2.200:64692 (ESTABLISHED)
casaos-ga    851    root   14u  IPv6 729800      0t0  TCP rk.local:http->192.168.2.200:64693 (ESTABLISHED)
casaos-ga    851    root   15u  IPv6 729801      0t0  TCP rk.local:http->192.168.2.200:64694 (ESTABLISHED)
casaos-ga    851    root   16u  IPv6 724962      0t0  TCP rk.local:http->192.168.2.200:64695 (ESTABLISHED)
casaos-ga    851    root   18u  IPv6 730589      0t0  TCP *:http (LISTEN)
casaos-ga    851    root   25u  IPv6 730602      0t0  TCP rk.local:http->192.168.2.200:64697 (ESTABLISHED)
casaos-ga    851    root   36u  IPv6 729807      0t0  TCP rk.local:http->192.168.2.200:64698 (ESTABLISHED)
casaos-ga    851    root   39u  IPv6 730605      0t0  TCP rk.local:http->192.168.2.200:64699 (ESTABLISHED)

LSP0123 avatar Apr 05 '24 00:04 LSP0123

What's the workaround for this?

fightingsleep avatar Nov 09 '24 23:11 fightingsleep

In my case it turned out that I had a k3s cluster running and traefik was using port 80/443. Even though netstat didn't show it.

fightingsleep avatar Nov 16 '24 07:11 fightingsleep