Invalid encrypted protocol type(2) for requesting RDP service discovery

Got “Invalid encrypted protocol type(2) for requesting RDP service discovery, ErrorCode=-22” when running EMA application consumer example cons113. What's the root cause? Is that due to TLS version?

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @Frederic

    My colleague, @Jirapongse can replicate the issue by setting the wrong value to the EmaConfig.xml's EncryptedProtocolType property.

    image.png

    Could you share and recheck your EmaConfig.xml file? The supported value of the EncryptedProtocolType for the encrypted RSSL connection (RTO) is as follows:

    1727249588019.png


Answers