Question

Android: Connection exception on my Android device


Badge

Hello team,

I am using an Android device and trying to integrate Heap Analytics with my project. I am getting this error message "java.net.ConnectException: Failed to connect to heapanalytics.com/:::443" every time I try to connect.

Note: I am able to log the events using emulator and other devices.

 

2022-08-04 12:08:22.668 8576-23264/com.g4app.dev W/Heap: Error connecting to https://heapanalytics.com/api/integrations/android/track: java.net.ConnectException: Failed to connect to heapanalytics.com/:::443
2022-08-04 12:08:22.669 8576-23264/com.g4app.dev W/Heap: Batch request failed due to following exception:
java.net.ConnectException: Failed to connect to heapanalytics.com/:::443
at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:147)

 

Device Details:

Device name: OnePlus 7 Pro

Android version: 11

Build number: Oxygen OS 11 0.9.1.GM21AA

 

Can you please help me with this?

 

Thank you,

Aanal Shah


0 replies

Be the first to reply!

Reply