mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-25 22:26:06 +03:00
[GH-ISSUE #1570] E017: Network error: Check your network connection and your account details Last synchronized #1037
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#1037
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BashBandito on GitHub (Mar 27, 2024).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1570
Which version of floccus are you using?
5.0.10
Sync method
WebDAV
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Floorp 11.11.2, Vivaldi 6.6.3271.55, Android 14
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)
Using WebDAV Server on Synology NAS
Describe the Bug
Shortly after successfully setting up floccus, I receive this error whenever I open the extension. I try to manually sync and it continues to show the same error message. Sometimes it will suddenly sync and the error goes away but for the most part the error is persisting.
E017: Network error: Check your network connection and your account details Last synchronized
Expected Behavior
I expect floccus to sync, whether it's the automatic sync or manual sync.
To Reproduce
All I am doing is launching the browser and checking the floccus extension on both floorp and vivaldi. The same occurs when checking the android app.
Debug log provided
@github-actions[bot] commented on GitHub (Mar 27, 2024):
Hello 👋
Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I'm Marcel and I created floccus and have been maintaining it ever since.
I currently work for Nextcloud which leaves me with less time for side projects like this one
than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.
I look forward to working with you on this issue
Cheers 💙
@marcelklehr commented on GitHub (Apr 21, 2024):
Hi
Are you using a self-signed certificate for your webdav server?
@marcelklehr commented on GitHub (Apr 21, 2024):
You are using a self-signed letsencrypt certificate? That sounds like an oxymoron to me 🤔
Did you get the certificate from letsencrypt? Or did you generate it yourself without enlisting a commonly known Certificate Authority?
@BashBandito commented on GitHub (Apr 21, 2024):
I generated the SSL using the letsencrypt feature built into Nginx Proxy manager is what I meant to say 😉
@BashBandito commented on GitHub (May 1, 2024):
Did you update the browser extensions recently? Suddenly the browser extensions work but only the Android app keeps returning the same error.
@marcelklehr commented on GitHub (May 1, 2024):
Yes, there's a new release out for a few days now
@BashBandito commented on GitHub (May 1, 2024):
Perfect. And the android app?
@marcelklehr commented on GitHub (May 1, 2024):
Is currently out on F-Droid and in open testing phase on google play and will soon be on production in google play as well
@BashBandito commented on GitHub (May 5, 2024):
I ended up deleting the Android app because even with the new update, it was not syncing.
Now, the browser add-ons are having the same issues again. It was working better there for a day or two, and suddenly it's the same error frequently.
I use let's encrypt SSL on Nginx Proxy. Why is this happening? Why does it work some of the times but not all of the time?
@Eschguy commented on GitHub (May 8, 2024):
just started getting this error on Firefox.
@marcelklehr commented on GitHub (May 9, 2024):
Very strange
@marcelklehr commented on GitHub (May 10, 2024):
Can you rule out Adblockers , other addons or any kind of proxy?
@BashBandito commented on GitHub (May 10, 2024):
Yes, I can rule those out.
@marcelklehr commented on GitHub (May 11, 2024):
Can you check the extension permissions for floccus in chrome://extensions to see whether it can access the network?
@marcelklehr commented on GitHub (May 15, 2024):
It really seems like it's a network thing, but I assume you have ruled that out already, otherwise you wouldn't be here. Maybe it's a browser bug? Can you try with firefox, perhaps?
@BashBandito commented on GitHub (May 20, 2024):
This happening on two separate computers, which both have Floccus installed on Vivaldi and Floorp browsers.
Both browsers allow the extension to very randomly work. Other times it gives that error. So it does work kind of but 50% of the time only. The other 50% it gives that error I mentioned.
As I stated, floccus is hosted on my Synology NAS using WebDav and I use it via HTTPS with an SSL cert from LetsEncrypt.
Also, I have my network on Tailscale, but I don't see why that would be an issue because I self-host a ton of other services and never have had an issue because I understand how it works.
Have you checked the logs I provided?
floccus-5.1.2-2024-05-20-redacted.log
@los0220 commented on GitHub (May 21, 2024):
I've had the same error for over a month with self-signed cert and NextCloud bookmarks. When I click
DEBUG LOGS, they are empty.I tried reinstalling the extension and reconnecting without any luck.
@marcelklehr commented on GitHub (May 21, 2024):
@los0220 Chrome does not allow self-signed certificates anymore in extensions it seems. So, I recommend using a let's encrypt cert. (see https://github.com/floccusaddon/floccus/issues/1560 )
@marcelklehr commented on GitHub (May 21, 2024):
The logs don't help, I'm afraid. All floccus sees is the network error that the browser throws.
@marcelklehr commented on GitHub (May 21, 2024):
@iamhaval Perhaps you can dig into the network debug inspector a bit in your browser?
Firefox
about:debuggingInspectbutton next to floccus entrysync nowfor the account of your choice.Chrome
chrome://extensionsDeveloper modeService Workerbutton in floccus' entry next to "Inspect views: "sync nowfor the account of your choice@BashBandito commented on GitHub (May 23, 2024):
@marcelklehr I have run plenty of troubleshooting and I have some consistent results.
When I connect to the WebDav on my NAS using HTTP without any reverse proxy (Nginx), it works flawlessly. The second I use either or both HTTPS and Nginx reverse proxy, this is where the inconsistency issues begin.
Not sure why this is the case, but I was able to narrow it down to this with absolute certainty. Is this something that can be resolved? Why does it have such a hard time when HTTPS, SSL, and Reverse Proxy is involved? It seems to want to only behave on an insecure connection.
@marcelklehr commented on GitHub (May 24, 2024):
I don't know the answer to these questions. If you debug the network requests in the browser debugger you may find the cause for the failed network requests from the perspective of the browser.
@BashBandito commented on GitHub (Jun 16, 2024):
This is the HTTP connection that works ☝️
This is the standard HTTPS connection that doesn't work ☝️
This is the Nginx Proxy connection with Lets Encrypt SSL via FQDN that doesn't work ☝️
@marcelklehr commented on GitHub (Jun 22, 2024):
Is there some kind of exaplanation somewhere in the inspector interface why the requests fail when using HTTPS?
@marcelklehr commented on GitHub (Jun 22, 2024):
I think it's likely related to your SSL config. Can you try checking the config using
openssl s_client -connect example.com:443if you're on Linux.@marcelklehr commented on GitHub (Jul 21, 2024):
@iamstonecutter ping
@BashBandito commented on GitHub (Jul 21, 2024):
Sorry for the late response.
Is it safe to paste the terminal output of that command in here?
@marcelklehr commented on GitHub (Jul 21, 2024):
I believe so. You might want to change the actual domain / IP addresses
@BashBandito commented on GitHub (Jul 21, 2024):
I hope this is what you were asking to see.
I'll re-generate a new SSL after anyway, just to be safe.
@marcelklehr commented on GitHub (Jul 22, 2024):
mh, looks alright, indeed
@BashBandito commented on GitHub (Jul 22, 2024):
Interesting…. Well, I have no clue what's going on.
Floccus is the only self-hosted service on my NAS that has this issue with HTTPS, and I am self-hosting about two dozen services with this same certificate with no issues.
@marcelklehr commented on GitHub (Jul 22, 2024):
In the Network debugger above, can you see a column called "status", this should tell us why the request failed.
@BashBandito commented on GitHub (Jul 22, 2024):
You mean this?
Same behaviour as always. Syncs and looks good and then suddenly stops syncing and gives errors. Then 30 to 60 mins later randomly starts syncing again. Rinse and repeat.
It's not a matter of it either works or doesn't. It works and stops and suddenly works again without changing anything. Very strange.
@marcelklehr commented on GitHub (Jul 23, 2024):
Thank you for the screenshot. Since it says ERR_NAME_NOT_RESOLVED, it would seem to be a DNS issue then 🤔
@marcelklehr commented on GitHub (Jul 23, 2024):
I researched this a bit and it seems that perhaps chrome is running out of sockets:
When this happens, can you try
@BashBandito commented on GitHub (Aug 3, 2024):
Just curious, are you thinking that it might be the browser? I ask this because it also happens with Firefox.
Also, I am curious if this would potentially have something to do with my Pi-hole or Tailscale? When you say DNS, the first thing that comes to my mind is my Pi-hole. It is set up on my entire home network, and it's also setup as the DNS server for all my Tailnet devices through the Tailscale config.
Btw, I really do appreciate you continuing to help with trying to find the root cause of this issue.
@marcelklehr commented on GitHub (Aug 4, 2024):
Oh. So far I've assumed it only happens with Chrome, because I have the same error in my chrome tests for Nextcloud Bookmarks, but I cannot reproduce this locally.
DNS would indicate it may be a problem with Pi-hole or Tailscale, yes, although I'm also using pi-hole at home without problems.
@BashBandito commented on GitHub (Aug 11, 2024):
It certainly occurs with both Firefox and Chrome.
No clue what it could be, especially considering I have the other two dozen self-hosted apps on my NAS working with HTTPS connections flawlessly. I would imagine if there was something going on with my side of setup that I would see some sort of connection or sync issue in some capacity with the other services I have.
I really am puzzled.
@marcelklehr commented on GitHub (Aug 12, 2024):
For your other self-hosted apps do you have browser extensions that interface with them as well?
@BashBandito commented on GitHub (Aug 12, 2024):
Yes, sir, I do. I self-host vaultwarden on the same NAS as Floccus, and it uses HTTPS.
@sunjam commented on GitHub (Aug 20, 2024):
fyi, this is the exact same message displayed by the Floccus app on Android if it is in airplane mode and attempting to sync with the internet disabled.
@BashBandito commented on GitHub (Aug 20, 2024):
Hi! Is there something you're thinking that I might not be picking up on?
@sunjam commented on GitHub (Aug 20, 2024):
Unsure, so just an fyi.
@marcelklehr commented on GitHub (Aug 26, 2024):
Mmmh, all very strange, I think the airplane mode is likely not the culprit, thanks for the fyi, though, @sunjam :)
@BashBandito commented on GitHub (Sep 17, 2024):
I resolved the issue by switching my reverse proxy setup. Previously, I was running Nginx Proxy Manager from within a Docker container on a different subnet than my main network. After moving Nginx Proxy Manager to operate on the same subnet as my primary network, the errors completely disappeared.
While I'm unsure of the exact reason behind this, it's clear that running the reverse proxy on a separate subnet through docker was the cause of the issue.
@github-actions[bot] commented on GitHub (Sep 18, 2025):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.