Overview
After configuring RPC over HTTPS in M-Files server according to the documentation, in certain situations you might get "The remote procedure call was cancelled" error. For example, this error can occur while testing the configuration of vault connection in M-Files Desktop settings. Error stack can be as following:
PropertyPageVault.cpp, 622, The remote procedure call was cancelled. (0x8007071A)
Helper.cpp, 410, The remote procedure call was cancelled. (0x8007071A)
Solution
This erroneous situation can pop up due to misconfiguration in M-Files server that is preventing M-Files client to communicate with M-Files server properly. Follow the documentation once more and make sure you have all the required settings in place.
Hence, the following should be double checked if you still face this error:
· You have enabled TLS 1.1, TLS 1.2 or both in M-Files server
· AllowAnonymous registry key is set accordingly to the documentation in M-Files server.
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
· Check that port 443 and 4466 are allowed to accept connection in Windows Firewall settings.
· Make sure M-Files server and its processes are excluded from Firewall and Antivirus checking. For example: add mfserver process in Firewall exceptions.
Enabling RPC over HTTPS Connections to M-Files Server
https://kb.cloudvault.m-files.com/Default.aspx?#3ECA226F-7B54-428B-B539-DE443E6134EC/object/636F55B5-E08F-4931-B3C8-D1BF32C32085/latest
