I’m getting no content received error despite reading line in concurrent block. Let me know what is going wrong here.
Hey @ravivarmalearner, could you check if you’ve committed and pushed the latest changes?
Looks like ClientHandler is currently empty on our server:
Yeah done that. But still facing same issue.
@ravivarmalearner Looks like the issue is with this line:
new ClientHandler(serverSocket.accept()).run()
This runs the handler synchronously on the main thread, which blocks further connections.
To run it asynchronously, you should start a new thread:
new Thread(new ClientHandler(serverSocket.accept())).start();
Let me know if you’d like further clarification!
Thank you.. Its working now.



