1 Reply Latest reply: Jan 31, 2018 9:35 AM by Akshay Anandbabu RSS

    QlikBotNet- "LogOnError"

    Akshay Anandbabu

      I get this error when I try to run the bot.exe

       


      018-01-31 09:19:56: Starting Log...

      2018-01-31 09:19:56: logInfo ID:522917336 First:XXXX Last: UserName:XXXXX <Timer for alerts started with 60 seconds>

      2018-01-31 09:19:56: Starting Log...

      2018-01-31 09:19:56: Started and Callback set for Bot

      2018-01-31 09:19:57: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:57: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:57: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:57: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:57: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:57: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:57: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:57: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:57: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:58: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:58: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:58: logError BotOnReceiveError: Telegram.Bot.Args.ReceiveErrorEventArgs

      2018-01-31 09:19:58: logError ID:522917336 First:XXXXX Last: UserName:XXXXX <Error opening the Qlik Sense app : Qlik.Sense.JsonRpc.CommunicationErrorException: Connection failed after 4 attempts. Error message:

        Correct authentication information wasn't sent from Proxy: Qlik.Sense.Communication.Communication.Proxy.ClientAuthenticationInformation ---> System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonException: Correct authentication information wasn't sent from Proxy: Qlik.Sense.Communication.Communication.Proxy.ClientAuthenticationInformation

         --- End of inner exception stack trace ---

         at Qlik.Sense.JsonRpc.RpcConnection.<OpenAsync>d__43.MoveNext()

      --- End of stack trace from previous location where exception was thrown ---

         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

         at Qlik.Sense.JsonRpc.RpcConnection.<EnsureConnectionIsOpen>d__54.MoveNext()

      --- End of stack trace from previous location where exception was thrown ---

         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

         at Qlik.Sense.JsonRpc.RpcConnection.<SendAsync>d__52.MoveNext()

         --- End of inner exception stack trace ---

         at Qlik.Engine.Communication.QlikConnection.AwaitResponseTask[T](T task, String methodName, CancellationToken cancellationToken)

         at Qlik.Engine.Communication.QlikConnection.Ping(Nullable`1 noVersionCheck)

         at Qlik.Engine.LocationExtensions.Hub(ILocation location, ISession session, Nullable`1 noVersionCheck)

         at Qlik.Engine.LocationExtensions.GetAppIdentifiers(ILocation location, Nullable`1 noVersionCheck)

         at Qlik.Engine.LocationExtensions.AppWithIdOrDefault(ILocation location, String appId, Nullable`1 noVersionCheck)

         at QlikSenseEasy.QSApp.QSOpenApp() in C:\Users\baz\Documents\GitHub\QlikBotNet\Bot Development\QlikSenseEasy\QSEasy.cs:line 357

         at QlikTelegram.Bot..ctor() in C:\Users\baz\Documents\GitHub\QlikBotNet\Bot Development\QlikTelegram\Bot.cs:line 163>