HenryQW / mercury_fulltext

📖 Enjoy full text for tt-rss.
158 stars 26 forks source link

Plugin no longer appears to be working #12

Closed TheFiZi closed 5 years ago

TheFiZi commented 5 years ago

The plugin no longer appears to be working with self-hosted with the Mercury API (mercury-parser-api). It worked immediately after deployment for a few weeks and stopped after the most recent update to mercury-parser-api or the update to this project from 7 days ago.

I'm not explicitly getting an error from either tool so I'm starting here for submitting a bug report.

TTRSS 19.2 (900cdbb) Node 10.15.1 (for mercury-parser-api)

This is the output I'm seeing from mercury-parser-api. Not certain how to get any error logs from the plugin itself.

Serverless: GET /parser (λ: mercuryParser)

Serverless: Warning: handler 'mercuryParser' returned a promise and also uses a callback!
This is problematic and might cause issues in your lambda.

Wait for a RSS feed I'm using mercury_fulltext with to post a new story, not see the content of that story, only the summary.

Manually accessing the mercury-parser-api via: http://localhost:65518/parser?url=https://www.wired.com/story/zuckerberg-privacy-manifesto-questions/ appears to work properly with the correct content returned to the browser.

I get the same error when manually calling mercury-parser-api as the mercury_fulltext plugin appears to so that might be a red herring.

Serverless: GET /parser (λ: mercuryParser)

Serverless: Warning: handler 'mercuryParser' returned a promise and also uses a callback!
This is problematic and might cause issues in your lambda.
HenryQW commented 5 years ago

Hi, it appears you're using an outdated version of API. I've rebuilt it from scratch, please try the latest version.

TheFiZi commented 5 years ago

So your rebuild requires docker and cannot be run standalone?

HenryQW commented 5 years ago

You can always run node index.js to start it locally without docker.

TheFiZi commented 5 years ago

Thank you

TheFiZi commented 5 years ago

Requesting this ticket be re-opened.

After deploying the newest version of the API it still does not appear to be working.

Here is the output from the API:

🚀Mercury Parser API listens on port 65518
GET /parser?url= 200 33 - 2.277 ms

This is the URL that was supposed to be passed to the API from the TT-RSS Plugin: https://www.wired.com/story/you-may-have-forgotten-foursquare-it-didnt-forget-you

If I manually do: lynx localhost:65518/parser?url=https://www.wired.com/story/you-may-have-forgotten-foursquare-it-didnt-forget-you I get the JSON output and this is the updated console output from the API:

🚀Mercury Parser API listens on port 65518
GET /parser?url= 200 33 - 2.277 ms
GET /parser?url=https://www.wired.com/story/you-may-have-forgotten-foursquare-it-didnt-forget-you 200 8701 - 375.868 ms