ridvanaltun / guacamole-php-sdk

Manage Guacamole with an easy SDK.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying to assing a connection returns mystifying error: "{"message":"Unexpected internal error","translatableMessage":{"key":"APP.TEXT_UNTRANSLATED","variables":{"MESSAGE":"Unexpected internal error"}},"statusCode":null,"expected":null,"type":"INTERNAL_ERROR"}

TheBadalaMaster opened this issue · comments

$server = new Guacamole($host, $username, $password, [
        'timeout' => 5,
        'verify'  => false, // don't verify ssl
    ]);

    $user = new User($server);
    $connections = ['104'];
    $user->assignConnections('admin20', $connections);

I basically copied and pasted the example code.

Thanks in Advance :)

Unfortunately, I don't know what's wrong and I don't use Guacamole for 2 years so I don't have a test environment to test and detect this issue. Sadly, you are by yourself on this. If you solve this please let me know 😬

Yes, if i fix it i will PR :)