Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server drops client connections #115

Open
cyates559 opened this issue May 2, 2017 · 3 comments
Open

Server drops client connections #115

cyates559 opened this issue May 2, 2017 · 3 comments
Assignees

Comments

@cyates559
Copy link
Collaborator

cyates559 commented May 2, 2017

Some specific servers are not holding on to client sockets.

We have not isolated this to the version of python or the actual hosting service yet, but it happens on all of the following:

  • The Heroku server, which runs __??
  • The http://carsen.ml/ server, which runs Ubuntu 16.04 and Python 3.5.2 and Python 3.4.5
@cyates559
Copy link
Collaborator Author

As of yesterday we are going to give AppEngine a try to see if it will solve the problem

@cyates559
Copy link
Collaborator Author

The heroku server appears to be fixed by Ryan.

We can keep this issue open until we feel safe closing it.

@cyates559
Copy link
Collaborator Author

cyates559 commented May 4, 2017

This issue is not resolved. After a very long time of listening to music, I found that my app crashed

E/DTK Socket: the main socket was disconnected
E/AndroidRuntime: FATAL EXCEPTION: Thread-3
	Process: edu.jocruzcsumb.discotheque, PID: 25806
	junit.framework.AssertionFailedError
		at junit.framework.Assert.fail(Assert.java:48)
		at junit.framework.Assert.fail(Assert.java:56)
		at edu.jocruzcsumb.discotheque.Log.wtf(Log.java:143)
		at edu.jocruzcsumb.discotheque.Sockets.getSocket(Sockets.java:104)
		at edu.jocruzcsumb.discotheque.Sockets$SocketWaiter.getArray(Sockets.java:252)
		at edu.jocruzcsumb.discotheque.PickFloorActivity$2.run(PickFloorActivity.java:94)
		at java.lang.Thread.run(Thread.java:761)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants