wallabag / wallabag/android-app

Shared Hosting: AUTH_PROBLEM while Login with Android App

Open
#1,253 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
587
Forks
276
PR merge metrics
No merged PRs in 30d

Description

# Issue details

### Duplicate?
no

### Actual behaviour
- It's not possible to login with the wizard
- same problem if i define the client-id und the client-keys manually
- in Webbrowser login is ok

### Expected behaviour
Sucessfull login

# Steps to reproduce the issue
1. Start App
2. Type login-data
3. Get Error-Message: "Verbindungstest fehlgeschlagen: Autorisierungbezogenes Problem: Diese werden meist durch HTTP-Umleitungen verursacht". I think this is error ConnectionTestResult.AUTH_PROBLEM: https://github.com/wallabag/android-app/blob/0a9fbe987619656c792c694e474e0acde7810dae/app/src/main/java/fr/gaulupeau/apps/Poche/network/WallabagWebService.java#L145

I think there is a problem with the cookies.

# Environment details
- **wallabag app version**: 2.4.3
- **wallabag app installation source** (e.g. Gplay, F-Droid, manual): Gplay
- **Android OS version**: 11
- **Android ROM** (e.g. stock, LineageOS, SlimRom,…): LineageOS Daredevil
- **Android hardware**: Nokia 7.2
- **wallabag server version**: 2.4.3
- **Do you have Two-Factor-Authentication enabled?**: no

I have reinstalled App and testet the behaviour with another phone, but same ROM and hardware

# Logs
## wallabag server
There is no Log-Entry

## Web server
the system ist installed on a shared hosting and i cannot find an access logfile. I used a Proxy to get the access-data and i found there only one request to https://wallabag.mydomain.tld on port 443

## CURL
### curl -I https://wallabag.mydomain.tld:
HTTP/1.1 302 Found
Server: openresty
Date: Tue, 05 Apr 2022 19:51:33 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=65
X-Lima-Id: ze8yEe44pQEaRhadPa
Set-Cookie: _lcp=a; Path=/; expires=Mon Mar 20 2034 13:02:58; SameSite=Lax; HttpOnly
X-Powered-By: PHP/7.4.28
Cache-Control: max-age=0, must-revalidate, private
pragma: no-cache
Expires: Tue, 05 Apr 2022 19:51:33 GMT
Set-Cookie: LCWSID=c6b7ee627d34a4ac6f12066c7aa8f611; path=/; HttpOnly
Location: https://wallabag.mydomain.tld/login
Content-Security-Policy: upgrade-insecure-requests

### curl -I https://wallabag.mydomain.tld/login:
HTTP/1.1 200 OK
Server: openresty
Date: Tue, 05 Apr 2022 19:53:16 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=65
Vary: Accept-Encoding
X-Lima-Id: zejFRZYdeJ8hXD39Af
Set-Cookie: _lcp=a; Path=/; expires=Mon Mar 20 2034 13:02:58; SameSite=Lax; HttpOnly
X-Powered-By: PHP/7.4.28
Cache-Control: max-age=0, must-revalidate, private
pragma: no-cache
Expires: Tue, 05 Apr 2022 19:53:16 GMT
Set-Cookie: LCWSID=bc4eb483f4025f39574c4daf0dc6e172; path=/; HttpOnly
Content-Security-Policy: upgrade-insecure-requests

## App-Log
04-05 19:02:11.106 22576 22576 I AssistStructure: Flattened final assist data: 6152 bytes, containing 2 windows, 43 views
04-05 19:02:12.441 22576 22596 D OpenGLRenderer: endAllActiveAnimators on 0x6e8dd20080 (RippleDrawable) with handle 0x6dadbd68e0
04-05 19:02:12.818 22576 22576 W Choreographer: Frame time is 0.123812 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase.
04-05 19:02:14.287 22576 9699 D TestConnectionTask: Detecting redirection for: https://wallabag.mydomain.tld
04-05 19:02:15.026 22576 9699 D TestConnectionTask: URLs:
04-05 19:02:15.028 22576 9699 D TestConnectionTask: https://wallabag.mydomain.tld
04-05 19:02:15.028 22576 9699 I TestConnectionTask: Testing https://wallabag.mydomain.tld
04-05 19:02:15.874 22576 9699 D TestConnectionTask: Connection test result: AUTH_PROBLEM
04-05 19:02:18.748 22576 22596 D OpenGLRenderer: endAllActiveAnimators on 0x6e8dcfad60 (RippleDrawable) with handle 0x6dadba1cf0
04-05 19:02:21.755 22576 22596 D OpenGLRenderer: endAllActiveAnimators on 0x6e8dd3dae0 (RippleDrawable) with handle 0x6dadbfd6d0
04-05 19:02:22.604 22576 22576 D MainActivity: DrawerListener.updateTime() updating time
04-05 19:02:22.604 22576 22576 D MainActivity: updateLastUpdateTime() updating time
04-05 19:02:23.468 22576 22576 D MainActivity: DrawerListener.updateTime() updating time
04-05 19:02:23.468 22576 22576 D MainActivity: updateLastUpdateTime() updating time
04-05 19:02:23.557 22576 22576 D SettingsFragment: onStart() started
04-05 19:02:23.557 22576 22576 D SettingsFragment: resetChanges() started
04-05 19:02:24.056 22576 22576 V ArticleListsFragment: onSaveInstanceState()
04-05 19:02:24.057 22576 22576 V RecyclerVLFragment: onSaveInstanceState()
04-05 19:02:24.057 22576 22576 I chatty : uid=10274(fr.gaulupeau.apps.InThePoche) identical 1 line
04-05 19:02:24.057 22576 22576 V RecyclerVLFragment: onSaveInstanceState()
04-05 19:02:24.058 22576 22576 V MainActivity: onSaveInstanceState()

# Your experience with wallabag Android app
i hope soon very good

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.