Lemutar / Synoloader

Firfox addon
18 stars 6 forks source link

Not working with DSM 5.0-4458 Update 2 and 4482 #2

Closed Hawk63 closed 10 years ago

Hawk63 commented 10 years ago

Synoloader is "connected" but when i want to send a link the message "Send link Faild" appear.

When i click on the icon it display a baloon with "Loading..."

I use Firefox 28 and i'm under windows 7 x64.

P.S. : Sorry for the bad english.

Lemutar commented 10 years ago

Hi, Does the user you use with synolaoder have the rights to use the "Download-station" of the DMS ?

cheers Lemutar

On 26.04.2014 02:13, hawk63 wrote:

Synoloader is "connected" but when i want to send a link the message "Send link Faild" appear.

When i click on the icon it display a baloon with "Loading..."

I use Firefox 28 and i'm under windows 7 x64.

P.S. : Sorry for the bad english.

— Reply to this email directly or view it on GitHub https://github.com/Lemutar/Synoloader/issues/2.

Hawk63 commented 10 years ago

Hi, Yes the user have the rights to use the download-station.

Lemutar commented 10 years ago

Hi, Can you activate the "Show Debug Information" in the Sysnoloader preferences. And the go to the "Browser console" of firefox. Synoloader should print some debug information, when you try to download something. With this infos I could possibly help you.

Cheers

2014-04-27 14:13 GMT+02:00 hawk63 notifications@github.com:

Hi, Yes the user have the rights to use the download-station.

— Reply to this email directly or view it on GitHubhttps://github.com/Lemutar/Synoloader/issues/2#issuecomment-41494979 .

Hawk63 commented 10 years ago

Hi, First, thx for your answer.

Here the log :

The last log is repeating while the ballon "loading..." is open.

Lemutar commented 10 years ago

Hi, 105 means "The logged in session does not have permission". Which leads me to the idea that the user you use don't have the permission to use the Download-station or the corresponding File-system.

cheers

On 28.04.2014 18:03, hawk63 wrote:

Hi, First, thx for your answer.

Here the log :

*

Connect To Syno :
SynoLoader : try to conect to : http://192.168.1.11:9011
<http://ukdl.synology.com/ftp/other/Synology_Download_Station_Official_API_V3.pdf>
GET http://192.168.1.11:9011/webapi/auth.cgi [HTTP/1.1 200 OK 220ms]
SynoLoader : {"data":{"sid":"rbGblhEUG6j4EC4KAN00364"},"success":true}

*

Add a link :
TypeError: document.getElementById(...) is null ff-overlay.js:275
SynoLoader : try to addurl to : http://192.168.1.11:9011
POST http://192.168.1.11:9011/webapi/DownloadStation/task.cgi
[HTTP/1.1 200 OK 107ms]
SynoLoader : {"error":{"code":105},"success":false}

*

Click on the icon :
SynoLoader : try to getall to :
http://192.168.1.11:9011rbGblhEUG6j4EC4KAN00364
GET http://192.168.1.11:9011/webapi/DownloadStation/task.cgi
[HTTP/1.1 200 OK 104ms]
SynoLoader : {"error":{"code":105},"success":false}
response.json.data is undefined Protocol_API.js:103

The last log is repeating while the ballon "loading..." is open.

— Reply to this email directly or view it on GitHub https://github.com/Lemutar/Synoloader/issues/2#issuecomment-41592034.

Hawk63 commented 10 years ago

Hi, I can't find the permission missing. My user have the acces of the download folder and at download station...

Do you have any idea for the permission missing ?

I have try with the root user and it's not working too.... I don't find why it doesn't work knowing the version 0.2 works 4-5 months ago when i was on DSM 4. I don't think to have change any acces right.

P.S. : i don't know if that can help but i have try the firefox's extension "synoext" and it works with the same user. it's strange. I prefer your extension thats why i search where is the problem.

Lemutar commented 10 years ago

Hmm, which is your default download destination ? Do you have write rights to this destination.

If its isn't that can you provide me a url and a test-user so i can test my self ?

Cheers

Hawk63 commented 10 years ago

Hi, My default destination is a share folder name "Telechargements". I have write rights to this.

If you want to test : url : user : pass :

Please tell me when you have take notes of theses informations in order to let me delete them on github.

Thx.

Lemutar commented 10 years ago

have seen it

Hawk63 commented 10 years ago

Ok thx.

Lemutar commented 10 years ago

wired, everything works. which version of synoloader do you use

Hawk63 commented 10 years ago

The version 1.01

Lemutar commented 10 years ago

Have you tryed it with the user you porvieded me?

Hawk63 commented 10 years ago

Yes i try it just now but still don't work for me...

Lemutar commented 10 years ago

Hmm no idea , is your IP locked? have you restart your PC and nas ?

Hawk63 commented 10 years ago

Hi, I find the solution.

It was a problem with my firefox.

I have create a new profile in firefox and it's good. It is working also after i reinstall all my extension so i think it was a problem with an old extension (or with my file pref.js under firefox's profile) because firefox seems to not delete the old parameter after unistalling an extension :/

Thx for help and sorry for the inconvenience.

syntacticvexation commented 10 years ago

Hi I'm having a similar problem. I'm using version 1.2 updated from 1.0.1 SynoLoader : observer SynoLoader : try to addurl to : SynoLoader : {"error":{"code":105},"success":false}

I can login to the same account and start a magnet link download fine.

I tried removing some of the preferences in pref.js: user_pref("extensions.SynoLoader.firstRunDone", true); user_pref("extensions.SynoLoader.show_dgb", true); user_pref("extensions.SynoLoader.url", "");

but I've had no success. I can't afford to create a full new firefox profile to fix the problem unfortunately. Can you point me in the right direction to what settings might need removing?

syntacticvexation commented 9 years ago

I've checked out the fork here: https://github.com/Luka234/Synoloader and I no longer have this issue, not sure which changes are responsible for the fix.