-
-
Notifications
You must be signed in to change notification settings - Fork 870
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: Subscription ID already exists #2501
Comments
As discussed in the other thread, I spun up a Vm with Debian 12. I even went as far as to creating an entirely new public facing subdomain for that VM - does not change a thing. |
OK that is great - that means this is highly reproducible for you. In this Debian 12 system where you self-compiled the application, please can you test the following PR. Whilst the checks that I have done is simply a compile - I cannot test the logic.
To run the PR, you need to run the client from the PR build directory:
When running the PR, your version should be: |
Good morning from Austria! This is getting weird. I thought just for fun I try to startup my OneDriver docker container on unraid which threw the error yesterday. And today it just works again.... O.o
The 2nd container which syncs my wife's account still throws the error. But I will probably not be able to test your PR with her account right now because I need her phone for the 2FA. |
Okay, I got my wife to tell me the 2FA code over the phone. Using that I setup the onedrive PR build on the debian VM, and it appears to work!
So.... I then stopped that VM, went back to unraid, fired up her OneDrive container which threw the error just 15minutes earlier... and that now works again as well O.o
Does this make any sense to you? |
Now I get the error again on my account. This is with your PR using the following conf: sync_dir = "~/OneDrive" machine has a static IP of 192.168.1.7 to which the cloudflare tunnel points https://odlxc.XY.com
Let me explain how I setup the docker containers on unraid (this has been running for well over a year with no issue). Mine: conf: Wife: conf: |
So my thoughts here are that I think your Docker setup or configuration is somehow logically messed up somewhere .. potentially Cloud Flare is seeing your traffic as a single entity - and this is where the error is potentially being triggered from. In terms of the new crash .. will have to try and trace back and update the PR - however the delete does appear to work. |
Is it possible that there is a "hiccup" on their end? |
@cholzer79 |
@cholzer79
Could you please email a debug log ( |
@abraunegg e-mail sent. and this is interesting. When i launched onedrive on the VM it worked fine.
Result: subscription already exists, if you wait a little bit before launching onedrive again the error will not occur. Does that help? Even though this is different to the initial behaviour where I got the error no matter how long I waited. note: my 2 docker containers on Unraid are working perfectly fine again - no hiccups there anymore. |
Thanks for the email + debug log. As this is working again normally, without implementing any change, I am going to hit pause on working on this issue until later in the v2.5.0 development release cycle. Right now I am heavy in updating the documentation to ensure there is feature parity, before starting to run through all usage scenario's again so that an 'alpha-2' can be released for testing. Given that you also have a good reproducer, when I get back to looking at this I should be able to reproduce this (hopefully). |
I will backup the VM, if you need me to do more tests I can restore it easiely. :) Thank you for your help! |
Just want to let you know that it happened again yesterday after I had to restart the server.
|
Given there are no other reports of this sort of issue - I suspect that potentially this is being caused by something in your setup / use / how subscriptions have been configured for your environment. Could you open a case with Cloudflare at all ? See if there is any sort of inadvertent caching going on? |
I will try that. |
Good point about caching! Seems like cloudflare tunnels are cached per default! I have now used their new cache rules (beta) to set the 2 tunnels used for my 2 ondedrive containers/accounts to bypass all caching. |
@abraunegg I ran into the same issue on my single box. My theory is that a previous container didn't properly quit/cleanup. I created a new PR #2516 to fix this issue and make webhooks more resilient in general. (If you remember, I also created the original webhook support PR #1718) |
Please can you test the following PR as part of 'onedrive client version v2.5.0-alpha-3' to potentially resolve your issue:
To run the PR, you need to run the client from the PR build directory:
When running the PR, your version should be: This version incorporates #2516 into 'alpha-3' - and 'alpha-3' is the version where webhooks has been added back in to the rewrite. Any confirmation from either of you that:
|
@cholzer79 This has a number of updates for webhooks and webhook handling. When running the PR, the version should be |
Marking as fixed as this is embedded in v2.5.0 alpha series code |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the bug
Since yesterday my Onedrive Docker throws the error that the Subscription ID already exists.
Operating System Details
Client Installation Method
From Source
OneDrive Account Type
Personal
What is your OneDrive Application Version
driveone/onedrive:latest also tested driveone/onedrive:edge
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
docker in unraid 6.12.4
Steps to reproduce the behaviour
launch the docker
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: