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
v1_retired
API error
#683
Comments
I'm having the same issue. But the dropbox API v1 is retired since September 2017 already, see https://dropbox.tech/developers/api-v1-deprecated, so I doubt Maestral was still (heavily) depending on that version. |
The function that's failing is in the official SDK, and the relevant endpoint is still part of the V2 API. This stuff is normally caused by incorrect usage, but it could be an issue with either the the SDK or Dropbox service. 🤷 |
The API call which seems to be failing is /oauth2/token, indeed available in v2. This is used internally by the SDK to exchange a long-lived refresh token stored by Maestral for a short lived auth token used to make all other API calls. |
This might just be a temporary glitch on the server side. Let me know if it persists and I'll flag it with the Dropbox support. |
I woke up to one of these and I just got another one a minute ago. I'm not saying you need to flag it just yet but I wanted to provide the data point that I've seen this error twice now. |
Another data point: Popped up for me, too, but now it seems to be working again. |
I've reported the issue to Dropbox and they are looking into it. It appears that something similar occurred previously already. |
This issue is gone for me. |
Issue is still occurring for me. Happened 2 minutes ago (2022-05-26 20:32NZST). macOS Monterey, GUI 1.6.2, daemon 1.6.2. |
Got it once about 1h ago, then sync paused. |
The issue is occurring for me as well. Happened 3 min ago (2022-05-26 09:58 CDT). It also popped up about an hour ago and when I dismissed I then resumed syncing and all was fine until it popped up again. Shows no syncing errors though. macOS Monterey 12.3.1, iMac Pro, GUI 1.6.2, daemon 1.6.2 |
Just to add a +1 - Looks like Dropbox server issue based on the above |
I don't want to spam this issue but I just saw this error for a 3rd time a minute ago. Unless otherwise asked I won't report future incidents if they are scattered (as in: unless it starts to be a real problem). Right now I'll just ignore it and restart sync. |
This issue happened to me today on two separate computers (Mac mini M1 and MBP M1 both running 12.4). I selected Resume Synching and it seems to have continued after that. |
Closing this as it's just "me too" comments now. @samschott has already reported it, and it's not this program's fault. |
@Roy-Orbison, I appreciate the intention behind closing this issue. Unfortunately, it just results in new issues being created instead. I'll reopen this as a tracking bug and to report any news to people affected, once there is any. |
For whatever this is worth, this has happened twice for me today as well. GUI 1.6.2, daemon 1.6.2 |
I know the me-too's are annoying but since not many people have posted in a week I just wanted to let people know it's still happening. I just installed Maestral on a new Mac and I'm hitting this about once an hour. Resuming works fine but I have to resume every time. |
I've been having this issue occasionally, but today has been occurring very frequently, just a few minutes apart, pausing the sync |
I'm having this issue as well, and the frequency has increased significantly in the past few days. |
@samschott My understanding is that closing an issue doesn't prevent comments, it just lets people know that there's nothing you can solve because it's not Maestral's fault. |
Can confirm this is still happening. Appreciate the follow-up from Dropbox, hopefully this will be resolved soon. |
@Roy-Orbison as someone who deals regularly with dependencies breaking underneath me and (paying) customer fallout, the reality is that a client application is still to a degree responsible for what its dependencies are doing. Assigning fault at Dropbox doesn't discharge Maestral of having the bug. This brings to light several courses of action that could be taken:
Regardless, I mainly wanted to report that this has gotten significantly worse today for whatever reason! I'm happy to send any config info/logs if that can help. |
Data point: Happened quite a bit a week or two ago. Nothing since, but just got it twice today. macOS12.4 and v1.6.2. |
Just to provide an additional data point. This started happening to me about one week ago. Now it happens in a minute base. I can unpause sync, and about 10min later, I get this error. I work on a shared project with a lot of changes on the files. So this could cause this to pop up so frequently to me. |
I'm using this in a every-5-minutes-cronjob as a temporary workaround (resuming works for me, but start/stop is of course also possible this way):
|
Originally downloaded this app as the Mac native alternative to Dropbox which required Rosetta. Looks like Dropbox has updated their Mac version to be native on M1 now so no real reason to keep it, especially if this bug persists. Has anyone switched between them? Anything to be aware of when I switch back? |
Actually there are a least two good reasons for maestral, as Dropbox dropped A LOT of functionality from their native client.
|
So I did some testing and found a possible work-around, just as I suggested above:
With this, the v1_retired gets simply ignored, but the synchronization keeps working (while, at the same time, the same error on another computer led to pausing sync again). Could someone else please try this and report whether it works for them, too? |
Your code works by me. Thanks After a while I got "Unexpected error" ... like ricir wrote. |
@tempelmann Works for me, too! Should this maybe be submitted as a PR to the official Dropbox Python library? |
Does anybody know if there is a similar fix for anyone that has Maestral installed through the App Bundle? |
You mean the Mac installer? That does install only a compiled version of the file ("dropbox_client.pyc"), which one cannot edit that way. Maybe there's a way to replace that with an uncompiled version, but I don't know about that. |
I tried this in ubuntu, on the file |
EDIT: nope, the problem persist |
I get this dialog a lot these days. I even switched to native Dropbox client 😇, but it was such a resource hog compared to Maestral, so I switched back to Maestral today, but I got the dialog again already. MacBookPro M1 Pro (AppleSilicon) |
It started to happen to me multiple times an hour when i'm syncing anything... |
I have tried Dropbox native client again. Even with Apple Silicon support it is a resource hog compared to Maestral. Even without syncing Dropbox keeps CPU % usage very high. I might say it is worse than on Intel Macs. I noticed effects on battery life as well, even on MacBookPro M1. Also Maestral's .mignore is ingenious. If this syncing issue continues I will probably move everything to OneDrive. 🤷♂️ |
Same when installing via Homebrew. |
It'd be nice if Maestral simply ignored the error and kept syncing - all automatically behind the stage. |
It seems possible that a bug that was 'fixed' in 2018 might be reintroduced on the Dropbox API by Dropbox. A more recent issue is opened there. I think it might make sense to place further encouragements/upvotes/information there (if one feels that it is needed/effective). I think the above info is what Sam (not tagging him), has already wrote. Based of @maiksd comment: For those using the MacOS GUI (like myself) you can paste this in terminal and keep it running/open. Please note that the GUI icon might stay on paused state (but it is syncing). #!/bin/bash
while :
do
if (/Applications/Maestral.app/Contents/MacOS/maestral-cli status | grep -e '^Status.*Paused') &> /dev/null
then
echo 'Resuming sync, keep watching'
/Applications/Maestral.app/Contents/MacOS/maestral-cli resume
fi
sleep 5 # seconds interval
done Instead of pasting one could create a cron (*but in later MacOS you need to grant some extra permissions so be advised). |
Just tried. It seems OK when I create or modify a file but if I delete files from my Dropbox folder I get: |
Quick update: The problem still persists server-side but I've tried to mitigate it now by retrying the failing refresh token calls up to five times. Since "only" about 10% of calls are failing, and rarely consecutively, this retry logic should fix the symptoms, however not the cause. |
FWIW I just got the error once more, running v1.6.3. |
That's surprising. Calls which raise this error are now retired up to 5 times before it is propagated to the user. This indicates things getting worse on the Dropbox side. |
I just updated and restarted the sync and got the error within 5 minutes again. Wonder if it is something to with how Dropbox have recently rearranged how Business account folders are structured, that is triggering the error more often? However has now been running for a few hours happily, might have just been unlucky. |
Just wanted to re-up a note by ricir above, which is that folks should absolutely be posting on the Dropbox Issue <-- We know Sam is on this as best he can be, so I think this thread is the best place to make noise and get this solved! |
Zero issues after update couple days ago. 👍 |
Same here, no problems since the new update. Thanks Sam!
…On Tue, 7 Jun 2022, at 17:01, Miloš Mileusnić wrote:
Zero issues after update couple days ago. 👍
—
Reply to this email directly, view it on GitHub <#683 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMXKI7VRKDQ55GGQAT2SUNLVN5P47ANCNFSM5WXXYVEA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Thank you, Sam, I'm on Linuxmint, no error, maestral runs fine again. :) |
To close the loop on this, the issue has finally been fixed on the Dropbox side. It took them some time... |
Describe the bug
An alert dialogue from Maestral and a system toast notification both appeared with the same
{"error": "v1_retired"}
message, then Maestral's status icon showed as paused (⏸).To Reproduce
No specific actions, Maestral was running in the background. I had not made any recent changes within the synced root dir.
Expected behaviour
Use the current API, I guess.
System:
Additional context
Log:
The text was updated successfully, but these errors were encountered: