Describe the bug
The user-agent used by this app contains 'okhttp'. Such a User-Agent appears in a commonly used blocklist: https://github.com/JayBizzle/Crawler-Detect/blob/v1.3.5/raw/Crawlers.txt#L855. For example: OPNSense (open source firewall) blocks this user-agent by default in their nginx plugin (see https://github.com/opnsense/plugins/blob/25.7.2/www/nginx/src/opnsense/mvc/app/models/OPNsense/Nginx/Nginx.xml#L74) and also bunkerweb blocks this because it uses the before mentioned blocklist.
To Reproduce
Steps to reproduce the behavior:
- Setup freshrss server behind nginx
- Configure nginx to block user-agent that contains 'okhttp'
- Try to connect with the freshrss server with readrops
- Get a 403 error (or any other error code that is configured in nginx to respond when blocking)
Expected behavior
No error when using readrops.
This means you should not use the default okhttp User-Agent but set up a custom User-Agent to avoid being blocked.
The HomeAssistant android app had the same issue, they now use a custom User-Agent string: home-assistant/android#1364.
Environment information (please complete the following information):
Additional context
Describe the bug
The user-agent used by this app contains 'okhttp'. Such a User-Agent appears in a commonly used blocklist: https://github.com/JayBizzle/Crawler-Detect/blob/v1.3.5/raw/Crawlers.txt#L855. For example: OPNSense (open source firewall) blocks this user-agent by default in their nginx plugin (see https://github.com/opnsense/plugins/blob/25.7.2/www/nginx/src/opnsense/mvc/app/models/OPNsense/Nginx/Nginx.xml#L74) and also bunkerweb blocks this because it uses the before mentioned blocklist.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error when using readrops.
This means you should not use the default okhttp User-Agent but set up a custom User-Agent to avoid being blocked.
The HomeAssistant android app had the same issue, they now use a custom User-Agent string: home-assistant/android#1364.
Environment information (please complete the following information):
Additional context