ridvanaltun / guacamole-php-sdk

Manage Guacamole with an easy SDK.
MIT License
3 stars 3 forks source link

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"} #6

Open TheBadalaMaster opened 2 years ago

TheBadalaMaster commented 2 years ago
$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 :)

ridvanaltun commented 2 years ago

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 😬

TheBadalaMaster commented 2 years ago

Yes, if i fix it i will PR :)