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

Discussion in 'B4J Questions' started by Yuri Cinesi, Jul 4, 2019.

  1. Yuri Cinesi

    Yuri Cinesi Member 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.
     

    Attached Files:

  2. Erel

    Erel Administrator 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.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice