Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newsboat makes miniflux instance unresponsive. #2965

Open
cronyakatsuki opened this issue Dec 1, 2024 · 6 comments
Open

Newsboat makes miniflux instance unresponsive. #2965

cronyakatsuki opened this issue Dec 1, 2024 · 6 comments

Comments

@cronyakatsuki
Copy link

Hello, I'm having an issue with miniflux and newsboat where using newsboat to load feeds from miniflux will make miniflux instance unresponsive and need to restart it for it to start responding again.

This has been happening for some time, I used to just lock miniflux to a specific version using docker compose, but can't remember the exact one rn.

Log's don't show any kind of error, only show that newsboat does a huge amount of request's ( one per feed ) and then it just freezes/become unresponsive. It work's normally with miniflutt on my phone and web interface.

@widowild1
Copy link

to know your miniflux version, go to the /about page for example : https://miniflux.yourinstance.com/about
, you can use the verbose mode by modifying your docker compose with: https://miniflux.app/docs/configuration.html#log-level

@cronyakatsuki
Copy link
Author

Sorry for answering late, here is the required info.

miniflux about info

- Version: [2.2.3](https://github.com/miniflux/v2/releases/tag/2.2.3)
- Git Commit [da951164](https://github.com/miniflux/v2/commit/da951164)
- Build Date: 2024-11-11T00:13:57+0000
- Postgres version: 15.10 (Debian 15.10-1.pgdg120+1)
- Go version: go1.23.3

log verbose

miniflux  | level=INFO msg="Running database migrations" current_version=99 latest_version=99
miniflux  | level=INFO msg="Starting HTTP server" listen_address=0.0.0.0:8080
miniflux  | level=INFO msg="[API] User authenticated successfully with the Basic HTTP Authentication" authentication_successful=true client_ip={ip} user_agent="Newsboat/r2.37 (Li
nux x86_64)" username=crony
m

The authenctication successfull message is repeated for 90 times, and then miniflux web interface and api becomes completely unresponsive. Newsboat would somehow keep the connection going and very slowly '"update" entries over a long amount of time.

@cronyakatsuki
Copy link
Author

After realizing I didn't configure log level correctly, I have redone it and have got the log file uploaded on 0x0.st.

Here is the link.

@widowild1
Copy link

client_ip=${IP} user_agent="Newsboat/r2.37 (Linux x86_64)"
miniflux | level=DEBUG msg="[API] Skipped API token authentication because no API Key has been provided"

Create an API password and try to re-login with the correct identifiers

If not, check that the logins under newsboat are correct.

https://newsboat.org/releases/2.21/docs/newsboat.html#_miniflux

I don't use newsboat, so forgive me if I misdirect you.

@cronyakatsuki
Copy link
Author

Yea, newsboat uses username and password to login, you can see in the docs that you linked this line "Newsboat sends extraneous requests when trying to determine the appropriate method automatically", meaning those like are just tests on newsboat's side.

Miniflux used to work fine with newsboat before the version that changed up how logging work's to the current one ( I mean the way that logs are outputed to stdout ) but I can't remember the exact version.

@cronyakatsuki
Copy link
Author

cronyakatsuki commented Dec 5, 2024

I have took the time, and have found after what version this "regression" started to happen and has been present since in miniflux.

latest working version

- Version: v2.0.48
- Git Commit b454d93c
- Build Date: 2023-09-15T23:18:59+0000
- Postgres version: 15.10 (Debian 15.10-1.pgdg120+1)
- Go version: go1.21.1

Edit: on this version newsboat normally loads all feeds in seconds and miniflux doesn't freeze and become unresponsive,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants