Author Topic: Unsupported protocol element  (Read 2536 times)

Offline Ali

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 0
  • Haunted by Genesys
    • My Web Site
Unsupported protocol element
« on: November 12, 2019, 04:47:20 PM »
Hi, guys!

First let me share my C#.Net code with you:


To get connected with the specified IXN:

        [code]public void connect(string interactionServerName, string interactionServerHost, int interactionServerPort)
        {
            Uri interactionServerUri = new Uri("tcp://"
                + interactionServerHost
                + ":"
                + interactionServerPort);

            this.interactionServerProtocol = new InteractionServerProtocol(
                new Endpoint(interactionServerName, interactionServerUri)
                );

            this.interactionServerProtocol.ClientName = "AliTestClient";
            this.interactionServerProtocol.ClientType = Genesyslab.Platform.OpenMedia.Protocols.InteractionServer.InteractionClient.MediaServer;
            this.interactionServerProtocol.MediaType = "chat";

            try
            {
                this.interactionServerProtocol.Open();
                this.isConnected = true;
            }
            catch(Exception ex)
            {
                Console.WriteLine(ex);
                this.isConnected = false;
            }[/code]

To register;

[code]        public void registerApplication(string appName)
        {
            RequestRegisterClient reqClient = RequestRegisterClient.Create(InteractionClient.MediaServer, appName);
            reqClient.MediaType = "chat";
            this.interactionServerProtocol.Send(reqClient);
            Console.WriteLine("Registering client...");
        }[/code]


After getting connected to the IXN, when I am to send [b]RequestRegisterClient[/b], I end up with

[quote]Event Received ==> 'EventError' ('126')
message attributes:
attr_ref_id [int] = 2
attr_error_code [int] = 4
attr_error_desc [str] = "[b]Unsupported protocol element[/b]"[/quote]

Any idea on why I'm having "Unsupported protocol element" exception?

Cheers!

P.S. We have Genesys 8.5 -- No logs for now -- will provide tomorrow in the morning (our Genesys admins are away and having beer with chicks).

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Unsupported protocol element
« Reply #1 on: November 12, 2019, 09:42:02 PM »
Chat...against which port are you registering? default? ESP?
What are you trying to do?

Offline RobertH

  • Jr. Member
  • **
  • Posts: 69
  • Karma: 1
Re: Unsupported protocol element
« Reply #2 on: November 13, 2019, 08:41:15 AM »
Without logs I'm guessing, you probably are trying to connect with application developed with psdk 7.X to environment 8.5. Therefore this unsupported error?