Skip to content

Android 5.8.3: Sporadic E033: Redirect detected with Linkwarden backend behind Synology reverse proxy, no option to disable redirect check #2149

@hscheele

Description

@hscheele

Which version of floccus are you using?

5.8.3

How many bookmarks do you have, roughly?

450

Are you using other means to sync bookmarks in parallel to floccus?

No

Sync method

Linkwarden

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Android 16

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

On Android, Floccus sometimes fails to sync with the Linkwarden backend and shows the following error:

E033: Weiterleitung festgestellt. Vergewissern Sie sich, dass der angegebene Server die ausgewählte Synchronisierungsmethode unterstützt und die URL stimmt, die Sie eingegeben haben und nicht auf eine andere URL weiterleitet. Falls die Weiterleitung teil Ihres Server-Setups ist, können Sie diese Kontrolle in den Einstellungen deaktivieren.

In English: E033 “Redirect detected… If redirects are part of your server setup, you can disable this check in the settings.”
However, in the Android app (v5.8.3) I cannot find any setting to disable the redirect check, even though the error message suggests that this should be possible.

Important characteristics

The error is sporadic:

  • Sometimes sync works.
  • Sometimes sync fails with E033 on the same server and same network.

I have multiple Floccus instances.
Sometimes it helps to import the profile from one of my other working instances into this problematic instance.
After such an import, sync may work again for some time, but the error can come back later.

The Linkwarden instance is only reachable via the above Synology reverse proxy configuration (see details below). There is no extra redirect configured in Linkwarden

Observed behavior

Sometimes sync works without any errors.
Sometimes the same sync fails with E033: Redirect detected on Android.
In the Android app, there is no visible option to disable redirect detection, even though the error text explicitly mentions such an option.


Reverse proxy: Synology NAS Reverse Proxy

Source:

  • Protocol: HTTPS
  • Hostname: XXXXX (hidden here!)
  • Port: 443
  • HSTS: enabled

Destination:

  • Protocol: HTTP
  • Hostname: 10.10.1.100
  • Port: 7461

Custom header tab

  • Upgrade → $ http_upgrade
  • Connection → $ connection_upgrade

Advanced tab

  • Proxy connection timeout: 60 seconds
  • Proxy send timeout: 60 seconds
  • Proxy read timeout: 60 seconds
  • Proxy HTTP version: HTTP 1.1
  • “Use the error page returned by the target server”: enabled

Expected Behavior

Either:

  • Floccus Android should not incorrectly detect a redirect in this setup (or should handle it more gracefully),or
  • The Android app should provide the same “allow redirects / disable redirect check” setting that the error message refers to, so users behind reverse proxies can still use Floccus.

To Reproduce

  1. Set up Linkwarden behind a Synology reverse proxy as described above.
  2. Install Floccus 5.8.3 on Android.
  3. Create a new account in Floccus with:
  • Backend: Linkwarden
  • Server URL: https://XXX (through Synology reverse proxy)
  • Correct credentials.
  1. Trigger a sync.

Debug log provided

  • I have provided a debug log file

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Triaging

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions