Ashinch / ReadYou

An Android RSS reader presented in Material You style.
GNU General Public License v3.0
4.82k stars 188 forks source link

Cannot connect to FreshRSS instance configured with reverse proxy #745

Closed amalgame21 closed 3 months ago

amalgame21 commented 3 months ago

1. Environment

2. Describe the bug As an example,I have a FreshRSS instance set to be reached with https://rss.example.com my rss.example.com domain can be resolved as ip 111.111.111.111 and the LAN ip and port of the instance is 192.168.1.2:8888 When typing https://rss.example.com/api/greader.php in Server URL it shows the error message: failed to connect to rss.example.com/111.111.111.111:443 when I type http://192.168.1.2:8888/api/greader.php in Server URL, it successfully connected.

Since the freshrss instance is behind reverse proxy, it cannot be reached by https://111.111.111.111:443, it can only be reached by https://rss.exampel.com

766F6964 commented 3 months ago

I'm not sure if this solves your problem but in your FreshRSS instance under the tab authentication you can allow unsafe login, which means logging in via HTTP. Maybe try that and see if that solves your problem.

amalgame21 commented 3 months ago

It somehow successfully connected to the instance.