Troubleshooting
Problem
Environment: UM (Universal Messaging) server v10.1 Fix 4, Javascript client v10.1 Fix 3
Problem appears in all browsers tested, Edge, Chrome, and Firefox.
It only occurs on HTTPS connections (no client cert required).
HTTP works as expected.
Problem: Websockets connections that are created using the JavaScript library nirvana.js disconnects and reconnects approximately every 10-12 seconds.
Analysis: the JavaScript client logs show the following:
"[Transport] Received Driver OnError Callback with error: [object CloseEvent] Error Code : 1006"
This seems to be a websocket-specific error code meaning the connection was closed abnormally (locally) by the browser implementation.
But it's not clear if this is provoked by some other problem in UM or is the real cause.
The nirvana.log file shows the disconnect a second before the client log.
Nirvana.log shows the following:
"[Mon May 07 09:33:12 CDT 2018] [ClosePool:0] [com.pcbsys.foundation] - IO : [10.36.17.60:58733] Closing connection with queue size = 0
[Mon May 07 09:33:12 CDT 2018] [ClosePool:0] [com.pcbsys.nirvana.server] - DataGroup> Unregistered F5ug43OJpnCzWmJg8Wyv/piipcs
[Mon May 07 09:33:12 CDT 2018] [ClosePool:0] [com.pcbsys.nirvana.server] - UserManager: User JSUser_eb180db9-5148-f3f5-4c97-afae17d7ab29@10.36.17.60 Logged Out using wss, Reason : unknown, session established for 10 seconds, Session Id = 97605dcf00000000 ID: 10.36.17.60:58733
UMRealmService.log with SSL logging turned on -Djavax.net.debug=all
INFO | jvm 1 | 2018/05/07 09:33:13 | Scheduler Worker Pool:1, called closeOutbound()
INFO | jvm 1 | 2018/05/07 09:33:13 | Scheduler Worker Pool:1, closeOutboundInternal()
INFO | jvm 1 | 2018/05/07 09:33:13 | Scheduler Worker Pool:1, SEND TLSv1.2 ALERT: warning, description = close_notify
Web client log
Mon May 07 2018 09:33:13 GMT-0500 (Central Daylight Time) 4 [Transport] Received Driver OnError Callback with error: [object CloseEvent] Error Code : 1006
Mon May 07 2018 09:33:13 GMT-0500 (Central Daylight Time) 3 [Transport] Driver failure count: 1
Mon May 07 2018 09:33:13 GMT-0500 (Central Daylight Time) 7 [Transport] Resetting the Session. Reason: Driver Error: [object CloseEvent] Error Code : 1006
Mon May 07 2018 09:33:13 GMT-0500 (Central Daylight Time) 6 [Transport] Tearing Down Driver"
This reproduces with a simple JS (Java Script) web page in environment with HTTPS.
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
20 March 2025
UID
ibm17211633