Skip to content

Can not login to server #5

@vepeti

Description

@vepeti

Hello.

I try to connect to my urbackup server, but I can't. My code looks like:

import urbackup_api
server = urbackup_api.urbackup_server("http://10.10.10.10:55414/x", "username", "xxxxxx")
server.get_client_authkey("client_host")

The first error is the readall() in line 87. From Python 3.5, this is not a valid function.
I changed this, but now I get always: Username does not exist
Tried to print the salt variable from line 81:
{'error': 1}

Do you have any idea, or can you help me?
Thanks in advance.

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