tdulcet / Thunderbird-Send

📤 FileLink provider for Send (formerly Firefox Send)
https://addons.thunderbird.net/thunderbird/addon/filelink-provider-for-send/
Mozilla Public License 2.0
52 stars 10 forks source link

Never complete linking the attachement #5

Closed ydroneaud closed 2 years ago

ydroneaud commented 2 years ago

Here the error message:

JavaScript error: moz-extension://8e389ed7-33bd-47dc-8a79-0cc216985088/background.js, line 624: Error: 400

tdulcet commented 2 years ago

Thanks for the bug report! Some questions:

I suspect the issue is that you used too high of a download limit and/or time limit for the Send instance. I believe the default Send instance only supports maximum values of 20 downloads and 7 days respectively.

ydroneaud commented 2 years ago

Thanks for the bug report! Some questions:

* Which version of Thunderbird and the add-on are you using?

Thunderbird 91.5.0 (91.5.0+build1-0ubuntu0.21.10.1)

FileLink provider for Send 1.1

* Which Send service instance did you use? The default [send.vis.ee](https://send.vis.ee/)?

The default

* Are you able to reproduce the issue? If so, what values for the download limit and time limit are you using?

I used 100 as download limit and 50081 as time limit.

I suspect the issue is that you used too high of a download limit and/or time limit for the Send instance. I believe the default Send instance only supports maximum values of 20 downloads and 7 days respectively.

I confirm, using those limits, adding the link worked.

tdulcet commented 2 years ago

I used 100 as download limit and 50081 as time limit.

50081 minutes is around 34.7 days.

I confirm, using those limits, adding the link worked.

OK, if you want to use those limits, you would currently need to select a different Send service instance from the default. I do not believe any of them support time limits of 34 days, but some do support up to 30 days and 100 downloads. You can see here for a list of public Send service instances.

I will update the next version of the add-on to show a more helpful error message in this case.

ydroneaud commented 2 years ago

I used 100 as download limit and 50081 as time limit.

I will update the next version of the add-on to show a more helpful error message in this case.

Thanks

timvisee commented 2 years ago

You might find the following list interesting, as some hosts have different limits:

https://github.com/timvisee/send-instances/