Comments (8)
Soon there will be a new release that might fix some login issue. We are looking for more reports that upload functions are working. Could you try to use the updated github version 7.1.1 and see if issue persist?
from synology-api.
I've tried with the latest commit from main
(9ada8fc) and the issues persists
from synology-api.
It is a strange error because i do not have any issue logging in. I see the execution script ur using .logout are u trying to login right?
from synology-api.
Could you try to split the script assigning the login to a var than do what you need to do?
test = filestation.FileStation('<IP>', '<PORT>', '<USER>', '<PASSWORD>', secure=True, otp_code='<OTP>', debug=True)
test.logout()
from synology-api.
I used this syntax because this part of my script is merely a test to check if the given credentials are correct.
So I just log in and log out immediately.
I tried again this time assigning Filestation to a variable but the issue persists (still on commit 9ada8fc).
from synology-api.
That is strange. The only thing comes in my mind you can try to change is to change 'enable_syno_token' in auth to 'no' and see what happens. This is the only change made to the api lately.
def login(self, application: str) -> None:
login_api = 'auth.cgi?api=SYNO.API.Auth'
params = {'version': self._version, 'method': 'login', 'account': self._username,
'passwd': self._password, 'session': application, 'format': 'cookie', 'enable_syno_token':'yes'}
Could you try this?
from synology-api.
The latest lib version works for me.
I've forked this repo (#164) to add the test cases to cover possible differences from my environment, changing the test cases config values.
client info
- windows 10
- python 3.12
dsm info
- DSM 7.1.1-42962 Update 6
- Synology model DS716+II
from synology-api.
it seems like an isolated case, have you checked your DSM config? i know was working before but people testing did not find same or other issues, i will keep looking at comments but i will close the issue
from synology-api.
Related Issues (20)
- Improve login handling HOT 8
- Machine oriented outputs for async start function HOT 2
- About Universal search Api parameter HOT 2
- `filestations.upload_file(...)` does not return anything meaninful anymore HOT 5
- Basic Usage Http Example issue "self.download_list[api_name]" is empty when secure is False HOT 12
- Is it possible to make download station create task utilizing torrent file? HOT 6
- error code not match with api document HOT 2
- Upgrade to (at least) Python 3.8 HOT 3
- Command Line Interface Support HOT 5
- `Data request failed` blinker error since upgrade from `0.5.1` to `0.6.2` HOT 6
- `shutdown` request from SYNO.Core.System not working properly HOT 4
- Tasks for Active Backup for Business HOT 7
- DownloadStation.create_task cannot handle destinations with whitespace HOT 1
- Remove synology-api-cli branch HOT 3
- get a error when use the method rename_folder HOT 7
- Synology Surveillance Station integration HOT 11
- core_certificate upload_cert() not working HOT 6
- is it possible to access synology using this wrapper from public/making request from browser? HOT 2
- [Feature Request] Implement TaskScheduler API HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synology-api.