Getting Log error for Android - Demo-Realtime project

Hi,

i am getting Log error for Android - Demo-Realtime project.

I pasted the error log below.. How do i solve this.

if you have solution, reply me.. as soon as you got..

4000: 18:24:20.228 - CENetThreadPool::Process - Exception - CENetPeerBase::HandleIncomingCommands() - CENetPeer::NotifyReceive()- Unexpected message type: 5 PeerId: 0 Datagram: 00 00 00 04 00 00 01 28 16 6C 42 CF 01 00 00 04 00 00 00 14 00 00 00 00 00 00 00 02 0F B4 F4 70 01 00 00 04 00 00 00 14 00 00 00 00 00 00 00 03 0F B4 F4 70 06 00 01 04 00 00 00 7F 00 00 00 03 F1 00 00 00 75 05 00 00 02 01 78 00 00 00 61 00 FD B2 92 D6 EF CE 04 A4 0E 68 D2 51 04 24 61 F3 E5 7B D9 12 81 D1 B1 F4 7F 00 A1 AB 81 E9 30 E6 B0 FE BD 62 C7 73 37 9D B9 1F 14 B5 2A E1 9C D2 2B CA F5 76 89 7B 51 43 15 20 82 B5 C9 A4 8F 60 29 44 37 6C 5F ED D7 23 D4 7A 55 6B 58 75 C9 F1 19 66 7D B3 EE C3 19 2F 0A EA 5B 07 C4 FD FB 2B FB 62 01 06 00 01 04 00 00 00 35 00 00 00 04 F1 00 00 00 2B 02 FD 00 04 F4 62 68 F5 68 00 02 62 2F 73 00 07 41 6E 64 72 6F 69 64 62 30 69 FF 22 22 FF F6 62 01 F7 62 02 - .......(.lB....................p...................p................u.....x...a..........h.Q.$a..{............0....b.s7.....*...+..v.{QC. .....`)D7l_..#.zUkXu...f}..../..[....+.b........5........+.....bh.h..b/s..Androidb0i.""..b..b. from: 192.168.86.99:1362 on: 192.168.86.99:5055

truly,
Ramesh

Comments

  • Huh.
    Can you please check first that you are not accessing the Peer from multiple threads? Then please raise the level of debug out on the client side and attach it to a post here.
    It's also interesting what you tried to send when this happens. Does it happen all the time or rarely?
  • Hi,

    below message i got from client when connecting with Photon server 3.

    03-19 12:27:48.316: DEBUG/CLIENT(602): Send CT_SENDRELIABLE(seq=2, channel=0)
    03-19 12:27:48.386: DEBUG/CLIENT(602): OnOperationResponse() -1/0
    03-19 12:27:48.386: DEBUG/CLIENT(602): Join request: de.exitgames.client.photon.TypedHashMap@4054bbe0
    03-19 12:27:48.386: DEBUG/CLIENT(602): Local Player ID: 1
    03-19 12:27:48.386: DEBUG/CLIENT(602): OnEvent() -1 = de.exitgames.client.photon.TypedHashMap@4054c520
    03-19 12:27:48.436: DEBUG/CLIENT(602): Send CT_SENDRELIABLE(seq=3, channel=0)
    03-19 12:27:48.436: DEBUG/CLIENT(602): Send CT_SENDRELIABLE(seq=4, channel=0)
    03-19 12:27:48.446: DEBUG/CLIENT(602): PeerStatusCallback: DisconnectByServer

    any other logs you need.. ?
  • This does not show what the error is, sorry.

    In the debug out, you could add the Thread ID, to make sure that only one Thread is accessing your peer.
    Also, you could let us know which data you are sending.