Open AI error failed to established connection

I am using text devinci 002 model for text to sql generartion.
when I send new request (new text)through APl its taking lots of time afte .two or three trial result come.
its showing this warning to m.
which i did not understand
[WARNING] 2022-10-14T16:36:43.462Z 767b7c87-50e6-4350-b00d-2db8a0bcd2b6 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<urllib3.connection.HTTPSConnection object at 0x7f93b49db520>: Failed to establish a new connection: [Errno 110] Connection timed out’)': /v1/engines/text-davinci-002/completions

May I see your code?

Thanks for reply
i just used few short learning approach to text to SQL generation using text devinci 002 model.

but when i execute queries that time some keyword (some text )is not available in few shot but it related to that so its taking lots of time.
its giving m result when i send same text two or three times
once i executed next time its not showing problem.
so its very confusing.
but overall result are very good.
i want to fix that issue
if possible pls guide