remarkable-firefox icon indicating copy to clipboard operation
remarkable-firefox copied to clipboard

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

Open flzara opened this issue 2 years ago • 19 comments

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.

flzara avatar Dec 19 '22 13:12 flzara

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.

evavh avatar Dec 20 '22 09:12 evavh

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.

milesatstetson avatar Dec 21 '22 05:12 milesatstetson

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 avatar Dec 21 '22 10:12 jelleschutter

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).

evavh avatar Dec 24 '22 09:12 evavh

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

choffee avatar Dec 30 '22 20:12 choffee

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

elliottw avatar Jan 03 '23 19:01 elliottw

Same issue on Ubuntu 22.10 x64 latest firefox

twisted-nematic57 avatar Jan 15 '23 21:01 twisted-nematic57

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

vuktur avatar Jan 16 '23 09:01 vuktur

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.

jelleschutter avatar Jan 30 '23 16:01 jelleschutter

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

captn3m0 avatar Jan 30 '23 17:01 captn3m0

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.

jelleschutter avatar Jan 30 '23 18:01 jelleschutter

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

captn3m0 avatar Jan 30 '23 18:01 captn3m0

I can confirm it works fine. Thank you :smile:

flzara avatar Jan 30 '23 19:01 flzara

for me too! A big thank you for you work ! :bouquet:

multilectical avatar Jan 30 '23 19:01 multilectical

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

milesatstetson avatar Feb 04 '23 10:02 milesatstetson

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

donaldsoncd avatar Feb 07 '23 17:02 donaldsoncd