Connection via API using gRPC

Hi,

I've got a connection to a cloud-vault that uses gRPC, that works fine via M-Files desktop with the following settings:

Now I want to setup a connection via the API, using the method IMFilesServerApplication.Connect (or any of the overloads: ConnectEx3/ConnectEx4/ConnectEx5ConnectEx6).

I'm using a M-Files login-account for this.

As example I'm trying the following call:

mfServerApplication.ConnectEx6(
AuthType: MFAuthType.MFAuthTypeSpecificMFilesUser
, NetworkAddress: "[instance].cloudvault.m-files.com"
, UserName: "[m-files login account]"
, Password: "[***]"
, ProtocolSequence: "grpc"
, Endpoint: "443"
, EncryptedConnection: true);

This results in the following message:

Network problems are preventing M-Files from communicating with the server.
The RPC server is unavailable.

What is still missing, when building up the connection via API?

Kind regards,

Chris

Parents Reply Children
No Data