B4J Question [ABMaterial] Web app with MsSQl database - illegal character Error

Bladimir Carrillo

Member
Licensed User
Longtime User
This error is related to web app posted here https://www.b4x.com/android/forum/threads/web-app-with-mssql-database.71243/#post-455994

Message related to an illegal character it appears repeatedly
In this case the error persists even when I restart the app or close windows session or restart the computer, and in some cases do not allow to clients to enter to app on any browser, this makes it critical.

From starting app ...

Any idea please?
 

billzhan

Active Member
Licensed User
Longtime User
Caused by: org.eclipse.jetty.websocket.api.WebSocketException: RemoteEndpoint un
available, current state [CLOSED], expecting [OPEN or CONNECTED]
at

It seems that the websocket is closed. Any exception which is not handled (try... catch...) in websocket handler will cause the handler exit.

If possible run in Debug mode to find any detailed logs.
 
Upvote 0

Bladimir Carrillo

Member
Licensed User
Longtime User
Based on the logs a client is sending requests. Check the server log files (not the log output). The client ip address will probably appear there.

At this point I had to recompile the app to republish it and the error disappeared. I deleted the temp and log folders.
I will be pending if the error appears again.

Thanks.
 
Upvote 0

Bladimir Carrillo

Member
Licensed User
Longtime User
You cannot see it from the logs.

Based on the logs a client is sending requests. Check the server log files (not the log output). The client ip address will probably appear there.

Right now the error is appearing again repeatedly ...


I attach the log file ...

Thank you in advance for your suggestions.
 

Attachments

  • b4j-2016_10_19.request.log.TXT
    43.6 KB · Views: 331
Upvote 0

billzhan

Active Member
Licensed User
Longtime User
B4X:
AboutPage/donotdelete.conn?rand=162398 HTTP/1.1" 200 0

It seems that it's ABMaterial server. It's better to add [AbMaterial] tag to thread title, so some one else can help.

You'd better to run it from you local machine in debug mode to find out which lines cause the exceptions.

Provide more details. Upload the project or a reproducible demo will help.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…