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

Can't link to my remarkable account on Firefox 108.0.1 (64-bit) on Ubuntu 22.04 #9

Open
flzara opened this issue Dec 19, 2022 · 16 comments
Assignees
Labels
bug Something isn't working help appreciated Extra attention is needed

Comments

@flzara
Copy link

flzara commented Dec 19, 2022

Hi,

I can't manage to link the add-on with my remarkable account with Firefox 108.0.1 (64-bit) on Ubuntu 22.04

  1. I get a one-time code
  2. I paste in the required field and click connect
  3. I get the following error in raw HTML:
<html>
  <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <title>500 Server Error</title>
  </head> 
  <body text=#000000 bgcolor=#ffffff>
    <h1>Error: Server Error</h1>
    <h2>The server encountered an error and could not complete your request.<p>Please try again in 30 seconds.</h2>
    <h2></h2>
  </body>
</html>

image
(I replaced the one-time code with X)

I can also confirm the official extension is working with Chromium version 108.0.5359.124 (Official Build) snap (64-bit) on the same system.

@jelleschutter jelleschutter added the bug Something isn't working label Dec 19, 2022
@evavh
Copy link

evavh commented Dec 20, 2022

I am having the same problem in Firefox 107.0 (64-bit) on Pop!_OS 22.04 LTS when I try to upload a page, with the exact same error in the little plugin popup window.

@milesatstetson
Copy link

Seems to be cross platform: also on 108.0.1 (64-bit) on Windows 10 Pro, 22H2, version 19045.2364 .

Started recently, like beginning of the week.

@jelleschutter
Copy link
Owner

The pipeline for uploading new versions of the addon is currently broken (https://github.com/jelleschutter/remarkable-firefox/actions) so the current addon on the store is out of date. Fixing the action will hopefully do the trick. I will try to look over it during the holidays in the mean time any PR is very welcome.

@jelleschutter jelleschutter added the help appreciated Extra attention is needed label Dec 21, 2022
@evavh
Copy link

evavh commented Dec 24, 2022

Update on this bug: trying to upload a file is currently causing some of my notebooks to be overwritten with day-old versions from the cloud. One of them was just deleted. I am in contact with reMarkable about this, as I think this should not be possible even when using an outdated plugin (which might happen with the official plugin after all).

@choffee
Copy link

choffee commented Dec 30, 2022

I think they might have changed the upload API: https://blog.mozilla.org/addons/2022/03/17/new-api-for-submitting-and-updating-add-ons/ seems that you don't specify the version in the URL for the upload ( I assume that's in the metadata for the upload) and the field for the upload is "upload" not "file"
https://addons-server.readthedocs.io/en/latest/topics/api/addons.html#create

@elliottw
Copy link

elliottw commented Jan 3, 2023

I'm also having the same problem on an m1 macbook air running macOS 13.1.

@HackerDaGreat57
Copy link

Same issue on Ubuntu 22.10 x64 latest firefox

@vuktur
Copy link

vuktur commented Jan 16, 2023

I have the same issue on Windows 10 on up to date firefox, are there any fixes?

@jelleschutter jelleschutter self-assigned this Jan 20, 2023
@jelleschutter
Copy link
Owner

Sorry for the long delay...I had some trouble with my 2 step authentication. The updating of the pipeline will take some time since the were some big changes in the way Mozilla handles new versions for addons. For the time being I manually uploaded a new version: https://addons.mozilla.org/en-GB/firefox/addon/unofficial-remarkable/

Please let me know if the problem still exists in the new version.

@captn3m0
Copy link

It still doesn't connect on the new version for me.

I get a "NetworkError when attempting to fetch resource." instead. Console shows a "Response body is not available to scripts (Reason: CORS Missing Allow Origin)" error, the response contains a valid JWT.

image

Request that it breaks on:

curl 'https://webapp-prod.cloud.remarkable.engineering/token/json/2/device/new' -X POST -H 'Origin: moz-extension://7b66504e-f8e0-493f-bd49-c9b9f548e34e' --data-raw '{"code":"syyipcic","deviceID":"UUID","deviceDesc":"browser-chrome"}'

image

@jelleschutter
Copy link
Owner

jelleschutter commented Jan 30, 2023

Thanks for the quick response!! Finally managed to track down the issue. Firefox has added some updates the Manifest V3 format. One of which is that host permissions are no longer automatically accepted. (https://discourse.mozilla.org/t/blog-post-manifest-v3-in-firefox-recap-next-steps/97372/7)

At the moment you have to manually accept the permissions in the addon settings. You can get there by navigating to about:addons / Read on ReMarkable / Permissions
image
Ensure that the bottom two toggles are active. Hopefully this works for everyone.

@captn3m0
Copy link

it worked, thanks. A note about enabling this on the extension page will be helpful.

@flzara
Copy link
Author

flzara commented Jan 30, 2023

I can confirm it works fine.
Thank you 😄

@multilectical
Copy link

for me too! A big thank you for you work ! 💐

@milesatstetson
Copy link

milesatstetson commented Feb 4, 2023

With that permission add it now works here (Windows 10) too! Thank you!

@donaldsoncd
Copy link

Working for me again! Found this in the review section of the add-on. Thank you!

@jelleschutter jelleschutter pinned this issue Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help appreciated Extra attention is needed
Projects
None yet
Development

No branches or pull requests