Here's the situation.
I have a ATT modem with 1000Mbps connection. Around 10-15 devices connected at a time.
Now my phone (Galaxy Note 10+ and Note 5) have issues connecting to Youtube Vanced or any apps that use google apis over my wifi. I have confirmed this by creating my own android app that uses google apis .
Here's the relevant stack trace:
Caused by java.net.ConnectException: Failed to connect to www.googleapis.com/216.58.193.138:443
at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:1409)
at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:1359)
at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:221)
at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:144)
at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:106)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:400)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:333)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:483)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:135)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.connect(DelegatingHttpsURLConnection.java:90)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:30)
at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:148)
at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:84)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1012)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:541)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:474)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:591)
at com.adityamhatre.bookingscheduler.googleapi.CalendarService$getBookingsForDate$1.invokeSuspend(CalendarService.kt:67)
I have no issues connecting to google apis over my mobile data connection.
Also, seems like only my samsung devices have problem connecting. My OnePlus devices can connect with no problem over wifi.
I have already tried resetting the router.
Also, I tried installing AdGuard VPN, and that surprisingly works! (over wifi)
But I dont want to use a VPN just to connect to watch youtube!
question from:
https://stackoverflow.com/questions/65944228/cannot-connect-to-googleapis-com-over-wifi 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…