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

Can't access Tailscale http servers from phone #7

Closed
tripplehelix opened this issue Jan 3, 2024 · 10 comments
Closed

Can't access Tailscale http servers from phone #7

tripplehelix opened this issue Jan 3, 2024 · 10 comments

Comments

@tripplehelix
Copy link

I can't seem to access http servers running over my Tailscale network. Seems I can only access Tailscale with Termux and not a browser running on the system.

Normally, on a Linux system, I can type in the server's Tailscale IP into a browser to access websites hosted on it.

Using the Magisk module with Magisk.

2024/01/01 22:23:09 logtail: dial "log.tailscale.io:443" failed: dial tcp: lookup log.tailscale.io on [::1]:53: read udp [::1]:39616->[::1]:53: read: connection refused (in 7ms), trying bootstrap...
2024/01/01 22:23:09 trying bootstrapDNS("derp10c.tailscale.com", "192.73.240.121") for "log.tailscale.io" ...
2024/01/01 22:23:10 bootstrapDNS("derp10c.tailscale.com", "192.73.240.121") for "log.tailscale.io" = [2600:1f18:429f:9305:823d:72c0:16da:fb33 54.161.152.147]
2024/01/01 22:23:10 logtail: bootstrap dial succeeded
2024/01/01 22:24:20 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/01 22:24:20 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/01 22:24:20 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/01 22:24:20 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/01 22:24:43 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/01 22:24:43 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/01 22:24:43 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/01 22:24:43 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
@anasfanani
Copy link
Owner

This likely tailscaled use /etc/resolv.conf for query dns.

Maybe you interested with this.

#5 (comment)

@anasfanani
Copy link
Owner

This should fix the existing problem, I've also added some shell scripts to control the daemon.
https://github.com/anasfanani/Magisk-Tailscaled/releases/tag/v1.56.1.3

I will close this issue, if you are still having problems, please reopen it. Thank you and don't forget to give ⭐ if this module is useful for you.

@tripplehelix
Copy link
Author

Still unable to see web servers on my Tailscale network from my phone with latest update.

@anasfanani
Copy link
Owner

anasfanani commented Jan 11, 2024

Still unable to see web servers on my Tailscale network from my phone with latest update.

Attach the log from folder /data/adb/tailscale/run/ please, and do you already follow the guide at release page ?

@anasfanani anasfanani reopened this Jan 11, 2024
@tripplehelix
Copy link
Author

I can't see any instructions on using basic tailscale features via this module.

:/data/adb/tailscale/run # cat tailscaled.log
2024/01/11 21:45:32 logtail started
2024/01/11 21:45:32 Program starting: v1.56.1-t906f85d10-g34ed54c8c, Go 1.21.5: []string{"/data/adb/tailscale/bin/tailscaled", "-verbose=0", "-outbound-http-proxy-listen=localhost:1099", "-socks5-server=localhost:1099", "-tun=userspace-networking", "-statedir=/data/adb/tailscale/tmp/", "-state=/data/adb/tailscale/tmp/tailscaled.state", "-socket=/data/adb/tailscale/tmp/tailscaled.sock", "-port=41641"}
2024/01/11 21:45:32 LogID: 7bc1ff441cabf47beb99f8345a1f554019da385f0b68509f722ccfe47f7a32b1
2024/01/11 21:45:32 logpolicy: using UserCacheDir, "/data/adb/tailscale/tmp/.cache/Tailscale"
2024/01/11 21:45:37 wgengine.NewUserspaceEngine(tun "userspace-networking") ...
2024/01/11 21:45:37 dns: using dns.noopManager
2024/01/11 21:45:37 link state: interfaces.State{defaultRoute= ifs={rmnet_data1:[10.235.67.203/29] wlan0:[192.168.1.6/24 llu6]} v4=true v6=false}
2024/01/11 21:45:37 onPortUpdate(port=41641, network=udp6)
2024/01/11 21:45:37 onPortUpdate(port=41641, network=udp4)
2024/01/11 21:45:37 magicsock: disco key = d:5cb6d897e09e4a98
2024/01/11 21:45:37 Creating WireGuard device...
2024/01/11 21:45:37 Bringing WireGuard device up...
2024/01/11 21:45:37 Bringing router up...
2024/01/11 21:45:37 Clearing router settings...
2024/01/11 21:45:37 Starting network monitor...
2024/01/11 21:45:37 Engine created.
2024/01/11 21:45:37 logtail: dial "log.tailscale.io:443" failed: dial tcp: lookup log.tailscale.io on [::1]:53: read udp [::1]:41969->[::1]:53: read: connection refused (in 4.506s), trying bootstrap...
2024/01/11 21:45:37 pm: using backend prefs for "profile-d82f": Prefs{ra=false dns=true want=true ssh=true routes=[] nf=on update=on Persist{lm=, o=, n=[ecg8f] u="tripplehelix@github"}}
2024/01/11 21:45:37 logpolicy: using UserCacheDir, "/data/adb/tailscale/tmp/.cache/Tailscale"
2024/01/11 21:45:37 got LocalBackend in 4.512s
2024/01/11 21:45:37 Start
2024/01/11 21:45:37 trying bootstrapDNS("derp8b.tailscale.com", "46.101.74.201") for "log.tailscale.io" ...
2024/01/11 21:45:37 Backend: logs: be:7bc1ff441cabf47beb99f8345a1f554019da385f0b68509f722ccfe47f7a32b1 fe:
2024/01/11 21:45:37 control: client.Login(false, 0)
2024/01/11 21:45:37 control: doLogin(regen=false, hasUrl=false)
2024/01/11 21:45:37 health("overall"): error: not in map poll
2024/01/11 21:45:37 control: trying bootstrapDNS("derp5.tailscale.com", "103.43.75.49") for "controlplane.tailscale.com" ...
2024/01/11 21:45:37 bootstrapDNS("derp8b.tailscale.com", "46.101.74.201") for "log.tailscale.io" = [2600:1f18:429f:9305:823d:72c0:16da:fb33 54.161.152.147]
2024/01/11 21:45:37 logtail: bootstrap dial succeeded
2024/01/11 21:45:38 control: bootstrapDNS("derp5.tailscale.com", "103.43.75.49") for "controlplane.tailscale.com" = [3.125.194.96 3.125.149.81 18.197.213.150 2a05:d014:386:202:4d:f871:20f3:6602 2a05:d014:386:202:9a01:a6fe:4251:8db8 52.28.255.255 2a05:d014:386:202:b1ee:6525:7c95:d0f3 2a05:d014:386:202:1e36:2966:5bec:a911 18.194.180.142 2a05:d014:386:202:f041:44b6:9559:668 3.124.108.117 2a05:d014:386:202:30f5:de62:8eed:5c47 18.159.140.118 2a05:d014:386:202:2697:66bf:c24a:a674 3.73.239.57 3.78.132.46 3.74.105.242 2a05:d014:386:202:eee7:5001:722d:1156 2a05:d014:386:202:4844:1954:f211:a255 2a05:d014:386:202:256c:6ede:f4f9:a51b 2a05:d014:386:202:b88b:3cda:3907:3f2b 35.156.244.91 3.69.76.60 2a05:d014:386:202:4277:1574:2e7b:d812]
2024/01/11 21:45:38 control: control server key from https://controlplane.tailscale.com: ts2021=[fSeS+], legacy=[nlFWp]
2024/01/11 21:45:38 control: RegisterReq: onode= node=[ecg8f] fup=false nks=false
2024/01/11 21:45:38 control: RegisterReq: got response; nodeKeyExpired=false, machineAuthorized=true; authURL=false
2024/01/11 21:45:38 control: netmap: got new dial plan from control
2024/01/11 21:45:38 active login: tripplehelix@github
2024/01/11 21:45:38 Switching ipn state NoState -> Starting (WantRunning=true, nm=true)
2024/01/11 21:45:38 magicsock: SetPrivateKey called (init)
2024/01/11 21:45:38 wgengine: Reconfig: configuring userspace WireGuard config (with 0/6 peers)
2024/01/11 21:45:38 wgengine: Reconfig: configuring router
2024/01/11 21:45:38 wgengine: Reconfig: configuring DNS
2024/01/11 21:45:38 dns: Set: {DefaultResolvers:[] Routes:{manatee-harmonic.ts.net.:[] ts.net.:[199.247.155.53 2620:111:8007::53]}+65arpa SearchDomains:[manatee-harmonic.ts.net.] Hosts:7}
2024/01/11 21:45:38 peerapi: serving on http://100.111.165.68:38954
2024/01/11 21:45:38 peerapi: serving on http://[fd7a:115c:a1e0::faaf:a544]:38954
2024/01/11 21:45:38 health("dns"): error: getting OS base config is not supported
2024/01/11 21:45:38 health("dns-os"): error: getting OS base config is not supported
2024/01/11 21:45:38 magicsock: home is now derp-8 (lhr)
2024/01/11 21:45:38 magicsock: adding connection to derp-8 for home-keep-alive
2024/01/11 21:45:38 control: NetInfo: NetInfo{varies=false hairpin=false ipv6=false ipv6os=true udp=true icmpv4=false derp=#8 portmap= link="" firewallmode=""}
2024/01/11 21:45:38 magicsock: 1 active derp conns: derp-8=cr0s,wr0s
2024/01/11 21:45:38 Switching ipn state Starting -> Running (WantRunning=true, nm=true)
2024/01/11 21:45:38 derphttp.Client.Connect: connecting to derp-8 (lhr)
2024/01/11 21:45:38 magicsock: endpoints changed: 2.219.26.72:41641 (stun), 10.235.67.203:41641 (local), 192.168.1.6:41641 (local)
2024/01/11 21:45:39 magicsock: derp-8 connected; connGen=1
2024/01/11 21:48:32 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 21:48:32 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 21:48:32 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 21:48:32 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 21:48:34 logtail: dial "log.tailscale.io:443" failed: dial tcp: lookup log.tailscale.io on [::1]:53: read udp [::1]:44458->[::1]:53: read: connection refused (in 13ms), trying bootstrap...
2024/01/11 21:48:34 trying bootstrapDNS("derp10b.tailscale.com", "192.73.240.161") for "log.tailscale.io" ...
2024/01/11 21:48:34 bootstrapDNS("derp10b.tailscale.com", "192.73.240.161") for "log.tailscale.io" = [2600:1f18:429f:9305:823d:72c0:16da:fb33 54.161.152.147]
2024/01/11 21:48:34 logtail: bootstrap dial succeeded
2024/01/11 21:56:38 monitor: RTM_DELROUTE: src=10.235.67.203/0, dst=10.235.67.203/32, gw=, outif=11, table=255
2024/01/11 21:56:38 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute= ifs={wlan0:[192.168.1.6/24 llu6]} v4=true v6=false}
2024/01/11 21:56:38 dns: Set: {DefaultResolvers:[] Routes:{manatee-harmonic.ts.net.:[] ts.net.:[199.247.155.53 2620:111:8007::53]}+65arpa SearchDomains:[manatee-harmonic.ts.net.] Hosts:7}
2024/01/11 21:56:38 wgengine: error setting DNS config after major link change: getting OS base config is not supported
2024/01/11 21:56:38 onPortUpdate(port=41641, network=udp6)
2024/01/11 21:56:38 onPortUpdate(port=41641, network=udp4)
2024/01/11 21:56:38 Rebind; defIf="", ips=[]
2024/01/11 21:56:38 magicsock: closing connection to derp-8 (rebind-default-route-change), age 11m0s
2024/01/11 21:56:38 magicsock: 0 active derp conns
2024/01/11 21:56:38 magicsock: adding connection to derp-8 for home-keep-alive
2024/01/11 21:56:38 magicsock: 1 active derp conns: derp-8=cr0s,wr0s
2024/01/11 21:56:38 derphttp.Client.Recv: connecting to derp-8 (lhr)
2024/01/11 21:56:38 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 21:56:38 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 21:56:38 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:252 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:16000 Table:1011 Mark:393215 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}}
2024/01/11 21:56:38 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 21:56:38 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:252 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:17000 Table:1011 Mark:786432 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}}
2024/01/11 21:56:38 magicsock: derp-8 connected; connGen=1
2024/01/11 21:56:38 magicsock: endpoints changed: 2.219.26.72:1032 (stun), 192.168.1.6:41641 (local)
2024/01/11 21:56:40 logtail: dial "log.tailscale.io:443" failed: dial tcp: lookup log.tailscale.io on [::1]:53: read udp [::1]:41466->[::1]:53: read: connection refused (in 7ms), trying bootstrap...
2024/01/11 21:56:40 trying bootstrapDNS("derp21d.tailscale.com", "162.248.221.248") for "log.tailscale.io" ...
2024/01/11 21:56:41 bootstrapDNS("derp21d.tailscale.com", "162.248.221.248") for "log.tailscale.io" = [2600:1f18:429f:9305:823d:72c0:16da:fb33 54.161.152.147]
2024/01/11 21:56:41 monitor: RTM_NEWROUTE: src=, dst=224.0.0.0/24, gw=, outif=12, table=1000000012
2024/01/11 21:56:41 monitor: RTM_NEWROUTE: src=, dst=, gw=100.108.202.109, outif=12, table=1012
2024/01/11 21:56:41 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute= ifs={rmnet_data2:[100.108.202.108/29] wlan0:[192.168.1.6/24 llu6]} v4=true v6=false}
2024/01/11 21:56:41 dns: Set: {DefaultResolvers:[] Routes:{manatee-harmonic.ts.net.:[] ts.net.:[199.247.155.53 2620:111:8007::53]}+65arpa SearchDomains:[manatee-harmonic.ts.net.] Hosts:7}
2024/01/11 21:56:41 wgengine: error setting DNS config after major link change: getting OS base config is not supported
2024/01/11 21:56:41 onPortUpdate(port=41641, network=udp6)
2024/01/11 21:56:41 onPortUpdate(port=41641, network=udp4)
2024/01/11 21:56:41 Rebind; defIf="", ips=[]
2024/01/11 21:56:41 magicsock: closing connection to derp-8 (rebind-default-route-change), age 3s
2024/01/11 21:56:41 magicsock: 0 active derp conns
2024/01/11 21:56:41 magicsock: adding connection to derp-8 for home-keep-alive
2024/01/11 21:56:41 magicsock: 1 active derp conns: derp-8=cr0s,wr0s
2024/01/11 21:56:41 derphttp.Client.Recv: connecting to derp-8 (lhr)
2024/01/11 21:56:41 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:252 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:16000 Table:1012 Mark:131071 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}}
2024/01/11 21:56:41 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 21:56:41 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:252 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:17000 Table:1012 Mark:786432 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}}
2024/01/11 21:56:41 monitor: RTM_NEWROUTE: src=, dst=, gw=, outif=0, table=1012
2024/01/11 21:56:41 monitor: RTM_DELROUTE: src=, dst=, gw=, outif=0, table=1012
2024/01/11 21:56:41 [RATELIMIT] format("monitor: %s: src=%v, dst=%v, gw=%v, outif=%v, table=%v")
2024/01/11 21:56:41 logtail: bootstrap dial succeeded
2024/01/11 21:56:41 magicsock: home is now derp-18 (par)
2024/01/11 21:56:41 magicsock: adding connection to derp-18 for home-keep-alive
2024/01/11 21:56:41 control: NetInfo: NetInfo{varies=false hairpin=false ipv6=false ipv6os=true udp=true icmpv4=false derp=#18 portmap= link="" firewallmode=""}
2024/01/11 21:56:41 magicsock: 2 active derp conns: derp-8=cr36ms,wr36ms derp-18=cr0s,wr0s
2024/01/11 21:56:41 derphttp.Client.Recv: connecting to derp-18 (par)
2024/01/11 21:56:41 magicsock: derp-8 connected; connGen=1
2024/01/11 21:56:41 magicsock: derp-18 connected; connGen=1
2024/01/11 21:56:43 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 21:56:43 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 21:56:43 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 21:57:53 magicsock: closing connection to derp-8 (idle), age 1m12s
2024/01/11 21:57:53 magicsock: 1 active derp conns: derp-18=cr1m0s,wr1m0s
2024/01/11 22:01:50 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (4 dropped)
2024/01/11 22:01:50 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:01:50 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:01:50 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:01:50 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:01:52 logtail: dial "log.tailscale.io:443" failed: dial tcp: lookup log.tailscale.io on [::1]:53: read udp [::1]:43852->[::1]:53: read: connection refused (in 6ms), trying bootstrap...
2024/01/11 22:01:52 trying bootstrapDNS("derp4g.tailscale.com", "185.40.234.113") for "log.tailscale.io" ...
2024/01/11 22:01:52 bootstrapDNS("derp4g.tailscale.com", "185.40.234.113") for "log.tailscale.io" = [2600:1f18:429f:9305:823d:72c0:16da:fb33 54.161.152.147]
2024/01/11 22:01:52 logtail: bootstrap dial succeeded
2024/01/11 22:01:59 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:01:59 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:01:59 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:01:59 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:02:08 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (1 dropped)
2024/01/11 22:02:08 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:02:08 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:02:08 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:03:14 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (2 dropped)
2024/01/11 22:03:14 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:03:14 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:03:14 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:03:14 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:03:17 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:03:17 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:03:17 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:03:38 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (12 dropped)
2024/01/11 22:03:38 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:03:38 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:03:38 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:03:38 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:03:38 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:04:00 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:04:00 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:04:00 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:04:00 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:04:00 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:04:09 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (4 dropped)
2024/01/11 22:04:09 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:04:09 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:04:09 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:06:04 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (2 dropped)
2024/01/11 22:06:04 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:04 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:04 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:04 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:06 logtail: dial "log.tailscale.io:443" failed: dial tcp: lookup log.tailscale.io on [::1]:53: read udp [::1]:46604->[::1]:53: read: connection refused (in 7ms), trying bootstrap...
2024/01/11 22:06:06 trying bootstrapDNS("derp13c.tailscale.com", "192.73.242.28") for "log.tailscale.io" ...
2024/01/11 22:06:06 bootstrapDNS("derp13c.tailscale.com", "192.73.242.28") for "log.tailscale.io" = [2600:1f18:429f:9305:823d:72c0:16da:fb33 54.161.152.147]
2024/01/11 22:06:06 logtail: bootstrap dial succeeded
2024/01/11 22:06:07 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:07 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:06:28 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (7 dropped)
2024/01/11 22:06:28 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:28 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:28 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:28 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:55 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:55 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:55 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:55 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:58 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:58 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:06:58 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:07:10 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (10 dropped)
2024/01/11 22:07:10 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:07:10 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:07:10 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:07:28 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (6 dropped)
2024/01/11 22:07:28 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:07:28 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:07:28 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:07:28 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:07:28 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:07:37 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (4 dropped)
2024/01/11 22:07:37 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:07:37 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:07:37 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v")
2024/01/11 22:13:26 wgengine: idle peer [S8SGt] now active, reconfiguring WireGuard
2024/01/11 22:13:26 wgengine: Reconfig: configuring userspace WireGuard config (with 1/6 peers)
2024/01/11 22:13:26 magicsock: disco: node [S8SGt] d:ece79a68e2b04a3d now using 192.168.1.4:41641 mtu=1360 tx=4feca2623cf5
2024/01/11 22:13:26 Accept: ICMPv4{100.88.156.140:0 > 100.111.165.68:0} 84 icmp ok
2024/01/11 22:13:26 Accept: ICMPv4{100.88.156.140:0 > 100.111.165.68:0} 84 icmp ok
2024/01/11 22:13:28 logtail: dial "log.tailscale.io:443" failed: dial tcp: lookup log.tailscale.io on [::1]:53: read udp [::1]:37573->[::1]:53: read: connection refused (in 9ms), trying bootstrap...
2024/01/11 22:13:28 trying bootstrapDNS("derp22d.tailscale.com", "45.159.98.145") for "log.tailscale.io" ...
2024/01/11 22:13:28 bootstrapDNS("derp22d.tailscale.com", "45.159.98.145") for "log.tailscale.io" = [54.161.152.147 2600:1f18:429f:9305:823d:72c0:16da:fb33]
2024/01/11 22:13:28 logtail: bootstrap dial succeeded
2024/01/11 22:13:34 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (2 dropped)
2024/01/11 22:13:34 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:13:34 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:13:34 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:13:34 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8
2024/01/11 22:13:43 tailscaled got signal terminated; shutting down
2024/01/11 22:13:43 control: client.Shutdown()
2024/01/11 22:13:43 control: client.Shutdown
2024/01/11 22:13:43 control: authRoutine: exiting
2024/01/11 22:13:43 control: updateRoutine: exiting
2024/01/11 22:13:43 control: mapRoutine: exiting
2024/01/11 22:13:43 control: Client.Shutdown done.
2024/01/11 22:13:43 magicsock: closing connection to derp-18 (conn-close), age 17m2s
2024/01/11 22:13:43 magicsock: 0 active derp conns
2024/01/11 22:13:43 flushing log.
2024/01/11 22:13:43 logger closing down
1|:/data/adb/tailscale/run # cat service.log
09:44 pm [Info]: Starting tailscaled inotify service
09:45 pm [Info]: ✘ Stopping tailscaled service
09:45 pm [Info]: ✔ Starting tailscaled service
10:13 pm [Info]: ✘ Stopping tailscaled service
:/data/adb/tailscale/run # cat runs.log
09:44 pm [Info]: Magisk Tailscaled version : 1.56.1.3.
09:44 pm [Info]: ✔ tailscaled service running with PID : ( 4312 ).
09:45 pm [Info]: ✘ tailscaled shutting down, service is stopped.
09:45 pm [Info]: ✘ tailscaled disconnected.
09:45 pm [Info]: ✔ tailscaled service running with PID : ( 8067 ).
10:13 pm [Info]: ✘ tailscaled shutting down, service is stopped.
10:13 pm [Info]: ✘ tailscaled disconnected.

@anasfanani
Copy link
Owner

anasfanani commented Jan 11, 2024

Your logs contains :

2024/01/11 22:06:06 logtail: dial "log.tailscale.io:443" failed: dial tcp: lookup log.tailscale.io on [::1]:53: read udp [::1]:46604->[::1]:53: read: connection refused (in 7ms), trying bootstrap...
2024/01/11 22:06:06 trying bootstrapDNS("derp13c.tailscale.com", "192.73.242.28") for "log.tailscale.io" ...
2024/01/11 22:06:06 bootstrapDNS("derp13c.tailscale.com", "192.73.242.28") for "log.tailscale.io" = [2600:1f18:429f:9305:823d:72c0:16da:fb33 54.161.152.147]
2024/01/11 22:06:06 logtail: bootstrap dial succeeded

You can read at this https://tailscale.com/kb/1054/dns
Basically you need to set /etc/resolv.conf . since android doesnt have /etc/resolv.conf by default.
Your solution is 2 :

For this log, i dont know, this likely tailscale problem.

2024/01/11 22:13:34 [RATELIMIT] format("monitor: ip rule deleted; failed to parse netlink message: %v") (2 dropped)
2024/01/11 22:13:34 monitor: ip rule deleted; failed to parse netlink message: invalid route message attributes: netlink: attribute 20 is not a uint8; length: 8

Please read this.
tailscale/tailscale#4038 (comment)

Currently I couldn't help identify more about your problem, because not much information i get, let me set a issue template for identify the problem.

I apologize for your problem, you can search available fix at official tailscale repository.
https://github.com/tailscale/tailscale/issues?q=keyword

EDIT:
Also check the connection with

tailscale ip
tailscale status
tailscale ping [other tailscale ip]

Logs can show an error, but actually can connected.

EDIT:

2024/01/11 21:45:37 link state: interfaces.State{defaultRoute= ifs={rmnet_data1:[10.235.67.203/29] wlan0:[192.168.1.6/24 llu6]} v4=true v6=false}

In my case, 2024/01/11 22:06:55 monitor: ip rule deleted; is appear when you connected to WiFi & enable the Simcard DATA connection, your log seems to use that, try to use WiFi only/DATA only.

@tripplehelix
Copy link
Author

Whey! Running tailscale set --accept-dns=false worked. I guess it will now only use local DNS settings.

Thanks.

@anasfanani
Copy link
Owner

I'm glad to hear that, I need to create a troubleshooting page and include this issue for reference. Thank You for your information, I close this issue because already solved.

@tripplehelix
Copy link
Author

Not sure if this has actually worked. It still can no longer look up devices on the Tailscale network. Can't ping any tailscale IP's. For some reason, an embed on a webpage to a server hosted on a tailscale IP does work.

Unfortunately, as I can't modify the system partition and I'd rather leave it that way I guess it's back to the app.

@anasfanani
Copy link
Owner

Not sure if this has actually worked. It still can no longer look up devices on the Tailscale network. Can't ping any tailscale IP's. For some reason, an embed on a webpage to a server hosted on a tailscale IP does work.

Unfortunately, as I can't modify the system partition and I'd rather leave it that way I guess it's back to the app.

I'm sorry, next time I will add troubleshooting pages, give step by step how to identify the problem.
Right now I can't do much more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants