October 24, 2024
Chicago 12, Melborne City, USA
python

IngressError: Could not flush buffer: os error 10061 No connection could be made becuase the target machine actively refused it


I get (os error 10061) when I run my python script through Anaconda on local. I’ve checked that the firewall is disabled. I verified questdb 2.0.3 is installed. Here is my script:

 import pandas as pd
 from questdb.ingress import Sender, TimestampNanos

 qp=pd.DataFrame({'last': [price], 'Symbol': ['NQ'], 'time':time.time()})
        
        
        conf =   f'http::addr=localhost:9000;'
        with Sender.from_conf(conf) as sender:
            sender.dataframe(qp, table_name="Nlastry", at=TimestampNanos.now())



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video