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

[Bug] Unable to sync with Dropbox in Firefox #1631

Open
Still34 opened this issue Jul 17, 2023 · 9 comments
Open

[Bug] Unable to sync with Dropbox in Firefox #1631

Still34 opened this issue Jul 17, 2023 · 9 comments

Comments

@Still34
Copy link

Still34 commented Jul 17, 2023

Bug Report

Bug Description

Attempting to setup sync with Dropbox results in redirection to https://clngdbkpkpeebahjckkjfobafhncgmne.chromiumapp.org, resulting in failure to finish syncing on Firefox.

Screenshots

image

CSS Code

System Information

  • OS: Linux
  • Browser: Firefox 115.02
  • Stylus Version: 1.5.33

Additional Context

@tophf
Copy link
Member

tophf commented Jul 17, 2023

@eight04, I guess dropbox changed their API so maybe you can update your db-to-cloud? FWIW, here's how Violentmonkey did it.

@eight04
Copy link
Collaborator

eight04 commented Jul 18, 2023

The screenshot looks like a login error so I guess something went wrong in token manager or launchWebAuthFlow.

I can't reproduce on Windows 10 + Nightly 117.0a1 + Stylus 1.5.33
image

@Still34
Copy link
Author

Still34 commented Jul 18, 2023

Anything I can do to help debug besides building and debugging locally?

@tophf
Copy link
Member

tophf commented Jul 18, 2023

Our extension is not using a build system for the source files, which are the same as the shipped version. Try clicking Inspect in about:debugging and see what's printed in console, check the network panel, set a breakpoint in

if (details.frameId || details.tabId !== tabId) return;
then press F10 to verify it successfully completes to the return a few lines below.

@tophf
Copy link
Member

tophf commented Jul 18, 2023

Also disable all other extensions temporarily.

@Dboingue
Copy link

Dboingue commented Aug 16, 2023

Bug Report

Bug Description

Attempting to setup sync with Dropbox results in redirection to https://clngdbkpkpeebahjckkjfobafhncgmne.chromiumapp.org, resulting in failure to finish syncing on Firefox.

(clipped)

I get the same thing migrating from windows 7 where it worked on google drive, now to windows 10 (yet surrendering), latest chrome there and max version on windows 7.

I am using the same google chorme profile and account. upon syncing via extension options, it does present the right google pop up window permission thingy, with correct account, and acknowledging existing permissions, but then fail..

will attempt from windows 7 to sync again.. in case broken there too...

Stylus Extension wants additional access to your Google Account

then upon clicking continue i get the following.

This site can’t be reachedclngdbkpkpeebahjckkjfobafhncgmne.chromiumapp.org’s server IP address could not be found.

@peppersgc
Copy link

I'm getting this same behavior. I can't sync to Dropbox or Google Drive. Firefox console says:

Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“default-src”). injected.js:1:9445
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“default-src”). index.js:6357:26
Content-Security-Policy: The page’s settings blocked the loading of a resource at https://purdasseer.com/idB2Nn6Y8NC0SFF/61239 (“default-src”). neterror

@tophf
Copy link
Member

tophf commented Dec 11, 2023

Still works for me, so I don't know what's wrong. It may be caused by some setting in the browser or another extension. Try removing the Stylus extension and install it again. Try installing it in a new browser profile. Don't forget to click the export button in the manager first.

@peppersgc
Copy link

peppersgc commented Dec 13, 2023

It appears that it's only a problem with all the other "more secure" browsers based on Firefox. Like Floorp is to Firefox what Brave is to Chromium. Floorp, Librefox, Waterfox, etc. all of them won't sync. So it's some security "feature" they have modified in some way.
Edit: Stylus is now having trouble syncing with Dropbox in those browsers, too. Since it's a completely unrelated addon, it's definitely something the "enhanced security" browsers have added or changed.

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

No branches or pull requests

5 participants