I have configured the Data Input REST API settings as per the following link. While trying with the REST URL in browser I am getting the JSON response. But, when I tried to test it in Splunk, I am getting the following error in splunkd
-0500 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\rest_ta\bin\rest.py"" Exception performing request: HTTPSConnectionPool(host='api.nytimes.com', port=443): Max retries exceeded with url: /svc/search/v2/articlesearch.json?api-key=7d61953a50c1446e9e95aa634f35fa9c&sort=newest&q=snow (Caused by <class 'socket.error'>: [Errno 10054] An existing connection was forcibly closed by the remote host)
I am getting the same error for any REST API. I have used REST API Modular Input app, Splunk Add-on Builder App to test this REST API Input, but with no luck.