Azeirah / scrybble

Obsidian sync plugin for scrybble
32 stars 1 forks source link

Nothing happens - Dashboard #5

Open ewiltens opened 6 months ago

ewiltens commented 6 months ago

Files from remarkable site arn't loaded to Scrybble. When I login to Scrybble it opens scrybble.ink/dashboard and then nothing happens. I get a black screen and it stays black. The web page 'Sync status' remains empty.

In Obsidian I get the message 'no new ... founded'.

Azeirah commented 6 months ago

The black screen means there's an error occurring, I'll look into it. The error reporting isn't as good as it should be either

ewiltens commented 5 months ago

The black screen means there's an error occurring, I'll look into it. The error reporting isn't as good as it should be either

ewiltens commented 5 months ago

Is any progress to solve this issue?

jeffreystrauss commented 4 months ago

I'm apprehensive about paying for this service with multiple open issues for months. Any progress on this issue, and has there been progress on error reporting?

Azeirah commented 4 months ago

I'm apprehensive about paying for this service with multiple open issues for months. Any progress on this issue, and has there been progress on error reporting?

Understandable, progress is happening but most of it is not immediately visible. I forgot about this issue in particular, to be honest :/

One issue is that Github issues are an awful place for support, because it's a public forum but people are coming here with individual problems, not a big fan of asking for e-mail addresses on here either.

For what it's worth, you can try Scrybble free for the first month. You'd have to cancel the subscription if it's not working well for you.

Azeirah commented 4 months ago

I added a widget to the website you can use to report errors when they happen, e-mailing won't be necessary thanks to it :)

@ewiltens, can you reproduce the issue and then report an error with the new widget? Thanks!

ceuk commented 1 week ago

Hi I tried to submit using the widget, I'm also getting a blank dashboard.

Looks like we're getting a 500 error from the POST to https://scrybble.ink/api/RMFileTree which is causing the whole dashboard to crash maybe.

I've tried this on a couple of different machines (2 different PCs and my phone) and different browsers (chrome desktop, chrome mobile and firefox desktop) -- it happens on all of them consistently (rendering the entire service unusable).

Happy to provide any other details if needed

pmarv89 commented 1 week ago

Same. Blank dashboard with no connection even though my remarkable shows the verification code worked.

kshptl commented 1 week ago

Same. Blank dashboard with no connection even though my remarkable shows the verification code worked.

Same issue here

Azeirah commented 1 week ago

Hi all! This was a rare issue until recently, it's clear that this is s happening frequently right now. I'm investigating it as a high priority issue, and I will keep you updated.

asos-blessyrwabukera commented 1 week ago

Thanks for looking at it Azeirah!

Azeirah commented 1 week ago

Ok, the problem is pretty simple. The solution not necessarily. The problem is that we're reaching a rate limit. Consumers of the ReMarkable API are only allowed so many requests per minute.

The issue is of course that the ReMarkable API isn't public. I can't just go to them and ask for the rate limit to be increased, there's a good chance they'd try to shut down Scrybble.

What I'm going to do for now is to implement aggressive caching, to minimise requests. But for in the longer term, an on-device solution that doesn't rely on their API is paramount.

I have today and tomorrow to work on this, I can't say if it will be done tomorrow yet. I do hope so.

Azeirah commented 1 week ago

I updated the rmapi to the newest version. https://github.com/juruen archived the original rmapi, and now https://github.com/ddvk/rmapi is where rmapi is being maintained. Some of the issues weren't caused by rate limitations, but by changes ReMarkable made to their API.

I'm not too sure if this will resolve most of the issues, or just a small amount. For what it's worth, I was able to load the dashboard and sync a single file.

Let me know if the error is still occurring, I'll keep a close eye on it tomorrow.

Azeirah commented 1 week ago

I updated the rmapi to the newest version. https://github.com/juruen archived the original rmapi, and now https://github.com/ddvk/rmapi is where rmapi is being maintained. Some of the issues weren't caused by rate limitations, but by changes ReMarkable made to their API.

I'm not too sure if this will resolve most of the issues, or just a small amount. For what it's worth, I was able to load the dashboard and sync a single file.

Let me know if the error is still occurring, I'll keep a close eye on it tomorrow.

Since when i posted this comment, not a single error of the same kind has shown its head.

If you're able, please thank or sponsor https://github.com/ddvk.

He's an amazing developer in the ReMarkable community. This fix was his effort, not mine. I'm committing to sharing part of the income earned through scrybble with the open-source developers that make it possible, 10$ a month is going his way from now on, this is not a lot. As income grows more will go to the devs.