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 :

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

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
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Sessions are no longer created automatically for WebSocket connections in jServer4. There is a simple workaround.

 
Upvote 0
Top