Server log error messages

0 votes

Hi we setup AppWarpS2 server and having the following log error messages:

Closing session (0x000000AA: nio socket, server, /79.67.42.238:57808 => /172.17.136.160:12346)
2016-04-21 18:05:09,966 - WARNING: exceptionCaught cause null remote /79.67.42.238:57808
2016-04-21 18:12:06,739 - WARNING: Error in loading license from server java.lang.Exception: no key in AppConfig.json
2016-04-21 18:12:06,743 - WARNING: Running with 500 CCU limit
2016-04-21 18:24:56,078 - WARNING: Error in loading license from server java.lang.Exception: no key in AppConfig.json
2016-04-21 18:24:56,081 - WARNING: Running with 500 CCU limit
2016-04-21 18:29:16,936 - WARNING: Error in loading license from server java.lang.Exception: no key in AppConfig.json
2016-04-21 18:29:16,944 - WARNING: Running with 500 CCU limit
2016-04-21 18:35:04,164 - WARNING: Error in loading license from server java.lang.Exception: no key in AppConfig.json
2016-04-21 18:35:04,170 - WARNING: Running with 500 CCU limit
2016-04-21 18:44:42,581 - WARNING: Error in loading license from server java.lang.Exception: no key in AppConfig.json
2016-04-21 18:44:42,588 - WARNING: Running with 500 CCU limit
2016-04-21 19:02:27,875 - WARNING: Adaptor rejected Player2
2016-04-26 13:42:43,786 - WARNING: Error in loading license from server java.lang.Exception: no key in AppConfig.json
2016-04-26 13:42:43,808 - WARNING: Running with 500 CCU limit
2016-04-26 19:09:14,894 - ERROR: Exception in message received: java.lang.Exception: Invalid request type 73
	at com.shephertz.app42.server.handler.WarpProtocolHandler.messageReceived(WarpProtocolHandler.java:175)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$5(DefaultIoFilterChain.java:413)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
	at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:407)
	at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:236)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$5(DefaultIoFilterChain.java:413)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
	at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:407)
	at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:236)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$5(DefaultIoFilterChain.java:413)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
	at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
	at org.apache.mina.filter.logging.MdcInjectionFilter.filter(MdcInjectionFilter.java:135)
	at org.apache.mina.filter.util.CommonEventFilter.messageReceived(CommonEventFilter.java:70)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$5(DefaultIoFilterChain.java:413)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
	at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:410)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:710)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:664)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:653)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$10(AbstractPollingIoProcessor.java:650)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1124)
	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)
 
Closing session (0x0000000F: nio socket, server, /82.9.88.96:50211 => /172.17.136.160:12346)
2016-04-26 19:30:20,314 - WARNING: Failed Auth. Zone for 077c5a7a-8c1f-4e09-b does not exist
2016-04-26 20:14:28,788 - WARNING: Error in loading license from server java.lang.Exception: no key in AppConfig.json
2016-04-26 20:14:28,796 - WARNING: Running with 500 CCU limit

and the following in other server logs:

2016-04-21 18:33:57,802 - WARNING: exceptionCaught cause com.shephertz.app42.server.idomain.BaseRoomAdaptor cannot be cast to quizserver.QuizRoomAdaptor remote /79.67.42.238:59950
2016-04-21 18:34:08,917 - WARNING: exceptionCaught cause com.shephertz.app42.server.idomain.BaseRoomAdaptor cannot be cast to quizserver.QuizRoomAdaptor remote /79.67.42.238:42287
2016-04-21 18:39:18,241 - ERROR: Error in getLockProperties java.lang.NullPointerException
2016-04-21 18:39:21,505 - WARNING: exceptionCaught cause com.shephertz.app42.server.idomain.BaseRoomAdaptor cannot be cast to quizserver.QuizRoomAdaptor remote /79.67.42.238:60414
2016-04-21 18:47:02,653 - ERROR: Error in getLockProperties java.lang.NullPointerException
2016-04-21 18:47:15,025 - ERROR: Error in getLockProperties java.lang.NullPointerException
2016-04-21 18:47:30,782 - WARNING: exceptionCaught cause Connection reset by peer remote /79.67.42.238:61060
2016-04-21 18:49:20,032 - ERROR: Error in getLockProperties java.lang.NullPointerException
2016-04-21 18:49:26,940 - ERROR: Error in getLockProperties java.lang.NullPointerException
2016-04-21 18:49:45,772 - WARNING: exceptionCaught cause Connection reset by peer remote /79.67.42.238:61239
2016-04-21 18:49:45,773 - WARNING: exceptionCaught cause com.shephertz.app42.server.idomain.BaseRoomAdaptor cannot be cast to quizserver.QuizRoomAdaptor remote /79.67.42.238:61239
2016-04-21 19:02:39,568 - ERROR: Error in getLockProperties java.lang.NullPointerException
2016-04-21 19:04:30,981 - WARNING: exceptionCaught cause Connection reset by peer remote /79.67.42.238:62321
2016-04-26 16:48:54,704 - ERROR: Error in getLockProperties java.lang.NullPointerException

We not sure why session closing and BaseRoomAdapter cast error? Please help?

 

Thanks

asked Apr 26, 2016 in AppWarpS2 by willrox1 (10 points)
recategorized Apr 27, 2016 by shepAdmin

1 Answer

0 votes

Hi Willrox,

Could you please let me know which AppWarpS2 client you are using? Also, make sure you have downloaded the AppWarp Client side SDK from here.

Regards,

Rajeev

answered Apr 27, 2016 by rajeev.etc (1,660 points)
Hi Rajeev, we are using Unity 5.3.4 with the following SDK "AppWarpS2Unity.dll 14-Oct-14".

I tried downloading the SDK from the link you posted earlier "AppWarpS2Unity_1.0.8.dll" but get compile error:
No overload for method 'initialise' takes 2 arguments?

On your documentation page here: http://appwarps2.shephertz.com/dev-center/api-guide/ it states that the initialise method takes 2 arguments. I'm confused why the link you posted above directs me to download a Unity SKD that is not compatable?

Can you help with this?

Thanks
Hi Willrox,

Please use following code snippet to initialise AppWarp Client for S2:

 WarpClient.initialize(appKey,ipAddress,12346);

The last parameter is the port for which you can use 12346.

Please let me know if you have any other queries.

Thanks.
Hi Rajeev, we updated to the SDK you suggested but still getting the following error on the server:

2016-04-28 18:30:30,441 - ERROR: Error in getLockProperties java.lang.NullPointerException
2016-04-28 18:30:37,586 - ERROR: Error in getLockProperties java.lang.NullPointerException
2016-04-28 18:31:31,262 - WARNING: exceptionCaught cause com.shephertz.app42.server.idomain.BaseRoomAdaptor cannot be cast to quizserver.QuizRoomAdaptor remote /82.9.88.96:53636

The server isn't boradcasting question data to the clients, and sometimes according to the dashboard the two players are constantly stuck in the quiz room. When I run the same server locally everything works fine and question data is broadcast to the clients!

Help please??
Hi rajeev, any chance you could help with this?

Another thing we were kindly given a trial period by your sales team and been unable to get the server running because of this error, we would like to subscribe if you can help get it working?
Hi Willrox,

Could you please share your client side scripts for AppWarp APIs? You can share the same on support@shephertz.com. It will help us to find debug the problem. Meanwhile, I am trying to debug the same at my end.

Thanks.
Hi Rajeev,

I've uploaded the scripts requested to the following link:

https://drive.google.com/open?id=0B4Bsv8ZwY2eIdzBuekNVd3hoRFE

Thanks,

W
Hi Rajeev, any news regarding this problem?
Hi Will,

I have sent you a mail from support. Please let me know your availability for Skype call so that we can fix this issue asap.

Thanks.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...