Problem with Dropbox-Backend

Asked by Luca Bertoncello on 2017-10-02

Hi all

I'm using duplicity with the Dropbox-backend on some servers.
All worked fine until two days ago, then I just got:

dpbx error: [400] u'v1_retired'
Attempt 1 failed. ErrorResponse: [400] u'v1_retired'

So, I tried to update duplicity and the Dropbox-Backend, but I always get
this error:

BackendException: dpbx: DPBX_APP_KEY environment variable not set

so I tried this http://duplicity.nongnu.org/duplicity.1.html#sect12 but it
does not help...
I exported DPBX_APP_KEY and DPBX_APP_SECRET, then I run duplicity and I got
an URL to confirm the action.
I confirmed it and I got an authorization code that I pasted in duplicity.
Unfortunately I get:

BackendException: dpbx: Unable to obtain access token: Timeout value connect
was Timeout(connect=None, read=None, total=None), but it must be an int or
float.

Any idea how can I solve my problem?

Thanks
Luca Bertoncello

Question information

Language:
English Edit question
Status:
Answered
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Last query:
2017-10-02
Last reply:
2017-10-05
edso (ed.so) said : #1

On 02.10.2017 08:54, Luca Bertoncello wrote:
> New question #658832 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/658832
>
> Hi all
>
> I'm using duplicity with the Dropbox-backend on some servers.
> All worked fine until two days ago, then I just got:
>
> dpbx error: [400] u'v1_retired'
> Attempt 1 failed. ErrorResponse: [400] u'v1_retired'
>
> So, I tried to update duplicity and the Dropbox-Backend, but I always get
> this error:
>
> BackendException: dpbx: DPBX_APP_KEY environment variable not set
>
> so I tried this http://duplicity.nongnu.org/duplicity.1.html#sect12 but it
> does not help...
> I exported DPBX_APP_KEY and DPBX_APP_SECRET, then I run duplicity and I got
> an URL to confirm the action.
> I confirmed it and I got an authorization code that I pasted in duplicity.
> Unfortunately I get:
>
> BackendException: dpbx: Unable to obtain access token: Timeout value connect
> was Timeout(connect=None, read=None, total=None), but it must be an int or
> float.
>
> Any idea how can I solve my problem?
>

Luca,

try asking on the mailing list where some people supposedly use dropbox.
  https://lists.nongnu.org/mailman/listinfo/duplicity-talk

I'll cc Dmitry and Jno, who are listed as the original authors of the backend, just in case.

good luck.. ede/duply.net

Luca Bertoncello (lucabert) said : #2

Unfortunately I can't contact the ML, since the Mailserver always rejects my E-Mails...

edso (ed.so) said : #3

On 02.10.2017 11:53, Luca Bertoncello wrote:
> Question #658832 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/658832
>
> Status: Answered => Open
>
> Luca Bertoncello is still having a problem:
> Unfortunately I can't contact the ML, since the Mailserver always
> rejects my E-Mails...
>

i remember, can't you use another email address? some freemailer gmail, gmx, yahoo whatever?

sorry for the inconvenience. as i wrote before, complain to savannah and see what they say ..ede/duply.net

Luca Bertoncello (lucabert) said : #4

Really, I don't have any other E-Mail, since my current address runs perfectly...
I'm surely don't create an account just for the buggy gnu.org...

edso (ed.so) said : #5

On 02.10.2017 12:44, Luca Bertoncello wrote:
> Question #658832 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/658832
>
> Status: Answered => Open
>
> Luca Bertoncello is still having a problem:
> Really, I don't have any other E-Mail, since my current address runs perfectly...
> I'm surely don't create an account just for the buggy gnu.org...
>

your decision. just saying your chances w/ this issue are better on the ml and if i were you i would simply register one in a few minutes.

have fun. ede/duply.net

edso (ed.so) said : #6

On 02.10.2017 08:54, Luca Bertoncello wrote:
> New question #658832 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/658832
>
> Hi all
>
> I'm using duplicity with the Dropbox-backend on some servers.
> All worked fine until two days ago, then I just got:
>
> dpbx error: [400] u'v1_retired'
> Attempt 1 failed. ErrorResponse: [400] u'v1_retired'
>
> So, I tried to update duplicity and the Dropbox-Backend, but I always get
> this error:
>
> BackendException: dpbx: DPBX_APP_KEY environment variable not set
>
> so I tried this http://duplicity.nongnu.org/duplicity.1.html#sect12 but it
> does not help...
> I exported DPBX_APP_KEY and DPBX_APP_SECRET, then I run duplicity and I got
> an URL to confirm the action.
> I confirmed it and I got an authorization code that I pasted in duplicity.
> Unfortunately I get:
>
> BackendException: dpbx: Unable to obtain access token: Timeout value connect
> was Timeout(connect=None, read=None, total=None), but it must be an int or
> float.
>
> Any idea how can I solve my problem?
>
> Thanks
> Luca Bertoncello
>

there is the possibility that the backend might not work until it is updated to dropbox v2 API. just read this german news snippet
  https://www.heise.de/newsticker/meldung/Dropbox-API-v1-abgeschaltet-3848199.html

..ede/duply.net

On Mon, Oct 02, 2017 at 11:38:31AM +0200, <email address hidden> wrote:
> On 02.10.2017 08:54, Luca Bertoncello wrote:
> > New question #658832 on Duplicity:
> > https://answers.launchpad.net/duplicity/+question/658832
> >
> > Hi all
> >
> > I'm using duplicity with the Dropbox-backend on some servers.
> > All worked fine until two days ago, then I just got:
> >
> > dpbx error: [400] u'v1_retired'
> > Attempt 1 failed. ErrorResponse: [400] u'v1_retired'
> >
> > So, I tried to update duplicity and the Dropbox-Backend, but I always get
> > this error:
> >
> > BackendException: dpbx: DPBX_APP_KEY environment variable not set
> >
> > so I tried this http://duplicity.nongnu.org/duplicity.1.html#sect12 but it
> > does not help...
> > I exported DPBX_APP_KEY and DPBX_APP_SECRET, then I run duplicity and I got
> > an URL to confirm the action.
> > I confirmed it and I got an authorization code that I pasted in duplicity.
> > Unfortunately I get:
> >
> > BackendException: dpbx: Unable to obtain access token: Timeout value connect
> > was Timeout(connect=None, read=None, total=None), but it must be an int or
> > float.
> >
> > Any idea how can I solve my problem?

Hi,

Probably Dropbox finally turned off API v1.

Please make sure that you're using latest version of duplicity. I thought
I've updated duplicity to use APv2.

Sorry, I don't use it anymore. But once I'll have some free time, I'll
check it

--
WBR, Dmitry

Can you help with this problem?

Provide an answer of your own, or ask Luca Bertoncello for more information if necessary.

To post a message you must log in.