Closed doomed2020 closed 6 years ago
Wierd. Seems like the server is expecting a Base64 String and for some reason, it recives non-Base64 data.
I will have to investigate this further to come up with a solution.
Thank you for pointing out this issue.
I made few changes in the androidextension.dll code:
public void PluginMain() { . . . . serverSocket.Listen(500); // Changed it to 500 from 5 }
Also in the android app, increased the socket timeout to "50000" from "5000". The App does not crash instantly on reconnect now, I am not sure if it is the right solution. I think it was caused due to app making too many connection attempts to the server, which is unable to handle all connection attempts at the same time(my theory).
Hi!
I just pushed a version with the changed pending limit, and I see how this was an issue!
You can check out the changed version here:
97f7d61a61dda780e96bdbf344827744402012a0
Hi,
Getting a sudden app crash when android client is connected after the server is restarted. 1st connection attempt is fine, but the 2nd attempt right after I close the server and re-open it to Listen on a Port, the app crashes without any error. Found some details of the crash in the Event Viewer: