terry3041 / pyChatGPT

An unofficial Python wrapper for OpenAI's ChatGPT API
GNU General Public License v3.0
1.35k stars 252 forks source link

WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: localhost. Connection pool size: 1 #71

Open iaston opened 1 year ago

iaston commented 1 year ago

image

os: windows server 2019 python ver: 3.11 64Bit

Every time a request is made to chatGPT, there will be a waring, but the returned data can still be obtained. What is the reason and how can it be solved?

It seems that there is no such problem under win10/11.

victordefoe commented 1 year ago

I got same warning under win10

terry3041 commented 1 year ago

I am looking for solution. At the moment, if you find it annoying, consider suppressing them:

import warnings
warnings.filterwarnings("ignore")