xatkit-bot-platform / xatkit

The simplest way to build all types of smart chatbots and digital assistants
https://xatkit.com
Eclipse Public License 2.0
176 stars 22 forks source link

Issue while running the bot #25

Closed smishy05 closed 4 years ago

smishy05 commented 4 years ago

I have connected my bot to DialogFlow. While trying to run the bot, I am getting this error

Xatkit classpath:
/home/shailesh1998/xatkit/build/examples/WeatherBot/lib/xatkit-rest-runtime-2.0.0-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/examples/community/Twitter/CanYouTweet/lib/xatkit-twitter-runtime-1.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/examples/GitHubBots/GithubBot/lib/xatkit-github-runtime-2.1.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-github-platform/xatkit-github-runtime-3.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-chat-platform/xatkit-chat-runtime-3.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-slack-platform/xatkit-slack-runtime-3.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-log-platform/xatkit-log-runtime-3.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-core-platform/xatkit-core-runtime-3.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-react-platform/xatkit-react-runtime-4.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-rest-platform/xatkit-rest-runtime-2.0.0-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/bin/xatkit-nodep-jar-with-dependencies.jar
java -Dfile.encoding=UTF-8 -cp '/home/shailesh1998/xatkit/build/examples/WeatherBot/lib/xatkit-rest-runtime-2.0.0-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/examples/community/Twitter/CanYouTweet/lib/xatkit-twitter-runtime-1.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/examples/GitHubBots/GithubBot/lib/xatkit-github-runtime-2.1.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-github-platform/xatkit-github-runtime-3.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-chat-platform/xatkit-chat-runtime-3.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-slack-platform/xatkit-slack-runtime-3.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-log-platform/xatkit-log-runtime-3.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-core-platform/xatkit-core-runtime-3.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-react-platform/xatkit-react-runtime-4.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-rest-platform/xatkit-rest-runtime-2.0.0-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/bin/xatkit-nodep-jar-with-dependencies.jar' com.xatkit.Xatkit '../projects/SC_MDE/SC_MDE.properties'
23:14:41.883 [pool-3-thread-1] INFO   - Starting Xatkit with the configuration file ../projects/SC_MDE/SC_MDE.properties
23:14:43.444 [pool-3-thread-1] INFO   - Loading Xatkit core libraries
23:14:43.538 [pool-3-thread-1] INFO   -     CoreLibrary loaded
23:14:43.538 [pool-3-thread-1] INFO   - Loading Xatkit core platforms
23:14:43.799 [pool-3-thread-1] INFO   -     GithubPlatform loaded
23:14:43.801 [pool-3-thread-1] INFO   -     ChatPlatform loaded
23:14:43.809 [pool-3-thread-1] INFO   -     SlackPlatform loaded
23:14:43.810 [pool-3-thread-1] INFO   -     LogPlatform loaded
23:14:43.813 [pool-3-thread-1] INFO   -     CorePlatform loaded
23:14:43.816 [pool-3-thread-1] INFO   -     ReactPlatform loaded
23:14:43.824 [pool-3-thread-1] INFO   -     RestPlatform loaded
23:14:43.824 [pool-3-thread-1] INFO   - Loading Xatkit custom libraries
23:14:43.834 [pool-3-thread-1] INFO   -     SC_MDE loaded
23:14:43.836 [pool-3-thread-1] INFO   - Loading Xatkit custom platforms
23:14:43.961 [main] WARN  org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory - --- xtext.common.types ---------------------------------------------------
23:14:43.961 [main] WARN  org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory - ASM library is not available. Falling back to java.lang.reflect API.
23:14:43.961 [main] WARN  org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory - Please note that no information about compile time constants is available.
23:14:43.961 [main] WARN  org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory - It's recommended to use org.objectweb.asm 5.0.1 or better (Maven group id: org.ow2.asm).
23:14:43.961 [main] WARN  org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory - --------------------------------------------------------------------------
23:14:45.036 [pool-3-thread-1] INFO   - Starting intent recognition monitoring
23:14:45.190 [pool-3-thread-1] INFO   - Registered REST handler  at URI /analytics/monitoring (method=GET)
23:14:45.190 [pool-3-thread-1] INFO   - Registered REST handler  at URI /analytics/monitoring/session (method=GET)
23:14:45.191 [pool-3-thread-1] INFO   - Registered REST handler  at URI /analytics/monitoring/unmatched (method=GET)
23:14:45.191 [pool-3-thread-1] INFO   - Registered REST handler  at URI /analytics/monitoring/matched (method=GET)
23:14:45.191 [pool-3-thread-1] INFO   - Registered REST handler  at URI /analytics/monitoring/sessions/stats (method=GET)
23:14:45.196 [pool-3-thread-1] INFO   - Starting DialogFlow Client
23:14:45.206 [pool-3-thread-1] INFO   - Loading Google Credentials file /home/shailesh1998/xatkit/build/projects/SC_MDE_JSON/sc-mde-nymmpx-a9a2e4554f0e.json
23:14:45.860 [pool-3-thread-1] INFO   - Cleaning agent DialogFlow agent
23:14:48.756 [pool-3-thread-1] INFO   - Skipping intent import, the agent has been cleaned on startup
23:14:48.757 [pool-3-thread-1] INFO   - Skipping entity types import, the agent has been cleaned on startup
23:14:48.766 [pool-3-thread-1] INFO   - Loading RuntimePlatform for ReactPlatform
23:14:48.767 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.ReactPlatform
23:14:48.769 [pool-3-thread-1] INFO   - Constructing ReactPlatform with parameters (com.xatkit.core.XatkitCore@389fad5b,org.apache.commons.configuration2.PropertiesConfiguration@5d72da0b)
23:14:49.063 [main] INFO  com.corundumstudio.socketio.SocketIOServer - Session store / pubsub factory used: MemoryStoreFactory (local session store only)
23:14:49.155 [pool-3-thread-1] INFO   - Registered REST handler  at URI /admin (method=GET)
23:14:49.155 [pool-3-thread-1] INFO   - Registered REST handler  at URI /admin/css/xatkit.css (method=GET)
23:14:49.155 [pool-3-thread-1] INFO   - Registered REST handler  at URI /admin/js/xatkit.js (method=GET)
23:14:49.156 [pool-3-thread-1] INFO   - Starting ReactIntentProvider
23:14:49.156 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.io.ReactIntentProvider
23:14:49.156 [nioEventLoopGroup-2-1] INFO  com.corundumstudio.socketio.SocketIOServer - SocketIO server started at port: 5001
23:14:49.156 [pool-3-thread-1] INFO   - Constructing ReactIntentProvider with parameters (*ReactPlatform,org.apache.commons.configuration2.PropertiesConfiguration@5d72da0b)
23:14:49.159 [pool-3-thread-1] INFO   - Starting RuntimeEventProvider ReactIntentProvider
23:14:49.160 [pool-3-thread-1] INFO   - Registering execution rule events
23:14:49.576 [pool-3-thread-1] ERROR  - An error occurred when starting the XatkitCore, trying to close started services
23:14:49.576 [pool-3-thread-1] INFO   - Stopping XatkitServer
23:14:49.576 [pool-3-thread-1] WARN   - Cannot stop the XatkitServer, the server is not started
23:14:54.844 [pool-3-thread-1] ERROR  - Cannot start Xatkit, see the attached exception
com.google.api.gax.rpc.ResourceExhaustedException: io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: Quota exceeded for quota metric 'All other requests' and limit 'All other requests per minute' of service 'dialogflow.googleapis.com' for consumer 'project_number:929450432291'.
    at com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:57) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:72) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:60) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at com.google.api.gax.grpc.GrpcExceptionCallable$ExceptionTransformingFuture.onFailure(GrpcExceptionCallable.java:97) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:68) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1039) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1165) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:958) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:749) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at io.grpc.stub.ClientCalls$GrpcFuture.setException(ClientCalls.java:522) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:497) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:426) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at io.grpc.internal.ClientCallImpl.access$500(ClientCallImpl.java:66) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:689) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$900(ClientCallImpl.java:577) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:751) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:740) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_252]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_252]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_252]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_252]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_252]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_252]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
    Suppressed: com.google.api.gax.rpc.AsyncTaskException: Asynchronous task failed
        at com.google.api.gax.rpc.ApiExceptions.callAndTranslateApiException(ApiExceptions.java:57) ~[xatkit-nodep-jar-with-dependencies.jar:?]
        at com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112) ~[xatkit-nodep-jar-with-dependencies.jar:?]
        at com.google.cloud.dialogflow.v2.IntentsClient.createIntent(IntentsClient.java:687) ~[xatkit-nodep-jar-with-dependencies.jar:?]
        at com.google.cloud.dialogflow.v2.IntentsClient.createIntent(IntentsClient.java:569) ~[xatkit-nodep-jar-with-dependencies.jar:?]
        at com.xatkit.core.recognition.dialogflow.DialogFlowApi.registerIntentDefinition(DialogFlowApi.java:400) ~[xatkit-nodep-jar-with-dependencies.jar:?]
        at com.xatkit.core.XatkitCore.registerEventDefinition(XatkitCore.java:315) ~[xatkit-nodep-jar-with-dependencies.jar:?]
        at com.xatkit.core.XatkitCore.loadExecutionModel(XatkitCore.java:239) ~[xatkit-nodep-jar-with-dependencies.jar:?]
        at com.xatkit.core.XatkitCore.<init>(XatkitCore.java:175) ~[xatkit-nodep-jar-with-dependencies.jar:?]
        at com.xatkit.Xatkit.main(Xatkit.java:93) ~[xatkit-nodep-jar-with-dependencies.jar:?]
Caused by: io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: Quota exceeded for quota metric 'All other requests' and limit 'All other requests per minute' of service 'dialogflow.googleapis.com' for consumer 'project_number:929450432291'.
    at io.grpc.Status.asRuntimeException(Status.java:533) ~[xatkit-nodep-jar-with-dependencies.jar:?]
    ... 16 more

What should I do?

Thanks in advance

gdaniel commented 4 years ago

Hi, This looks like a quota issue with your DialogFlow agent. I guess your bot contains quite a lot of intents, right?

You can re-run your application, Xatkit won't redeploy the intents that are already deployed in DialogFlow, so you should be fine. Let me know if this is not the case.

smishy05 commented 4 years ago

Thanks a lot for your reply.

Yes, I do have lots of intents.

I tried again but I am getting the same error. Hence, I tried to make xatkit.dialogflow.clean_on_startup = false. But then I got the error - 07:07:27.147 [pool-3-thread-1] ERROR - Cannot register the intent CondMultiply, the intent already exists. CondMultiply is an intent. I am getting this for many other intents.

gdaniel commented 4 years ago

Indeed you need to set xatkit.dialogflow.clean_on_startup = false for the (quick) fix I mention above. As you noticed Xatkit will log an error for every intent that is already registered, but it should move to the unregistered intents at some point. Can you provide the error log you get with this configuration?

smishy05 commented 4 years ago

Thanks for your reply. The bot is running now. But I am still getting these errors.

Xatkit classpath:
/home/shailesh1998/xatkit/build/examples/WeatherBot/lib/xatkit-rest-runtime-2.0.0-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/examples/community/Twitter/CanYouTweet/lib/xatkit-twitter-runtime-1.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/examples/GitHubBots/GithubBot/lib/xatkit-github-runtime-2.1.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-github-platform/xatkit-github-runtime-3.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-chat-platform/xatkit-chat-runtime-3.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-slack-platform/xatkit-slack-runtime-3.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-log-platform/xatkit-log-runtime-3.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-core-platform/xatkit-core-runtime-3.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-react-platform/xatkit-react-runtime-4.0.1-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-rest-platform/xatkit-rest-runtime-2.0.0-SNAPSHOT.jar
/home/shailesh1998/xatkit/build/bin/xatkit-nodep-jar-with-dependencies.jar
java -Dfile.encoding=UTF-8 -cp '/home/shailesh1998/xatkit/build/examples/WeatherBot/lib/xatkit-rest-runtime-2.0.0-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/examples/community/Twitter/CanYouTweet/lib/xatkit-twitter-runtime-1.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/examples/GitHubBots/GithubBot/lib/xatkit-github-runtime-2.1.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-github-platform/xatkit-github-runtime-3.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-chat-platform/xatkit-chat-runtime-3.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-slack-platform/xatkit-slack-runtime-3.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-log-platform/xatkit-log-runtime-3.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-core-platform/xatkit-core-runtime-3.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-react-platform/xatkit-react-runtime-4.0.1-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/plugins/platforms/xatkit-rest-platform/xatkit-rest-runtime-2.0.0-SNAPSHOT.jar:/home/shailesh1998/xatkit/build/bin/xatkit-nodep-jar-with-dependencies.jar' com.xatkit.Xatkit '../projects/SC_MDE/SC_MDE.properties'
15:46:57.581 [pool-3-thread-1] INFO   - Starting Xatkit with the configuration file ../projects/SC_MDE/SC_MDE.properties
15:46:59.083 [pool-3-thread-1] INFO   - Loading Xatkit core libraries
15:46:59.178 [pool-3-thread-1] INFO   -     CoreLibrary loaded
15:46:59.178 [pool-3-thread-1] INFO   - Loading Xatkit core platforms
15:46:59.409 [pool-3-thread-1] INFO   -     GithubPlatform loaded
15:46:59.412 [pool-3-thread-1] INFO   -     ChatPlatform loaded
15:46:59.419 [pool-3-thread-1] INFO   -     SlackPlatform loaded
15:46:59.421 [pool-3-thread-1] INFO   -     LogPlatform loaded
15:46:59.424 [pool-3-thread-1] INFO   -     CorePlatform loaded
15:46:59.428 [pool-3-thread-1] INFO   -     ReactPlatform loaded
15:46:59.437 [pool-3-thread-1] INFO   -     RestPlatform loaded
15:46:59.437 [pool-3-thread-1] INFO   - Loading Xatkit custom libraries
15:46:59.448 [pool-3-thread-1] INFO   -     SC_MDE loaded
15:46:59.450 [pool-3-thread-1] INFO   - Loading Xatkit custom platforms
15:46:59.582 [main] WARN  org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory - --- xtext.common.types ---------------------------------------------------
15:46:59.583 [main] WARN  org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory - ASM library is not available. Falling back to java.lang.reflect API.
15:46:59.583 [main] WARN  org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory - Please note that no information about compile time constants is available.
15:46:59.583 [main] WARN  org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory - It's recommended to use org.objectweb.asm 5.0.1 or better (Maven group id: org.ow2.asm).
15:46:59.583 [main] WARN  org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory - --------------------------------------------------------------------------
15:47:00.522 [pool-3-thread-1] INFO   - Starting intent recognition monitoring
15:47:00.677 [pool-3-thread-1] INFO   - Registered REST handler  at URI /analytics/monitoring (method=GET)
15:47:00.677 [pool-3-thread-1] INFO   - Registered REST handler  at URI /analytics/monitoring/session (method=GET)
15:47:00.677 [pool-3-thread-1] INFO   - Registered REST handler  at URI /analytics/monitoring/unmatched (method=GET)
15:47:00.677 [pool-3-thread-1] INFO   - Registered REST handler  at URI /analytics/monitoring/matched (method=GET)
15:47:00.678 [pool-3-thread-1] INFO   - Registered REST handler  at URI /analytics/monitoring/sessions/stats (method=GET)
15:47:00.683 [pool-3-thread-1] INFO   - Starting DialogFlow Client
15:47:00.692 [pool-3-thread-1] INFO   - Loading Google Credentials file /home/shailesh1998/xatkit/build/projects/SC_MDE_JSON/sc-mde-nymmpx-a9a2e4554f0e.json
15:47:01.186 [pool-3-thread-1] INFO   - Loading Intents previously registered in the DialogFlow project sc-mde-nymmpx
15:47:03.148 [pool-3-thread-1] INFO   - Loading Entities previously registered in the DialogFlow project sc-mde-nymmpx
15:47:04.572 [pool-3-thread-1] INFO   - Loading RuntimePlatform for ReactPlatform
15:47:04.573 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.ReactPlatform
15:47:04.575 [pool-3-thread-1] INFO   - Constructing ReactPlatform with parameters (com.xatkit.core.XatkitCore@389fad5b,org.apache.commons.configuration2.PropertiesConfiguration@5d72da0b)
15:47:04.710 [main] INFO  com.corundumstudio.socketio.SocketIOServer - Session store / pubsub factory used: MemoryStoreFactory (local session store only)
15:47:04.798 [pool-3-thread-1] INFO   - Registered REST handler  at URI /admin (method=GET)
15:47:04.798 [pool-3-thread-1] INFO   - Registered REST handler  at URI /admin/css/xatkit.css (method=GET)
15:47:04.798 [pool-3-thread-1] INFO   - Registered REST handler  at URI /admin/js/xatkit.js (method=GET)
15:47:04.799 [pool-3-thread-1] INFO   - Starting ReactIntentProvider
15:47:04.799 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.io.ReactIntentProvider
15:47:04.799 [nioEventLoopGroup-2-1] INFO  com.corundumstudio.socketio.SocketIOServer - SocketIO server started at port: 5001
15:47:04.800 [pool-3-thread-1] INFO   - Constructing ReactIntentProvider with parameters (*ReactPlatform,org.apache.commons.configuration2.PropertiesConfiguration@5d72da0b)
15:47:04.803 [pool-3-thread-1] INFO   - Starting RuntimeEventProvider ReactIntentProvider
15:47:04.803 [pool-3-thread-1] INFO   - Registering execution rule events
15:47:04.815 [pool-3-thread-1] ERROR  - Cannot register the intent AddRHS2, the intent already exists
15:47:04.816 [pool-3-thread-1] ERROR  - Cannot register the intent CondDivRHS2, the intent already exists
15:47:04.816 [pool-3-thread-1] ERROR  - Cannot register the intent StatementForCondition, the intent already exists
15:47:04.816 [pool-3-thread-1] ERROR  - Cannot register the intent CondMultiply, the intent already exists
15:47:04.816 [pool-3-thread-1] ERROR  - Cannot register the intent DivRHS2, the intent already exists
15:47:04.816 [pool-3-thread-1] ERROR  - Cannot register the intent CondDecVar, the intent already exists
15:47:04.816 [pool-3-thread-1] ERROR  - Cannot register the intent IncVar, the intent already exists
15:47:04.817 [pool-3-thread-1] ERROR  - Cannot register the intent CondAddRHS2, the intent already exists
15:47:04.817 [pool-3-thread-1] ERROR  - Cannot register the intent noContract, the intent already exists
15:47:04.817 [pool-3-thread-1] ERROR  - Cannot register the intent Function, the intent already exists
15:47:04.817 [pool-3-thread-1] ERROR  - Cannot register the intent CondIncVar, the intent already exists
15:47:04.817 [pool-3-thread-1] ERROR  - Cannot register the intent CondDivide, the intent already exists
15:47:04.817 [pool-3-thread-1] ERROR  - Cannot register the intent Done, the intent already exists
15:47:04.817 [pool-3-thread-1] ERROR  - Cannot register the intent CondDecrease, the intent already exists
15:47:04.818 [pool-3-thread-1] ERROR  - Cannot register the intent CondDecVal, the intent already exists
15:47:04.818 [pool-3-thread-1] ERROR  - Cannot register the intent AddLHS, the intent already exists
15:47:04.818 [pool-3-thread-1] ERROR  - Cannot register the intent createContract, the intent already exists
15:47:04.818 [pool-3-thread-1] ERROR  - Cannot register the intent Subtract, the intent already exists
15:47:04.818 [pool-3-thread-1] ERROR  - Cannot register the intent CondMulLHS, the intent already exists
15:47:04.818 [pool-3-thread-1] ERROR  - Cannot register the intent SomethingElse, the intent already exists
15:47:04.819 [pool-3-thread-1] ERROR  - Cannot register the intent DecVar, the intent already exists
15:47:04.819 [pool-3-thread-1] ERROR  - Cannot register the intent CondMulRHS1, the intent already exists
15:47:04.819 [pool-3-thread-1] ERROR  - Cannot register the intent Condition, the intent already exists
15:47:04.819 [pool-3-thread-1] ERROR  - Cannot register the intent AsLHS, the intent already exists
15:47:04.819 [pool-3-thread-1] ERROR  - Cannot register the intent PostCondition, the intent already exists
15:47:04.820 [pool-3-thread-1] ERROR  - Cannot register the intent SubRHS1, the intent already exists
15:47:04.820 [pool-3-thread-1] ERROR  - Cannot register the intent CondIncVal, the intent already exists
15:47:04.820 [pool-3-thread-1] ERROR  - Cannot register the intent CondSomethingElse, the intent already exists
15:47:04.820 [pool-3-thread-1] ERROR  - Cannot register the intent Solidity, the intent already exists
15:47:04.820 [pool-3-thread-1] ERROR  - Cannot register the intent PName, the intent already exists
15:47:04.820 [pool-3-thread-1] ERROR  - Cannot register the intent FName, the intent already exists
15:47:04.820 [pool-3-thread-1] ERROR  - Cannot register the intent DecVal, the intent already exists
15:47:04.821 [pool-3-thread-1] ERROR  - Cannot register the intent CondAdd, the intent already exists
15:47:04.821 [pool-3-thread-1] ERROR  - Cannot register the intent MA, the intent already exists
15:47:04.821 [pool-3-thread-1] ERROR  - Cannot register the intent DivLHS, the intent already exists
15:47:05.481 [pool-3-thread-1] ERROR  - Cannot register the intent Function_Condition, the intent already exists
15:47:05.481 [pool-3-thread-1] ERROR  - Cannot register the intent Increase, the intent already exists
15:47:05.482 [pool-3-thread-1] ERROR  - Cannot register the intent CondAssign, the intent already exists
15:47:05.482 [pool-3-thread-1] ERROR  - Cannot register the intent CondSubRHS2, the intent already exists
15:47:05.482 [pool-3-thread-1] ERROR  - Cannot register the intent CondDivLHS, the intent already exists
15:47:05.482 [pool-3-thread-1] ERROR  - Cannot register the intent SubLHS, the intent already exists
15:47:05.483 [pool-3-thread-1] ERROR  - Cannot register the intent Decrease, the intent already exists
15:47:06.090 [pool-3-thread-1] ERROR  - Cannot register the intent Function_Statements, the intent already exists
15:47:06.091 [pool-3-thread-1] ERROR  - Cannot register the intent CondAsRHS, the intent already exists
15:47:06.092 [pool-3-thread-1] ERROR  - Cannot register the intent HF, the intent already exists
15:47:06.092 [pool-3-thread-1] ERROR  - Cannot register the intent MulRHS2, the intent already exists
15:47:06.093 [pool-3-thread-1] ERROR  - Cannot register the intent CondSubRHS1, the intent already exists
15:47:06.093 [pool-3-thread-1] ERROR  - Cannot register the intent CondIncrease, the intent already exists
15:47:06.094 [pool-3-thread-1] ERROR  - Cannot register the intent CondSubLHS, the intent already exists
15:47:06.094 [pool-3-thread-1] ERROR  - Cannot register the intent CondMulRHS2, the intent already exists
15:47:06.729 [pool-3-thread-1] ERROR  - Cannot register the intent Arg_Type, the intent already exists
15:47:07.205 [pool-3-thread-1] ERROR  - Cannot register the intent Function_Args, the intent already exists
15:47:07.206 [pool-3-thread-1] ERROR  - Cannot register the intent CondSEInput, the intent already exists
15:47:07.207 [pool-3-thread-1] ERROR  - Cannot register the intent SCName, the intent already exists
15:47:07.207 [pool-3-thread-1] ERROR  - Cannot register the intent Assign, the intent already exists
15:47:07.208 [pool-3-thread-1] ERROR  - Cannot register the intent AddRHS1, the intent already exists
15:47:07.208 [pool-3-thread-1] ERROR  - Cannot register the intent AsRHS, the intent already exists
15:47:07.208 [pool-3-thread-1] ERROR  - Cannot register the intent PreCondition, the intent already exists
15:47:08.034 [pool-3-thread-1] ERROR  - Cannot register the intent Function_Done, the intent already exists
15:47:08.035 [pool-3-thread-1] ERROR  - Cannot register the intent CondAsLHS, the intent already exists
15:47:08.551 [pool-3-thread-1] ERROR  - Cannot register the intent Asset_Var, the intent already exists
15:47:08.552 [pool-3-thread-1] ERROR  - Cannot register the intent DivRHS1, the intent already exists
15:47:08.552 [pool-3-thread-1] ERROR  - Cannot register the intent CondAddLHS, the intent already exists
15:47:08.553 [pool-3-thread-1] ERROR  - Cannot register the intent SubRHS2, the intent already exists
15:47:08.553 [pool-3-thread-1] ERROR  - Cannot register the intent CondSubtract, the intent already exists
15:47:08.553 [pool-3-thread-1] ERROR  - Cannot register the intent AName, the intent already exists
15:47:08.554 [pool-3-thread-1] ERROR  - Cannot register the intent Add, the intent already exists
15:47:08.554 [pool-3-thread-1] ERROR  - Cannot register the intent AVarType, the intent already exists
15:47:08.554 [pool-3-thread-1] ERROR  - Cannot register the intent CondAddRHS1, the intent already exists
15:47:08.555 [pool-3-thread-1] ERROR  - Cannot register the intent Divide, the intent already exists
15:47:08.555 [pool-3-thread-1] ERROR  - Cannot register the intent Asset, the intent already exists
15:47:08.556 [pool-3-thread-1] ERROR  - Cannot register the intent Multiply, the intent already exists
15:47:08.556 [pool-3-thread-1] ERROR  - Cannot register the intent MulRHS1, the intent already exists
15:47:08.556 [pool-3-thread-1] ERROR  - Cannot register the intent MulLHS, the intent already exists
15:47:08.557 [pool-3-thread-1] ERROR  - Cannot register the intent HC, the intent already exists
15:47:08.557 [pool-3-thread-1] ERROR  - Cannot register the intent ConditionDone, the intent already exists
15:47:08.557 [pool-3-thread-1] ERROR  - Cannot register the intent AVarName, the intent already exists
15:47:09.366 [pool-3-thread-1] ERROR  - Cannot register the intent Arg_Name, the intent already exists
15:47:09.367 [pool-3-thread-1] ERROR  - Cannot register the intent CondDivRHS1, the intent already exists
15:47:09.368 [pool-3-thread-1] ERROR  - Cannot register the intent Greet, the intent already exists
15:47:09.369 [pool-3-thread-1] ERROR  - Cannot register the intent SEInput, the intent already exists
15:47:09.370 [pool-3-thread-1] ERROR  - Cannot register the intent IncVal, the intent already exists
15:47:09.370 [pool-3-thread-1] ERROR  - Cannot register the intent Participant, the intent already exists
15:47:09.979 [pool-3-thread-1] ERROR  - Cannot register the intent Asset_Done, the intent already exists
15:47:09.984 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.action.PostMessage
15:47:09.986 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.action.Reply
15:47:09.987 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.action.ItemizeList
15:47:09.988 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.action.EnumerateList
15:47:09.989 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.action.ReplyFileMessage
15:47:09.990 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.action.ToggleDarkMode
15:47:09.991 [pool-3-thread-1] INFO   - Loading class com.xatkit.plugins.react.platform.action.Wait
15:47:10.011 [pool-3-thread-1] INFO   - Starting XatkitServer
15:47:10.014 [pool-3-thread-1] INFO   - XatkitServer started, listening on 0.0.0.0/0.0.0.0:5,000
15:47:10.014 [pool-3-thread-1] INFO   - Xatkit bot started

Eager to hear from you!

gdaniel commented 4 years ago

Glad your bot is running now!

Indeed the logs are misleading, we should probably log it as a warning, especially when clean_on_startup = false. I have opened an issue for it: https://github.com/xatkit-bot-platform/xatkit-runtime/issues/300