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

Unable to connect my FreshRSS instance with the Freshrss App #3059

Closed
Wasabules opened this issue Jun 15, 2020 · 10 comments
Closed

Unable to connect my FreshRSS instance with the Freshrss App #3059

Wasabules opened this issue Jun 15, 2020 · 10 comments
Labels
API 🤝 API for other clients

Comments

@Wasabules
Copy link

Hi,
My FreshRSS api link is "https://rss.geoffrey-lecoq.fr/api/greader.php"
but when i put it on the app i have an "This URL is not correct" message.

I have try "rss.geoffrey-lecoq.fr" and "rss.geoffrey-lecoq.fr/api" and "https://rss.geoffrey-lecoq.fr/api/" etc...
No one work, can you help me ?
Thanks and great job !

@Alkarex
Copy link
Member

Alkarex commented Jun 15, 2020

Please tell a bit about your system (FreshRSS version, type of installation, OS, Web server, ...)

Please check https://rss.geoffrey-lecoq.fr/api/ in your Web browser and fix any warning.

You might also have some logs in ./FreshRSS/data/users/_/log_api.txt or for your Web server.

Then, try to trouble-shoot either manually or with another app to find out whether the problems lies server side or client side

If the problem is with the app, please report issues on
https://git.feneas.org/christophehenry/freshrss-android

@Alkarex Alkarex added the API 🤝 API for other clients label Jun 15, 2020
@Wasabules
Copy link
Author

Je pense qu'il est mieux de parler en français!
Du-coup j'ai réglé le souci mais peut importe l'application où je me rend je n'ai pas possibilité.
Avec l'app "Readrops" j'ai une erreur 400 par exemple.
Alors que j'ai renseigné "https://rss.geoffrey-lecoq.fr/api/greader.php" et j'ai mis le mot de passe et l'identifiant de mon compte

@Alkarex
Copy link
Member

Alkarex commented Jun 15, 2020

  • Qu'avez-vous dans vos logs, par exemple ./FreshRSS/data/users/_/log_api.txt ?
  • Quelle version de FreshRSS, installation, OS, serveur Web...

Si vous voulez, vous pouvez m'envoyer un compte temporaire de test

@Wasabules
Copy link
Author

Le fichier n'est pas généré, il n'y a pas de "log_api.txt"
Et il s'agit de la version " 1.16.3-dev"

Voici un utilisateur :
test
6^ozHf$wv9M#6o

Pour ce qui est des infos de PHP & cie, tout est là : https://www.geoffrey-lecoq.fr/

@Alkarex
Copy link
Member

Alkarex commented Jun 15, 2020

@Wasabules Cela semble marcher très bien :-)

curl -v 'https://rss.geoffrey-lecoq.fr/api/greader.php/accounts/ClientLogin?Email=test&Passwd=testtest'

curl -s -H "Authorization:GoogleLogin auth=test/bfc1563d6a0f5e1104ac51d85ba819eb8d624f13" 'https://rss.geoffrey-lecoq.fr/api/greader.php/reader/api/0/subscription/list?output=json'

Testé avec Readrops sans problème (Readrops ajoute lui-même la fin de l'adresse, du coup il faut utiliser https://rss.geoffrey-lecoq.fr/ )

@Alkarex
Copy link
Member

Alkarex commented Jun 15, 2020

Attention de bien penser à mettre un mot de passe API
image

@Alkarex
Copy link
Member

Alkarex commented Jun 15, 2020

Screenshot_20200615-155112_Readrops

@Wasabules
Copy link
Author

ça vient peut-être de mes mot de passe à rallonge générer avec Bitwarden et les 40 caractères

@Alkarex
Copy link
Member

Alkarex commented Jun 15, 2020

Je viens de tester avec l'application de Christophe Henry (FreshRSS for Android) et cela marche aussi.
Vous pouvez effacer le compte

@Alkarex
Copy link
Member

Alkarex commented Jun 15, 2020

Si vous trouvez un mot de passe qui ne fonctionne pas, merci d'ouvrir un autre ticket à ce sujet

@Alkarex Alkarex closed this as completed Jun 15, 2020
Alkarex added a commit to Alkarex/FreshRSS that referenced this issue Jun 15, 2020
Some apps auto-complete `/api/greader.php` while some do not.
Discard common errors instead of failing, to be more user-friendly.
E.g. if the user types the full API URL in Readrops FreshRSS#3059 (comment)
Alkarex added a commit that referenced this issue Jun 19, 2020
Some apps auto-complete `/api/greader.php` while some do not.
Discard common errors instead of failing, to be more user-friendly.
E.g. if the user types the full API URL in Readrops #3059 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API 🤝 API for other clients
Projects
None yet
Development

No branches or pull requests

2 participants