Solved

Android: Connection exception on my Android device

  • 4 August 2022
  • 1 reply
  • 283 views

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

icon

Best answer by dlad 14 January 2023, 00:53

View original

1 reply

Userlevel 4
Badge +2

Hi Aanal,

Thank you for sharing and sorry to hear you are running into a crash. Sorry for the very late response here. Are you still encountering this issue? If so, I can escalate this to our support inbox for a more detailed investigation. 

Reply