(07-17-2014, 11:52 AM)sum2012 Wrote: This is @onelight build of @AdamN Android version
https://drive.google.com/file/d/0B3OaSde...sp=sharing
test in METAL SLUG XX:connection error
Android host:
ip:192.168.0.101
mac:a5:2b:99:74:77:_d6
Windows join:
ip:192.168.0.150
mac:85:93:c6:c5:f5:e5
Not sure this problem in Android log
Code:
07-17 20:31:25.625: W/System.err(3974): javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
07-17 20:31:25.625: W/System.err(3974): at com.android.org.conscrypt.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:146)
07-17 20:31:25.625: W/System.err(3974): at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93)
07-17 20:31:25.625: W/System.err(3974): at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:388)
07-17 20:31:25.625: W/System.err(3974): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
07-17 20:31:25.625: W/System.err(3974): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
07-17 20:31:25.625: W/System.err(3974): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
07-17 20:31:25.625: W/System.err(3974): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
07-17 20:31:25.625: W/System.err(3974): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
07-17 20:31:25.625: W/System.err(3974): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
07-17 20:31:25.625: W/System.err(3974): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
07-17 20:31:25.625: W/System.err(3974): at com.togic.livevideo.c.g.c(SSLConnector.java:140)
07-17 20:31:25.625: W/System.err(3974): at com.togic.livevideo.c.g.a(SSLConnector.java:95)
07-17 20:31:25.625: W/System.err(3974): at com.togic.livevideo.c.h.a(SSLToken.java:129)
07-17 20:31:25.625: W/System.err(3974): at com.togic.livevideo.c.h.c(SSLToken.java:213)
07-17 20:31:25.625: W/System.err(3974): at com.togic.remote.d.a.a(AbstractHttpApi.java:315)
07-17 20:31:25.625: W/System.err(3974): at com.togic.remote.d.a.b(AbstractHttpApi.java:285)
07-17 20:31:25.635: W/System.err(3974): at com.togic.launcher.b.a.a(ServerApi.java:102)
07-17 20:31:25.635: W/System.err(3974): at com.togic.launcher.util.l.a(XmlParser.java:218)
07-17 20:31:25.635: W/System.err(3974): at com.togic.launcher.a.f.a(MetroManager.java:417)
07-17 20:31:25.635: W/System.err(3974): at com.togic.launcher.a.f$a.handleMessage(MetroManager.java:680)
07-17 20:31:25.635: W/System.err(3974): at android.os.Handler.dispatchMessage(Handler.java:102)
07-17 20:31:25.635: W/System.err(3974): at android.os.Looper.loop(Looper.java:136)
07-17 20:31:25.635: W/System.err(3974): at android.os.HandlerThread.run(HandlerThread.java:61)
07-17 20:31:25.645: W/BackupManagerService(767): dataChanged but no participant pkg='com.android.providers.settings' uid=10131
07-17 20:31:25.875: V/ServerApi(3974): statusCode is 304
Which one shows the connection error first (host or join)?
When is this connection error occured (after joining/after starting/accepting)?
I didn't see any logs related to EventLoop/InputLoop in the Android/Host (other than Begin and End) so it seems nobody is trying to join the host yet,
when someone try to join there should be logs from InputLoop and EventLoop about it
The logs in Windows/Join is also strange, it's receiving data from Unknown peer, which mean that the host is not in the friendlist yet, if it's in friendlist there should be logs from FriendFinder about "Incoming Peer Data" (after sceNetAdhocctlCreate), but i didn't see any log from FriendFinder O.o which mean both the host and join were failed to join the group from Windows perspective, while they're successfully joined a group from Android perspective
After a player joined to a group in adhoc server there should be this lines in the log:
Code:
sceNetAdhocctlInit <-- attempting to connect to adhoc server
sceNetAdhocctlCreate <-- attempting to create/join a group
Received 7 Bytes of Data from Adhoc Server <-- receiving data of newly joined player (usually it self when the first time joining a group)
FriendFinder: Incoming OPCODE_CONNECT_BSSID <-- notification to the game about new player (including it self)
The issue seems to be on Windows side where it failed to receive data from adhoc server
Have you tried using adhoc server in PC instead of android?
Do you have the same issue when playing on the same computer with another computer (PC vs PC) ?
PPSSPP Multiplayer Guide: https://github.com/hrydgard/ppsspp/wiki/How-to-play-multiplayer-games-with-PPSSPP