Report this

What is the reason for this report?

RSS with Nodejs problem

Posted on January 19, 2022

I recently added a nodejs project to my droplet. I installed all the necessary modules. It should do one simple thing for now; watch a RSS feed. Though it is not working. It works on my local machine just fine but not when I deploy it to the DO droplet.

Error: Bad status code
at Request.<anonymous> (/root/node_modules/parse-rss/lib/parse-rss.js:31:37)
at Request.onRequestResponse (/root/node_modules/request/request.js:1059:10

The error comes from parse-rss module, which is a requirement for feed-watcher module. It basically can not connect to any RSS feed. Could there be something on the droplet blocking it from connecting to a RSS?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.