B4J Question Application hangs with no error after some time has passed.

Yuri Cinesi

Licensed User
I wrote a B4J application and it seems to hang after a certain amount of time with no errors visible.
The application itself sends firebase messages and uses asynctextstreams to recieve text from B4A/B4i applications.
All the various errors should be handled correctly. I've attached the project.

I have the application itself running inside a screen command in a lightsail AWS instance.



Staff member
Licensed User
Building a server, with sockets, that handles multiple clients is a mistake. It is difficult to do it correctly and you have much better options available.

Use jServer to create a real server.