Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Connection Pool Full #266

Closed
sfmajors373 opened this issue Aug 5, 2019 · 1 comment
Closed

Connection Pool Full #266

sfmajors373 opened this issue Aug 5, 2019 · 1 comment
Labels
Good first issue 🎓 Perfect for beginners, welcome to OpenMined! PyGrid Type: Bug 🐛 Some functionality not working in the codebase as intended

Comments

@sfmajors373
Copy link

Hi,
I am following the tutorial to get started with PySyft for Android: https://towardsdatascience.com/pysyft-android-b28da47a767e
I have the android app running, the server is running, the socket is started but when I run bob.connect() I get this error in the notebook:

W0804 11:37:27.632236 140307790296832 connectionpool.py:275] Connection pool is full, discarding connection: localhost

and this in the WSGI terminal:

(9705) accepted ('::1', 56898, 0, 0)
::1 - - [04/Aug/2019 11:40:56] "GET /socket.io/?transport=polling&EIO=3&t=1564933256.8231187 HTTP/1.1" 200 345 0.000715
::1 - - [04/Aug/2019 11:40:56] "POST /socket.io/?transport=polling&EIO=3&sid=46cc952cc1f145c7a849a075947a2b69 HTTP/1.1" 200 175 0.000170
::1 - - [04/Aug/2019 11:40:56] "POST /socket.io/?transport=polling&EIO=3&sid=46cc952cc1f145c7a849a075947a2b69 HTTP/1.1" 200 175 0.000511
(9705) accepted ('::1', 56900, 0, 0)
::1 - - [04/Aug/2019 11:40:56] "GET /socket.io/?transport=polling&EIO=3&sid=46cc952cc1f145c7a849a075947a2b69&t=1564933256.8271253 HTTP/1.1" 200 191 0.000148
@polarbeargo
Copy link

polarbeargo commented Aug 5, 2019

Dear all, may I ask how to clean or close the connection pool or can we adjust the size of the connection pool? What is the best timing close the connection and reopen?

@sfmajors373 sfmajors373 changed the title Following PySyft for Android tutorial and having problems Connection Pool Full Aug 5, 2019
@hereismari hereismari added the Type: Bug 🐛 Some functionality not working in the codebase as intended label Aug 7, 2019
@IonesioJunior IonesioJunior added Good first issue 🎓 Perfect for beginners, welcome to OpenMined! PyGrid labels Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Good first issue 🎓 Perfect for beginners, welcome to OpenMined! PyGrid Type: Bug 🐛 Some functionality not working in the codebase as intended
Projects
None yet
Development

No branches or pull requests

4 participants