Expand my Community achievements bar.

SOLVED

Error while creating griffon/aepassurance session

Avatar

Level 1

Hi all,

I'm using  "@adobe/react-native-aepassurance": "1.2.0" package for creating a session & validating the events in adobe portal. I'm able to create session validate those events properly with normal internet connection but as soon as I connect to our office vpn the session is not being created.

Below is the error details from adb logcat: 

adb logcat after entering PIN & connecting:

 

07-23 20:02:20.769 18432 20259 D AdobeExperienceSDK: Assurance - Confirm url for pin-code entry received, attempting connection to: wss://connect.griffon.adobe.com/client/v1?sessionId=e613cff6-8277-4d5d-ba5f-af9a7e6a87ac&token=9609&orgId=95CF659E533DE4C90A490D4D%40AdobeOrg&clientId=aa4044fd-16c0-4327-835f-5ea84c43a4d4

07-23 20:02:20.964 18432 20161 V FA : Inactivity, disconnecting from the service

07-23 20:02:21.592 1752 20260 E ResolverController: No valid NAT64 prefix (101, <unspecified>/0)

07-23 20:02:22.408 18432 18533 I X509Util: Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

07-23 20:02:22.409 18432 18534 E chromium: [ERROR:ssl_client_socket_impl.cc(946)] handshake failed; returned -1, SSL error code 1, net_error -202

07-23 20:02:22.432 18432 18432 E AdobeExperienceSDK: Assurance - WebSocket connection to 'wss://connect.griffon.adobe.com/client/v1?sessionId=e613cff6-8277-4d5d-ba5f-af9a7e6a87ac&token=9609&orgId=95CF659E533DE4C90A490D4D@AdobeOrg&clientId=aa4044fd-16c0-4327-835f-5ea84c43a4d4' failed: WebSocket opening handshake was canceled

07-23 20:02:22.432 18432 18432 I chromium: [INFO:CONSOLE(13)] "WebSocket connection to 'wss://connect.griffon.adobe.com/client/v1?sessionId=e613cff6-8277-4d5d-ba5f-af9a7e6a87ac&token=9609&orgId=95CF659E533DE4C90A490D4D@AdobeOrg&clientId=aa4044fd-16c0-4327-835f-5ea84c43a4d4' failed: WebSocket opening handshake was canceled", source: file:///android_asset/WebviewSocket.html (13)

07-23 20:02:22.436 18432 19157 W AdobeExperienceSDK: Assurance - Abnornmal closure of websocket. Reason - and closeCode - 1006

07-23 20:02:22.436 18432 19157 W AdobeExperienceSDK: Assurance - Assurance connection closed. Reason: Connection Error, Description: The connection may be failing due to a network issue or an incorrect PIN. Ple

 

 
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @VInith,

  Can you provide us a few more details on this issue.

    1. Does this happen when you create a new connection with VPN or also when you transition from normal to VPN during a connected session ?

    2. The log seems to be from Android. Does this also occur with your iOS app ?

    3. Does this happen on simulator or device or both ?

    4. Can you provide the OS version and model of the device with which you can reproduce ?

 

 

Thank you,

Pravin Prakash Kumar

Mobile Engineer

Adobe

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi @VInith,

  Can you provide us a few more details on this issue.

    1. Does this happen when you create a new connection with VPN or also when you transition from normal to VPN during a connected session ?

    2. The log seems to be from Android. Does this also occur with your iOS app ?

    3. Does this happen on simulator or device or both ?

    4. Can you provide the OS version and model of the device with which you can reproduce ?

 

 

Thank you,

Pravin Prakash Kumar

Mobile Engineer

Adobe

 

Avatar

Level 1

in iOS we are experencing the same issue.
adobe assurance session disconnected
close code 1006

reason
isClean : false

It connect for a second and again got disconnected. This process is endless. Earlier it was not happen. 

Please provide solution on this. We are experiencing much issues on this to test live data.