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

HTTP-Statuscode 404 #1454

Open
kuro-linlin opened this issue Jul 9, 2024 · 4 comments
Open

HTTP-Statuscode 404 #1454

kuro-linlin opened this issue Jul 9, 2024 · 4 comments

Comments

@kuro-linlin
Copy link

kuro-linlin commented Jul 9, 2024

Eng:
Since a few weeks i get the following Error Message when I refresh for new news.
But I can't get new News.

"HTTP-Request failed with HTTP-Statuscode: 404"

Ger:
Seit ein paar Wochen bekomme ich folgende Fehlermeldung wenn ich für neuen News aktualisiere.
Aber ich bekomme keine neuen News

"HTTP-Anfrage ist fehlgeschlagen mit HTTP-Statuscode:404"


App Version: 0.9.9.90
App Version Code: 191


SSO enabled: true


OS Version: 5.10.218-android13-4-g33b79d6bc8d1(2024070201)
OS API Level: 34
Device: panther
Model (and Product): Pixel 7 (panther)


sp_max_cache_size=500
sp_swipe_left_action=2
sw_use_single_sign_on=true
cb_ShowOnlyUnread=false
cb_openInBrowserDirectly=false
cb_prefBackButtonOpensDrawer=false
lv_cacheImagesOffline=0
cb_ShowFastActions=true
pref_sync_settings=15
cb_AutoSyncOnStart=true
sp_news_detail_actionbar_icons=[]
sp_swipe_right_action=1
cb_NavigateWithVolumeButtons=false
sp_font_size=1.0
sp_search_in=2
cb_external_player=false
sp_sort_order=1
cb_MarkAsReadWhileScrolling=false
sp_feed_list_layout=6
cb_oled_mode=false
PREVIOUS_VERSION_CODE=191
sp_display_browser=0
sp_app_theme=0

@mirkoreul
Copy link

Are you able to disconnect and reconnect to the Nextcloud server?

Asking because on my end, attempting to login via the Nextcloud app fails with sthe same error as well:

Error
HTTP request failed with HTTP status-code: 404

Note that my setup uses a self-signed certificate (gated server).

Reproduce:

  1. Connect the Nextcloud app to a server by IP-address with a self-signed certificate.
  2. Install Nextcloud News app from either F-Droid or Google Play.
  3. Use option "Login using Nextcloud Files App", select user@IP, and allow the login request.
  4. The error message appears.

System:

  • App version 0.9.9.85
  • Android 14, API 34

Log:

--------- beginning of main
07-25 12:06:38.371  5551  5551 D VersionCheckHelper: Version Code: 30290190
07-25 12:06:41.043  5551  5551 D com.nextcloud.android.sso.api.AidlNetworkRequest: [unbindService] Unbinding AccountManagerService
07-25 12:06:41.048  5551 17446 D com.nextcloud.android.sso.api.NetworkRequest: [connectApiWithBackoff] connectApiWithBackoff() called from Thread: [Thread-28]
07-25 12:06:41.068  5551  5551 D com.nextcloud.android.sso.api.NetworkRequest: [connectApiWithBackoff] trying to connect..
07-25 12:06:41.068  5551  5551 D com.nextcloud.android.sso.api.AidlNetworkRequest: [connect] Binding to AccountManagerService for type [nextcloud]
07-25 12:06:41.068  5551  5551 D com.nextcloud.android.sso.api.NetworkRequest: [connect] connect() called [main] Account-Type: [nextcloud]
07-25 12:06:41.068  5551  5551 D com.nextcloud.android.sso.api.AidlNetworkRequest: [connect] Component name is: [com.nextcloud.client]
07-25 12:06:41.071  5551  5551 D com.nextcloud.android.sso.api.AidlNetworkRequest: [connect] Bound to AccountManagerService successfully
07-25 12:06:41.082  5551  5551 D com.nextcloud.android.sso.api.AidlNetworkRequest: [onServiceConnected] called from Thread: [main] with IBinder [ComponentInfo{com.nextcloud.client/com.owncloud.android.services.AccountManagerService}]: android.os.BinderProxy@989370c
07-25 12:06:41.082  5551  5551 D de.luhmer.owncloudnewsreader.LoginDialogActivity: onConnected() called
07-25 12:06:41.083  5551  5551 D com.nextcloud.android.sso.api.NextcloudRetrofitServiceMethod: NextcloudRetrofitServiceMethod() called with: apiEndpoint = [/index.php/apps/news/api/v1-2/], method = [public abstract io.reactivex.rxjava3.core.Observable de.luhmer.owncloudnewsreader.reader.nextcloud.NewsAPI.version()]
07-25 12:06:41.084  5551  5551 D com.nextcloud.android.sso.api.NextcloudRetrofitServiceMethod: invoke call to api using observable class de.luhmer.owncloudnewsreader.model.NextcloudNewsVersion
07-25 12:06:41.085  5551  5551 V de.luhmer.owncloudnewsreader.LoginDialogActivity: onSubscribe() called with: d = [0]
07-25 12:06:41.086  5551 17450 D com.nextcloud.android.sso.api.AidlNetworkRequest: copy data from service finished
07-25 12:06:42.312  5551  5551 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Dialog$$ExternalSyntheticLambda2@f428351
07-25 12:06:42.327  5551  5551 V de.luhmer.owncloudnewsreader.LoginDialogActivity: onError() called with: e = [com.nextcloud.android.sso.exceptions.NextcloudHttpRequestFailedException: HTTP request failed with HTTP status-code: 404]

Attempting to use the manual login option leads to issue #1290, which @David-Development closed noting that login via the Nextcloud app should (still) work for self-signed certificates.

@tom-ch1
Copy link

tom-ch1 commented Aug 17, 2024

manually logging in also gives 404.
This app is broken!

@mirkoreul
Copy link

At least in my case this turned out to be related to the Nextcloud app being outdated server-side. I was able to login again after fixing that (though there are still compatibility issues, see here).

@David-Development
Copy link
Member

@tom-ch1 Can you confirm that the Nextcloud News App is still installed and active in the Nextcloud Web Interface?

@mirkoreul Thank you for sharing your findings! I believe that a dialog pointing users to the issue would be helpful.

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

No branches or pull requests

4 participants