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

Keeps trying ipv6 on a non-ipv6 network #410

Open
androidacy-user opened this issue Apr 21, 2023 · 0 comments
Open

Keeps trying ipv6 on a non-ipv6 network #410

androidacy-user opened this issue Apr 21, 2023 · 0 comments

Comments

@androidacy-user
Copy link

Hello!

IPv6 is blocked on my current network, but Matomo keeps trying to send data over IPv6 with the following error:

Transmission failed unexpectedly.
  java.net.SocketTimeoutException: failed to connect to <domain>/2606:4700:<rest of ip> (port 443) from
  /fec0::9857:9de8:e6ae:7242 (port 43724) after 10ms
  	at libcore.io.IoBridge.connectErrno(IoBridge.java:235)
  	at libcore.io.IoBridge.connect(IoBridge.java:179)
  	at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
  	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
  	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
  	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
  	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
  	at java.net.Socket.connect(Socket.java:646)
  	at com.android.okhttp.internal.Platform.connectSocket(Platform.java:182)
  	at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:145)
  	at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)
  	at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)
  	at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)
  	at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)
  	at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)
  	at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)
  	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)
  	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)
  	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:262)
  	at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:219)
  	at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:30)
  	at org.matomo.sdk.dispatcher.DefaultPacketSender.send(DefaultPacketSender.java:78)
  	at org.matomo.sdk.dispatcher.DefaultDispatcher$1.run(DefaultDispatcher.java:213)

Nothing else in the app is having network issues. After three tries, it seems to transmit successfully over IPv4.

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

1 participant