stockalgo/OItool

ConnectionRefusedError:

paruchurusk opened this issue · 1 comments

Dear,

Your OI analysis tool can be very helpful. I would like to use it, if I may. However, I get the following error code while trying to pull the data.

I have installed bandl and oitools. Can you please help me fix it.

from oitool.fetchoi import FetchOI
oi = FetchOI()

ERROR:root:HTTPConnectionPool(host='localhost', port=8086): Max retries exceeded with url: /query?q=CREATE+DATABASE+%22oitool%22&db=oitool (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000014C72512640>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')) raised an error

ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
During handling of the above exception, another exception occurred:

best wishes,
Paruchurusk

Hi Paruchurusk,

Thank you for checking OItool.
Pls make sure to run influxdb before running OItool script. If it is, check the log file (OItool_logs_.txt) for error details.
Let me know if the issue still persists after these steps.

Regards,
Chiranjeev