Python Plugion for Rapid7 Insight Logger - Unable to connect to R7Insight

I’d been using this plugin library(r7insight_python) to enable logging to Rapid7 Insight from the Python Logger. Recently I found that my services has stopped emitting logs from almost a month now. When I dive deeper into this then I found that I cannot even run a example file to log message using r7insight_python (https://github.com/rapid7/r7insight_python) .

Here is the message from the example file (https://github.com/rapid7/r7insight_python#usage)

Log Messages:
LE: Starting Rapid7 Insight Asynchronous Socket Appender
LE: Unable to connect to R7Insight
LE: Unable to connect to R7Insight
LE: Unable to connect to R7Insight
LE: Unable to connect to R7Insight
[Finished in 22.1s]

We did some investigation here, and looking at the github repo, this is a library specifically for InsightOps logging, rather than an InsightConnect plugin. Since it’s outside of InsightConnect domain, I’d recommend opening up a support case here so they could help you better troubleshoot this issue.

Thanks @holly_wilsey. I already opened up a support case for this issue.

Hi @vinay_babu Vinay. Was this issue ever resolved? Because I am facing the same issue.

1 Like

Just set the parameter use_tls to False.

R7InsightHandler(token=log_token, region=“ca”, use_tls=False)

1 Like