seansfkelley / nas-download-manager

An open source browser extension for adding/managing download tasks to your Synology DiskStation.
256 stars 46 forks source link

Error with DSM6.2 last release with port other than 5000 or 5001 - Error during the task update #184

Closed KanaChan06 closed 2 years ago

KanaChan06 commented 3 years ago

Hello,

Description

I have an error with the last release of the DSM 6.2 for a Synology DS718+. I am using it on a Waterfox browser, last version/release.

Steps to Reproduce the Issue

I have set the plugin as expected (I use it since a long time now) and the connection is successful (with a different port than 5020). But the arrows remain grey and I have an error : Error during the task update (in French in fact). If I use it on a DSM 7.0 Beta it works (with a different port as well).

Can you see if your plugin can still work under DSM 6.2 ?

Failure Logs

I do not see the logs in the plugin settings page. How can I do this?

Versions

Extension version: 0.10.1

Browser version: Waterfox G3.2.1

DSM version: DSM DSM 6.2.4-25556

seansfkelley commented 3 years ago

I'm a little unclear on the exact problem you're having. Here's what I understand:

Is that correct?

A few things in no particular order:

v3DJG6GL commented 3 years ago

I don't think it has anything to do with the different port. I have the same/similar issue:

seansfkelley commented 3 years ago

@v3DJG6GL ah, 2FA is not actually supported, which is the issue you're having. Adding it is tracked by #7.

It was known to accidentally work in some extension/browser/DSM combinations due to the way cookies worked, but I was forced to close out that accidental feature when DSM 6.2.4/7.0 made an unannounced breaking change causing the extension to start logging people out of their non-extension login sessions.

v3DJG6GL commented 3 years ago

oh thanks, that makes sense. I'll stay with 0.9.3 then, until you find time to implement 2FA. thanks for the clarification and your work! :)

seansfkelley commented 3 years ago

Ping @KanaChan06, can you provide a little more detail so I can figure out what's going wrong?

KanaChan06 commented 3 years ago

Hello, I am currently not available to make the test again. I will do it when I am back. Thanks.

KanaChan06 commented 3 years ago

Hello,

Here is an example of the screen capture: SynologyPlugin01 The arrows are not in green/orange and the messages are:

The DSM is behind a HA proxy. But it worked before.

seansfkelley commented 2 years ago

Hi @KanaChan06, I haven't had much spare time to pick this back up until now. Are you still having this issue?

If so, I would try removing the extension and then re-installing it, just to get a clean slate. If the issue persists, I'll need some more information from the logs to diagnose what's happening.

If you're willing to dig around in the logs to help me out a bit, you can find instructions at https://github.com/seansfkelley/nas-download-manager/blob/master/DEBUG.md#getting-logs-in-firefox for how to see them (I just checked -- these apply to Waterfox as well, at least, version G4.0.2.1). You're looking specifically for lines that talk about polling errors. Here's what it looks like on my Firefox when I turn off the wifi and it fails to connect:

image

If you could copy open all the collapsed information and copy the text/send a screenshot, that'd be helpful:

image
gergoorg commented 2 years ago

I had same issue after I upgraded my DSM from 6.2 to 7.0.

I had to upgrade the Download Station to version 3.9.3-4609 to "fix" this issue. I hope this help others.

seansfkelley commented 2 years ago

Closing due to inactivity. If you're able to provide the information I ask for above, I can take another look.