B4J Question B4J 9.8 Initialization Error

Ganiadi

Active Member
Licensed User
Longtime User
Dear teams,

My web apps running smoothly using B4J 9.5
But yesterday after upgrading to B4J 9.8 it was stopped and raised an error
I tried to restarted the service many times, sometime OK, but mostly raised error

Below is the procedure :

[CODE lang="b4x" title="Logged Procedure"]Private Sub WebSocket_Connected (WebSocket1 As WebSocket)
Try
ws = WebSocket1
wspgID = ws.Session.Id
Log("AHA")
'=================================================================================
DateTime.DateFormat = "yyyy/MM/dd hh:MM:ss"
cRemoteIP = ws.UpgradeRequest.RemoteAddress
Main.TrackWEB(wspgName, cRemoteIP)
'=================================================================================
SetPage
Catch
Log(LastException)
End Try
End Sub[/CODE]

Below is the error

1660267027733.png


Please help and advice if i missed something, since i have to rolled back to 9.5


Tks & Best Regards
 
Sessions are no longer created automatically for WebSocket connections in jServer4. There is a simple workaround.

 
Upvote 0
Back
Top