Author Message
hkalyoncu
Joined: Jul 10, 2018
Messages: 21
Offline
Hi

We are trying to connect to Aura services with the sample
communication application.
But sometimes application cannot connect to services after
login. But even successfully connected to services client throws some errors at browser console.
This is also true when logout. Sometime client cannot logout and throws some error at browser console.
See attached chrome console logs.

JavaScript SDK version is 4.2.1.15
Google chrome version is 74.0.3729.131
Web Gateway version is 3.5.1
Filename logoutUnseccesful.txt [Disk] Download
Filename browserconsolelog_login.txt [Disk] Download
  • [Thumb - browserconsolelog_login.png]
[Disk] Download
Dmitry_Shikulin
Joined: Dec 20, 2016
Messages: 58
Offline
Hello hkalyoncu

Provided logs contains too small info for investigation by technical team.
Based on console output it looks like you are trying to connect to the server without proepr certificate.
Please make sure you have installed proper certificate to establish secure connection.

Regards,
Dmitry
JMiddleton
Joined: Apr 1, 2019
Messages: 86
Offline
Another possibility here for the login issue is that the WebSocket is being blocked due to a proxy or something else. The logs are limited but based on what is there it appears that the login was in the end successful. The errors there are just saying that a connection failed, but the SDK retried and was eventually able to connect probably via SSE. This is expected behavior depending on the root cause of the WebSocket failure.

To capture more logs you can select the verbose logging level option in the f12 DevTools windows.

Regarding the logout issue there is an issue there that we've started investigating.
hkalyoncu
Joined: Jul 10, 2018
Messages: 21
Offline
hi

is there any update about logout issue?
JMiddleton
Joined: Apr 1, 2019
Messages: 86
Offline
A fix for that exception will be in the upcoming 4.3 CSDK.
Go to:   
Mobile view