openziti / ziti-tunnel-android

Apache License 2.0
19 stars 5 forks source link

The problem of ZitiVpnService proxy itself being unable to access the Ziti network #180

Closed alylhb closed 1 month ago

alylhb commented 1 year ago

I currently have a requirement to open a web page of a service within the Ziti network in a WebView. After adding 'this.packageName' to 'allowedApps' to enable my own app to access the Ziti network, I can successfully access the Ziti network service's API using okhttp3. However, the WebView is unable to properly load the web page of the Ziti network service, and there are error logs in the console. I'm currently unsure where the problem is occurring, so I would appreciate it if someone could take a look.

The image shows successful access to a page of the service within the Ziti network using okhttp3: 8b62d2689c7305aab9c7172abee3d47

This image shows an error when loading a page of a service within the Ziti network using WebView: image image

Below is the detailed error log, At first, everything seemed normal:

2023-09-21 16:21:04.120 20018-20045 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  made packet[8310] flags[ACK] seq[5605] ack[1541487806] data[8278]
2023-09-21 16:21:04.121 20018-20045 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            D  sending to peer packet_size[8330]
2023-09-21 16:21:04.122 20018-20045 ziti-conn[wJhH4zmyb6/3] org.openziti.mobile.debug            V  reading
2023-09-21 16:21:04.126 20018-20101 routing                 org.openziti.mobile.debug            V  got msg[(/100.64.0.0:56612, /100.64.1.10:443)]: 52 bytes
2023-09-21 16:21:04.137 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  received flags[ACK] seq[1541487806] ack[13883] ws[210 (3440640)]
2023-09-21 16:21:04.138 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  state[ESTABLISHED] <- ACK data[0]
2023-09-21 16:21:04.142 20018-20018 WebViewClient           org.openziti.mobile.debug            I  页面: https://meet.wzw.aa/ 开始加载
2023-09-21 16:21:04.146 20018-20018 WebViewClient           org.openziti.mobile.debug            I  资源调用: https://meet.wzw.aa/runtime.js
2023-09-21 16:21:04.148 20018-20018 WebViewClient           org.openziti.mobile.debug            I  资源调用: https://meet.wzw.aa/polyfills.js
2023-09-21 16:21:04.151 20018-20018 WebViewClient           org.openziti.mobile.debug            I  资源调用: https://meet.wzw.aa/main.js
2023-09-21 16:21:04.154 20018-20101 routing                 org.openziti.mobile.debug            V  got msg[(/100.64.0.0:56612, /100.64.1.10:443)]: 586 bytes
2023-09-21 16:21:04.157 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  received flags[ACK] seq[1541487806] ack[13883] ws[210 (3440640)]
2023-09-21 16:21:04.158 20018-20101 routing                 org.openziti.mobile.debug            V  got msg[(/100.64.0.0:56620, /100.64.1.10:443)]: 60 bytes
2023-09-21 16:21:04.159 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  state[ESTABLISHED] <- ACK data[534]
2023-09-21 16:21:04.159 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  peer sent 534 bytes
2023-09-21 16:21:04.161 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  made packet[32] flags[ACK] seq[13883] ack[1541488340] data[null]
2023-09-21 16:21:04.162 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  sending 534 bytes to ziti backend
2023-09-21 16:21:04.162 20018-20018 WebViewClient           org.openziti.mobile.debug            I  资源调用: https://meet.wzw.aa/styles.css
2023-09-21 16:21:04.164 20018-20050 ziti-conn[wJhH4zmyb6/3] org.openziti.mobile.debug            V  sending ct: Data, seq: -1, repTo: -1, connId: 3, body 551 bytes
2023-09-21 16:21:04.166 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            D  sending to peer packet_size[52]
2023-09-21 16:21:04.167 20018-20045 C.9.3.0:3022]           org.openziti.mobile.debug            V  sending m = ct: Data, seq: 19, repTo: -1, connId: 3, body 551 bytes
2023-09-21 16:21:04.168 20018-20101 tcp-conn                org.openziti.mobile.debug            D  tcp:/100.64.0.0:56620 -> meet.wzw.aa/100.64.1.10:443/LISTEN transitioning to SYN_RCVD
2023-09-21 16:21:04.168 20018-20045 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            D  connecting to Dial(service=meet, appData=DialData(dstProtocol=TCP, dstHostname=meet.wzw.aa, dstIp=null, dstPort=443, srcProtocol=null, srcIp=null, srcPort=null, sourceAddr=null), identity=null, callerId=wJhH4zmyb6)
2023-09-21 16:21:04.169 20018-20045 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            D  connecting to meet
2023-09-21 16:21:04.170 20018-20045 o.o.i.ZitiContextImpl   org.openziti.mobile.debug            D  getNetworkSession(meet)
2023-09-21 16:21:04.170 20018-20045 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            D  using session[clmswkhpo44kto7r1jksbgrfn]
2023-09-21 16:21:04.170 20018-20045 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            D  using ch[Channel[tls://39.98.33.0:3022]]
2023-09-21 16:21:04.173 20018-20045 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            D  starting network connection clmswkhpo44kto7r1jksbgrfn/4
2023-09-21 16:21:04.174 20018-20045 C.9.3.0:3022]           org.openziti.mobile.debug            V  sending m = ct: Connect, seq: 20, repTo: -1, connId: 4, body 36 bytes
2023-09-21 16:21:04.174 20018-20101 routing                 org.openziti.mobile.debug            I  created tcp:/100.64.0.0:56620 -> /100.64.1.10:443
2023-09-21 16:21:04.175 20018-20101 routing                 org.openziti.mobile.debug            V  got msg[(/100.64.0.0:56632, /100.64.1.10:443)]: 60 bytes
2023-09-21 16:21:04.180 20018-20101 tcp-conn                org.openziti.mobile.debug            D  tcp:/100.64.0.0:56632 -> meet.wzw.aa/100.64.1.10:443/LISTEN transitioning to SYN_RCVD
2023-09-21 16:21:04.181 20018-20045 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            D  connecting to Dial(service=meet, appData=DialData(dstProtocol=TCP, dstHostname=meet.wzw.aa, dstIp=null, dstPort=443, srcProtocol=null, srcIp=null, srcPort=null, sourceAddr=null), identity=null, callerId=wJhH4zmyb6)
2023-09-21 16:21:04.182 20018-20045 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            D  connecting to meet
2023-09-21 16:21:04.182 20018-20045 o.o.i.ZitiContextImpl   org.openziti.mobile.debug            D  getNetworkSession(meet)
2023-09-21 16:21:04.182 20018-20045 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            D  using session[clmswkhpo44kto7r1jksbgrfn]
2023-09-21 16:21:04.183 20018-20045 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            D  using ch[Channel[tls://39.98.33.0:3022]]
2023-09-21 16:21:04.185 20018-20045 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            D  starting network connection clmswkhpo44kto7r1jksbgrfn/5
2023-09-21 16:21:04.186 20018-20101 routing                 org.openziti.mobile.debug            I  created tcp:/100.64.0.0:56632 -> /100.64.1.10:443
2023-09-21 16:21:04.188 20018-20045 C.9.3.0:3022]           org.openziti.mobile.debug            V  sending m = ct: Connect, seq: 21, repTo: -1, connId: 5, body 36 bytes
2023-09-21 16:21:04.192 20018-20018 WebViewClient           org.openziti.mobile.debug            I  资源调用: https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2
2023-09-21 16:21:04.193 20018-20045 C.9.3.0:3022]           org.openziti.mobile.debug            V  got m = ct: Data, seq: 21, repTo: -1, connId: 3, body 1578 bytes
2023-09-21 16:21:04.195 20018-20045 ziti-conn[wJhH4zmyb6/3] org.openziti.mobile.debug            V  conn[3] received message[Data] with seq[7]
2023-09-21 16:21:04.196 20018-20045 ziti-conn[wJhH4zmyb6/3] org.openziti.mobile.debug            V  received data(1578 bytes) for conn[3]
2023-09-21 16:21:04.200 20018-20050 ziti-conn[wJhH4zmyb6/3] org.openziti.mobile.debug            V  transferred 1561
2023-09-21 16:21:04.200 20018-20050 ziti-conn[wJhH4zmyb6/3] org.openziti.mobile.debug            V  read completed null
2023-09-21 16:21:04.200 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  got from 1561 from ziti
2023-09-21 16:21:04.200 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  made packet[1593] flags[ACK] seq[13883] ack[1541488340] data[1561]
2023-09-21 16:21:04.201 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            D  sending to peer packet_size[1613]
2023-09-21 16:21:04.201 20018-20050 ziti-conn[wJhH4zmyb6/3] org.openziti.mobile.debug            V  reading
2023-09-21 16:21:04.205 20018-20045 C.9.3.0:3022]           org.openziti.mobile.debug            V  got m = ct: StateConnected, seq: 22, repTo: 20, connId: 4, body 0 bytes
2023-09-21 16:21:04.208 20018-20046 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            D  network connection established clmswkhpo44kto7r1jksbgrfn/4
2023-09-21 16:21:04.209 20018-20046 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            D  connected
2023-09-21 16:21:04.210 20018-20314 C.9.3.0:3022]           org.openziti.mobile.debug            V  sending m = ct: Data, seq: 22, repTo: -1, connId: 4, body 24 bytes
2023-09-21 16:21:04.210 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            D  sending to peer packet_size[60]
2023-09-21 16:21:04.211 20018-20050 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            V  reading
2023-09-21 16:21:04.215 20018-20046 C.9.3.0:3022]           org.openziti.mobile.debug            V  got m = ct: Data, seq: 23, repTo: -1, connId: 4, body 24 bytes
2023-09-21 16:21:04.215 20018-20046 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            V  conn[4] received message[Data] with seq[1]
2023-09-21 16:21:04.215 20018-20046 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            V  received data(24 bytes) for conn[4]
2023-09-21 16:21:04.216 20018-20046 ziti-conn[wJhH4zmyb6/4] org.openziti.mobile.debug            D  crypto init finished conn[4]
2023-09-21 16:21:04.223 20018-20046 C.9.3.0:3022]           org.openziti.mobile.debug            V  got m = ct: StateConnected, seq: 24, repTo: 21, connId: 5, body 0 bytes
2023-09-21 16:21:04.225 20018-20045 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            D  network connection established clmswkhpo44kto7r1jksbgrfn/5
2023-09-21 16:21:04.226 20018-20314 C.9.3.0:3022]           org.openziti.mobile.debug            V  sending m = ct: Data, seq: 23, repTo: -1, connId: 5, body 24 bytes
2023-09-21 16:21:04.227 20018-20045 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            D  connected
2023-09-21 16:21:04.230 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            D  sending to peer packet_size[60]
2023-09-21 16:21:04.232 20018-20046 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            V  reading
2023-09-21 16:21:04.234 20018-20045 C.9.3.0:3022]           org.openziti.mobile.debug            V  got m = ct: Data, seq: 25, repTo: -1, connId: 5, body 24 bytes
2023-09-21 16:21:04.235 20018-20045 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            V  conn[5] received message[Data] with seq[1]
2023-09-21 16:21:04.235 20018-20045 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            V  received data(24 bytes) for conn[5]
2023-09-21 16:21:04.236 20018-20045 ziti-conn[wJhH4zmyb6/5] org.openziti.mobile.debug            D  crypto init finished conn[5]
2023-09-21 16:21:04.685 20018-20047 o.o.i.ZitiContextImpl   org.openziti.mobile.debug            D  [wJhH4zmyb6] slept and restarting on t[DefaultDispatcher-worker-4]
2023-09-21 16:21:04.686 20018-20055 o.o.a.Controller        org.openziti.mobile.debug            D  GET https://39.98.33.0:1280/edge/client/v1/current-api-session/service-updates session=clmswkauo44kho7r13csz7cri t[OkHttp https://39.98.33.0:1280/...]
2023-09-21 16:21:04.693 20018-20057 TrafficStats            org.openziti.mobile.debug            D  tagSocket(102) with statsTag=0xffffffff, statsUid=-1
2023-09-21 16:21:04.696 20018-20321 o.o.a.Controller        org.openziti.mobile.debug            D  GET https://39.98.33.0:1280/edge/client/v1/current-identity/edge-routers session=clmswkauo44kho7r13csz7cri t[OkHttp https://39.98.33.0:1280/...]
2023-09-21 16:21:04.698 20018-20056 TrafficStats            org.openziti.mobile.debug            D  tagSocket(124) with statsTag=0xffffffff, statsUid=-1
2023-09-21 16:21:04.740 20018-20313 o.o.i.ZitiContextImpl   org.openziti.mobile.debug            D  current edge routers = [EdgeRouter(name=edge-router-nips, hostname=, supportedProtocols={}, urls=null), EdgeRouter(name=edge-router-znz, hostname=, supportedProtocols={}, urls=null), EdgeRouter(name=edge-router-meet, hostname=, supportedProtocols={}, urls=null), EdgeRouter(name=edge-router-82, hostname=, supportedProtocols={}, urls=null), EdgeRouter(name=iZ8vb6qydsix4phpdx3r5kZ-edge-router, hostname=, supportedProtocols={tls=tls://39.98.33.0:3022}, urls=null), EdgeRouter(name=edge-router-142, hostname=, supportedProtocols={tls=tls://39.98.33.0:3022}, urls=null)]
2023-09-21 16:21:04.740 20018-20313 o.o.i.ZitiContextImpl   org.openziti.mobile.debug            D  delaying service refresh for 60000ms
2023-09-21 16:21:04.866 20018-20069 routing                 org.openziti.mobile.debug            D  5 active connections
2023-09-21 16:21:04.866 20018-20069 routing                 org.openziti.mobile.debug            V  (/100.64.0.0:56620, /100.64.1.10:443)/SYN_RCVD
2023-09-21 16:21:04.866 20018-20069 routing                 org.openziti.mobile.debug            V  (/100.64.0.0:41632, /100.64.1.10:443)/ESTABLISHED
2023-09-21 16:21:04.866 20018-20069 routing                 org.openziti.mobile.debug            V  (/100.64.0.0:56632, /100.64.1.10:443)/SYN_RCVD
2023-09-21 16:21:04.866 20018-20069 routing                 org.openziti.mobile.debug            V  (/100.64.0.0:56612, /100.64.1.10:443)/ESTABLISHED
2023-09-21 16:21:04.867 20018-20069 routing                 org.openziti.mobile.debug            V  (/100.64.0.0:56608, /100.64.1.10:443)/Closed
2023-09-21 16:21:05.341 20018-20052 EGL_emulation           org.openziti.mobile.debug            D  app_time_stats: avg=502.28ms min=10.51ms max=832.98ms count=3
2023-09-21 16:21:13.557 20018-20313 C.9.3.0:3022]           org.openziti.mobile.debug            V  sending m = ct: LatencyType, seq: 24, repTo: -1, connId: null, body 0 bytes
2023-09-21 16:21:13.570 20018-20313 C.9.3.0:3022]           org.openziti.mobile.debug            V  got m = ct: ResultType, seq: 26, repTo: 24, connId: null, body 0 bytes
2023-09-21 16:21:13.571 20018-20313 C.9.3.0:3022]           org.openziti.mobile.debug            V  latency[Channel[tls://39.98.33.0:3022]] is now 16
2023-09-21 16:21:13.571 20018-20313 C.9.3.0:3022]           org.openziti.mobile.debug            D  transitioned to Connected(latency=14)
2023-09-21 16:21:18.792 20018-20313 C.9.3.0:3022]           org.openziti.mobile.debug            V  got m = ct: Data, seq: 27, repTo: -1, connId: 1, body 41 bytes
2023-09-21 16:21:18.792 20018-20313 ziti-conn[wJhH4zmyb6/1] org.openziti.mobile.debug            V  conn[1] received message[Data] with seq[7]
2023-09-21 16:21:18.792 20018-20313 ziti-conn[wJhH4zmyb6/1] org.openziti.mobile.debug            V  received data(41 bytes) for conn[1]
2023-09-21 16:21:18.792 20018-20313 ziti-conn[wJhH4zmyb6/1] org.openziti.mobile.debug            V  transferred 24
2023-09-21 16:21:18.792 20018-20313 ziti-conn[wJhH4zmyb6/1] org.openziti.mobile.debug            V  read completed null
2023-09-21 16:21:18.793 20018-20313 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  got from 24 from ziti
2023-09-21 16:21:18.794 20018-20313 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  made packet[56] flags[ACK] seq[13883] ack[3729741702] data[24]
2023-09-21 16:21:18.794 20018-20313 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            D  sending to peer packet_size[76]
2023-09-21 16:21:18.794 20018-20313 ziti-conn[wJhH4zmyb6/1] org.openziti.mobile.debug            V  reading
2023-09-21 16:21:18.795 20018-20050 C.9.3.0:3022]           org.openziti.mobile.debug            V  got m = ct: Data, seq: 28, repTo: -1, connId: 1, body 0 bytes
2023-09-21 16:21:18.795 20018-20050 ziti-conn[wJhH4zmyb6/1] org.openziti.mobile.debug            V  conn[1] received message[Data] with seq[8]
2023-09-21 16:21:18.795 20018-20050 ziti-conn[wJhH4zmyb6/1] org.openziti.mobile.debug            V  received data(0 bytes) for conn[1]
2023-09-21 16:21:18.795 20018-20050 ziti-conn[wJhH4zmyb6/1] org.openziti.mobile.debug            D  received FIN
2023-09-21 16:21:18.796 20018-20046 ziti-conn[wJhH4zmyb6/1] org.openziti.mobile.debug            V  read completed kotlinx.coroutines.channels.ClosedReceiveChannelException: Channel was closed
2023-09-21 16:21:18.797 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            D  ziti conn is closed
2023-09-21 16:21:18.797 20018-20046 tcp-conn                org.openziti.mobile.debug            D  tcp:/100.64.0.0:41632 -> meet.wzw.aa/100.64.1.10:443/ESTABLISHED transitioning to FIN_WAIT_1
2023-09-21 16:21:18.797 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  made packet[32] flags[ACK,FIN] seq[13907] ack[3729741702] data[null]
2023-09-21 16:21:18.798 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            D  sending to peer packet_size[52]
2023-09-21 16:21:18.798 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            D  got close() in FIN_WAIT_1
2023-09-21 16:21:18.798 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            I  readZitiConn() is finished
2023-09-21 16:21:24.639 20018-20052 EGL_emulation           org.openziti.mobile.debug            D  app_time_stats: avg=1130.43ms min=2.30ms max=19013.21ms count=17
2023-09-21 16:21:34.867 20018-20069 routing                 org.openziti.mobile.debug            D  4 active connections
2023-09-21 16:21:34.867 20018-20069 routing                 org.openziti.mobile.debug            V  (/100.64.0.0:56620, /100.64.1.10:443)/SYN_RCVD
2023-09-21 16:21:34.868 20018-20069 routing                 org.openziti.mobile.debug            V  (/100.64.0.0:41632, /100.64.1.10:443)/FIN_WAIT_1
2023-09-21 16:21:34.868 20018-20069 routing                 org.openziti.mobile.debug            V  (/100.64.0.0:56632, /100.64.1.10:443)/SYN_RCVD
2023-09-21 16:21:34.868 20018-20069 routing                 org.openziti.mobile.debug            V  (/100.64.0.0:56612, /100.64.1.10:443)/ESTABLISHED
2023-09-21 16:21:44.235 20018-20101 routing                 org.openziti.mobile.debug            V  got msg[(/100.64.0.0:56632, /100.64.1.10:443)]: 60 bytes
2023-09-21 16:21:44.236 20018-20101 routing                 org.openziti.mobile.debug            V  got msg[(/100.64.0.0:56620, /100.64.1.10:443)]: 60 bytes
2023-09-21 16:21:44.236 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  received flags[SYN] seq[2149038336] ack[0] ws[65535 (1073725440)]
2023-09-21 16:21:44.236 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  state[SYN_RCVD] <- SYN data[0]
2023-09-21 16:21:44.236 20018-20047 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  received flags[SYN] seq[1471421732] ack[0] ws[65535 (1073725440)]
2023-09-21 16:21:44.237 20018-20047 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  state[SYN_RCVD] <- SYN data[0]
2023-09-21 16:21:44.237 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            E  invalid packet for state[SYN_RCVD]: [TCP Header (40 bytes)]
                                                                                                      Source port: 56632 (unknown)
                                                                                                      Destination port: 443 (HTTPS)
                                                                                                      Sequence Number: 2149038336
                                                                                                      Acknowledgment Number: 0
                                                                                                      Data Offset: 10 (40 [bytes])
                                                                                                      Reserved: 0
                                                                                                      URG: false
                                                                                                      ACK: false
                                                                                                      PSH: false
                                                                                                      RST: false
                                                                                                      SYN: true
                                                                                                      FIN: false
                                                                                                      Window: 65535
                                                                                                      Checksum: 0xdc63
                                                                                                      Urgent Pointer: 0
                                                                                                      Option: [Kind: 2 (Maximum Segment Size)] [Length: 4 bytes] [Maximum Segment Size: 32728 bytes]
                                                                                                      Option: [Kind: 4 (SACK Permitted)] [Length: 2 bytes]
                                                                                                      Option: [Kind: 8 (Timestamps)] [Length: 10 bytes] [TS Value: 839179739] [TS Echo Reply: 0]
                                                                                                      Option: [Kind: 1 (No Operation)]
                                                                                                      Option: [Kind: 3 (Window Scale)] [Length: 3 bytes] [Shift Count: 9]
2023-09-21 16:21:44.237 20018-20047 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            E  invalid packet for state[SYN_RCVD]: [TCP Header (40 bytes)]
                                                                                                      Source port: 56620 (unknown)
                                                                                                      Destination port: 443 (HTTPS)
                                                                                                      Sequence Number: 1471421732
                                                                                                      Acknowledgment Number: 0
                                                                                                      Data Offset: 10 (40 [bytes])
                                                                                                      Reserved: 0
                                                                                                      URG: false
                                                                                                      ACK: false
                                                                                                      PSH: false
                                                                                                      RST: false
                                                                                                      SYN: true
                                                                                                      FIN: false
                                                                                                      Window: 65535
                                                                                                      Checksum: 0xa0af
                                                                                                      Urgent Pointer: 0
                                                                                                      Option: [Kind: 2 (Maximum Segment Size)] [Length: 4 bytes] [Maximum Segment Size: 32728 bytes]
                                                                                                      Option: [Kind: 4 (SACK Permitted)] [Length: 2 bytes]
                                                                                                      Option: [Kind: 8 (Timestamps)] [Length: 10 bytes] [TS Value: 839179739] [TS Echo Reply: 0]
                                                                                                      Option: [Kind: 1 (No Operation)]
                                                                                                      Option: [Kind: 3 (Window Scale)] [Length: 3 bytes] [Shift Count: 9]
2023-09-21 16:21:44.238 20018-20101 routing                 org.openziti.mobile.debug            V  got msg[(/100.64.0.0:56620, /100.64.1.10:443)]: 60 bytes
2023-09-21 16:21:44.238 20018-20101 routing                 org.openziti.mobile.debug            V  got msg[(/100.64.0.0:56632, /100.64.1.10:443)]: 60 bytes
2023-09-21 16:21:44.239 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  received flags[SYN] seq[1471421732] ack[0] ws[65535 (1073725440)]
2023-09-21 16:21:44.239 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  state[SYN_RCVD] <- SYN data[0]
2023-09-21 16:21:44.239 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            E  invalid packet for state[SYN_RCVD]: [TCP Header (40 bytes)]
                                                                                                      Source port: 56620 (unknown)
                                                                                                      Destination port: 443 (HTTPS)
                                                                                                      Sequence Number: 1471421732
                                                                                                      Acknowledgment Number: 0
                                                                                                      Data Offset: 10 (40 [bytes])
                                                                                                      Reserved: 0
                                                                                                      URG: false
                                                                                                      ACK: false
                                                                                                      PSH: false
                                                                                                      RST: false
                                                                                                      SYN: true
                                                                                                      FIN: false
                                                                                                      Window: 65535
                                                                                                      Checksum: 0x98d0
                                                                                                      Urgent Pointer: 0
                                                                                                      Option: [Kind: 2 (Maximum Segment Size)] [Length: 4 bytes] [Maximum Segment Size: 32728 bytes]
                                                                                                      Option: [Kind: 4 (SACK Permitted)] [Length: 2 bytes]
                                                                                                      Option: [Kind: 8 (Timestamps)] [Length: 10 bytes] [TS Value: 839181754] [TS Echo Reply: 0]
                                                                                                      Option: [Kind: 1 (No Operation)]
                                                                                                      Option: [Kind: 3 (Window Scale)] [Length: 3 bytes] [Shift Count: 9]
2023-09-21 16:21:44.240 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  received flags[SYN] seq[2149038336] ack[0] ws[65535 (1073725440)]
2023-09-21 16:21:44.240 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  state[SYN_RCVD] <- SYN data[0]
2023-09-21 16:21:44.240 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            E  invalid packet for state[SYN_RCVD]: [TCP Header (40 bytes)]
                                                                                                      Source port: 56632 (unknown)
                                                                                                      Destination port: 443 (HTTPS)
                                                                                                      Sequence Number: 2149038336
                                                                                                      Acknowledgment Number: 0
                                                                                                      Data Offset: 10 (40 [bytes])
                                                                                                      Reserved: 0
                                                                                                      URG: false
                                                                                                      ACK: false
                                                                                                      PSH: false
                                                                                                      RST: false
                                                                                                      SYN: true
                                                                                                      FIN: false
                                                                                                      Window: 65535
                                                                                                      Checksum: 0xd484
                                                                                                      Urgent Pointer: 0
                                                                                                      Option: [Kind: 2 (Maximum Segment Size)] [Length: 4 bytes] [Maximum Segment Size: 32728 bytes]
                                                                                                      Option: [Kind: 4 (SACK Permitted)] [Length: 2 bytes]
                                                                                                      Option: [Kind: 8 (Timestamps)] [Length: 10 bytes] [TS Value: 839181754] [TS Echo Reply: 0]
                                                                                                      Option: [Kind: 1 (No Operation)]
                                                                                                      Option: [Kind: 3 (Window Scale)] [Length: 3 bytes] [Shift Count: 9]
2023-09-21 16:21:44.240 20018-20101 routing                 org.openziti.mobile.debug            V  got msg[(/100.64.0.0:56632, /100.64.1.10:443)]: 60 bytes
2023-09-21 16:21:44.241 20018-20101 routing                 org.openziti.mobile.debug            V  got msg[(/100.64.0.0:56620, /100.64.1.10:443)]: 60 bytes
2023-09-21 16:21:44.241 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  received flags[SYN] seq[2149038336] ack[0] ws[65535 (1073725440)]
2023-09-21 16:21:44.241 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  state[SYN_RCVD] <- SYN data[0]
2023-09-21 16:21:44.241 20018-20050 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            E  invalid packet for state[SYN_RCVD]: [TCP Header (40 bytes)]
                                                                                                      Source port: 56632 (unknown)
                                                                                                      Destination port: 443 (HTTPS)
                                                                                                      Sequence Number: 2149038336
                                                                                                      Acknowledgment Number: 0
                                                                                                      Data Offset: 10 (40 [bytes])
                                                                                                      Reserved: 0
                                                                                                      URG: false
                                                                                                      ACK: false
                                                                                                      PSH: false
                                                                                                      RST: false
                                                                                                      SYN: true
                                                                                                      FIN: false
                                                                                                      Window: 65535
                                                                                                      Checksum: 0xc403
                                                                                                      Urgent Pointer: 0
                                                                                                      Option: [Kind: 2 (Maximum Segment Size)] [Length: 4 bytes] [Maximum Segment Size: 32728 bytes]
                                                                                                      Option: [Kind: 4 (SACK Permitted)] [Length: 2 bytes]
                                                                                                      Option: [Kind: 8 (Timestamps)] [Length: 10 bytes] [TS Value: 839185979] [TS Echo Reply: 0]
                                                                                                      Option: [Kind: 1 (No Operation)]
                                                                                                      Option: [Kind: 3 (Window Scale)] [Length: 3 bytes] [Shift Count: 9]
2023-09-21 16:21:44.241 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  received flags[SYN] seq[1471421732] ack[0] ws[65535 (1073725440)]
2023-09-21 16:21:44.242 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            V  state[SYN_RCVD] <- SYN data[0]
2023-09-21 16:21:44.243 20018-20046 tcp:/100.6...4.1.10:443 org.openziti.mobile.debug            E  invalid packet for state[SYN_RCVD]: [TCP Header (40 bytes)]
                                                                                                      Source port: 56620 (unknown)
                                                                                                      Destination port: 443 (HTTPS)
                                                                                                      Sequence Number: 1471421732
                                                                                                      Acknowledgment Number: 0
                                                                                                      Data Offset: 10 (40 [bytes])
                                                                                                      Reserved: 0
                                                                                                      URG: false
                                                                                                      ACK: false
                                                                                                      PSH: false
                                                                                                      RST: false
                                                                                                      SYN: true
                                                                                                      FIN: false
                                                                                                      Window: 65535
                                                                                                      Checksum: 0x884f
                                                                                                      Urgent Pointer: 0
                                                                                                      Option: [Kind: 2 (Maximum Segment Size)] [Length: 4 bytes] [Maximum Segment Size: 32728 bytes]
                                                                                                      Option: [Kind: 4 (SACK Permitted)] [Length: 2 bytes]
                                                                                                      Option: [Kind: 8 (Timestamps)] [Length: 10 bytes] [TS Value: 839185979] [TS Echo Reply: 0]
                                                                                                      Option: [Kind: 1 (No Operation)]
                                                                                                      Option: [Kind: 3 (Window Scale)] [Length: 3 bytes] [Shift Count: 9]
ekoby commented 1 month ago

this should be fixed as underlying tunneler SDK is changes in recent releases