gierschv/thunderbird-filelink-hubiC

Plugin does not return link to file

Opened this issue · 7 comments

If link the file, thunderbird successfully uploads it, but then never returns the link to the file (i.e. it keeps saying "Your file is being linked" forever...

Using TB 38.5.1

Let me know if I can do anything to help diagnosing. The hubiC plugin is really a life saver, thank you! If only I could get it working...

it seems to work now! What I did is add an Allow exception for the hubic.com domain (Tools -> Options -> Privacy -> Exceptions) and restart TB...

EDIT: nope, works kind of randomly...

What I see is that when it doesn't work, the Error Console throws this error:

Timestamp: 28/01/2016 12:47:45
Error: SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 5 of the JSON data
Source File: [...]/extensions/thunderbird-filelink-hubic@vincent.sh.xpi!/components/nsHubiC.js
Line: 260

is this of any help?

Ok, good to know! Thanks for the update.

@gierschv does my previous error log tell you something about the problem? Please let me know if I can provide more info.

@carlodri It seems that the API returned an error response with a non JSON body (

let aResponse = JSON.parse(aResponseText);
), typically an HTML error generated by a reverse-proxy or something similar.

@gierschv thanks. Sadly, I have almost zero knowledge of JavaScript, so I have no idea of where to start tracing the problem. Do you think you can investigate? I can provide any feedback/log/trace you need.

But I don't want to bother you, I understand that this project could be the very last of your occupations...!

By the way, this issue should be re-opened...

Thanks again.

@carlodri Actually this a server error from hubiC or a network error. I will try to add some extra log when I will have some free time. And indeed, I left OVH last July :-) (the company providing hubic), and I don't use hubiC anymore...

got the point, thanks!