Skip to content

404 with webapi DSM 4.2 #8

@cniweb

Description

@cniweb

I use a Synology 209 with DSM 4.2.
And I use this python package with Home Assistant.
Issue in Home Assistant Plugin:
home-assistant/core#30048

I become no values, see debug output:

>>> print("CPU Load:   " + str(api.utilisation.cpu_total_load) + " %")
DEBUG: Creating New Session
DEBUG: Requesting URL: 'https://192.168.178.3:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=2&method=login&account=***&passwd=***&session=Core&format=cookie'
DEBUG: Request executed: 200
DEBUG: Succesfull returning data
DEBUG: {'data': {'sid': 'c6z5IcCp059B6'}, 'success': True}
DEBUG: Authentication Succesfull, token: c6z5IcCp059B6
DEBUG: Requesting URL: 'https://192.168.178.3:5001/webapi/entry.cgi?api=SYNO.Core.System.Utilization&version=1&method=get'
DEBUG: Appending access_token (SID: c6z5IcCp059B6) to url
DEBUG: Request executed: 404
DEBUG: Error occured, retrying...
DEBUG: Requesting URL: 'https://192.168.178.3:5001/webapi/entry.cgi?api=SYNO.Core.System.Utilization&version=1&method=get'
DEBUG: Appending access_token (SID: c6z5IcCp059B6) to url
DEBUG: Request executed: 404
CPU Load:   None %

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions