-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection Error #56
Comments
Can you give more informations? |
`from synology_api import filestation, downloadstation fl = filestation.FileStation('172.16.0.200', '5000', 'name', 'password', secure=True, cert_verify=True) dwn = downloadstation.DownloadStation('172.16.0.200', '5000', 'username', 'password', secure = True) dwn.get_info()` This was the code causing problem ~/.local/lib/python3.7/site-packages/synology_api/downloadstation.py in init(self, ip_address, port, username, password, secure, cert_verify) ~/.local/lib/python3.7/site-packages/synology_api/auth.py in login(self, application) KeyError: 'data' |
Can you please help me in this regard @N4S4 |
Ok let me do some checks when i get home. As reminder you can join the telegram group t.me/SynologyApi I will let you know anyway |
thanks. I will be waiting for your reply
…On Thu, Feb 25, 2021, 1:40 AM Renato ***@***.***> wrote:
Ok let me do some checks when i get home. As reminder you can join the
telegram group t.me/SynologyApi
I will let you know anyway
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADIVS7NOPICWY3UDEAJ742DTAVP3FANCNFSM4YEBOPMQ>
.
|
ok so are you using it on your local network or from remote? |
i have just noticed that you are using port 5000, secure must be used for https only on port 5001 unless you modified it, try 5001 with secure True or 5000 with secure False |
I am using port 5001. Just in this example on github I am changing IP and
port.
…On Thu, Feb 25, 2021, 4:40 PM Renato ***@***.***> wrote:
i have just noticed that you are using port 5000, secure must be used for
https only on port 5001 unless you modified it, try 5001 with secure True
or 5000 with secure False
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADIVS7JOBBXDQDXWLHMWTG3TAYZMLANCNFSM4YEBOPMQ>
.
|
so try 5000 with secure False and cert_verify false |
I will close this issue as no activity, |
@N4S4 I am facing the original error raised in this issue. Could you please help? Errror message: requests.exceptions.ConnectionError: HTTPConnectionPool(host='https', port=80): Max retries exceeded with url: //ip_address:2112/webapi/auth.cgi?api=SYNO.API.Auth&version=7&method=login&account=username&passwd=pw&session=FileStation&format=cookie (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff9ee3cae20>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) |
I am trying to log in to NAS file station it is giving me following error
ConnectionError: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //IP:portwebapi/auth.cgi?api=SYNO.API.Auth&version=2&method=login&account=username&passwd=password&session=FileStation&format=cookie (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94b4092f10>: Failed to establish a new connection: [Errno -2] Name or service not known
The text was updated successfully, but these errors were encountered: