roukaour / alliance-p2p

Automatically exported from code.google.com/p/alliance-p2p
0 stars 0 forks source link

problem with creating/accepting codes #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.on Windows 7: updated Java to version 7. After that not possible anymore to 
create codes or accept offered codes from friends. Went back to Java 6.35, 
problem still excists.
2.on Windows 2000: installed new Alliance v1.3.0 with old Java 6.31. To test 
new Alliance.
possible to create codes but not able to accept any. Created codes can not be 
accepted by friends either.
3.

What is the expected output? What do you see instead?

Trying to connect Windows 7 pc Alliance 1.2.0 to Windows 2000 pc Alliance 
1.3.0. 
Purpose: testing new Alliance 1.3.0 on Windows 2000, before installing it on 
Win7.

creating code on Win2000 and so trying to connect from Win7 gives next error 
log on Windows 7:

11:34 20120924 Error for null (InvitationConnection) (/78.21.51.135:2483): null 
(InvitationConnection): 
11:34 20120924 java.io.IOException: null (InvitationConnection) ended 
prematurely - remote probably does not have you as friend.
    at org.alliance.core.comm.networklayers.tcpnio.TCPNIONetworkLayer.handleRead(TCPNIONetworkLayer.java:392)
    at org.alliance.core.comm.networklayers.tcpnio.TCPNIONetworkLayer.run(TCPNIONetworkLayer.java:233)
    at java.lang.Thread.run(Unknown Source)
11:34 20120924 Error for null: 
11:34 20120924 java.io.FileNotFoundException: 
http://maciek.tv/porttest?port=33049
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at org.alliance.ui.addfriendwizard.AddFriendWizard.getResponseFromURL(AddFriendWizard.java:223)
    at org.alliance.ui.addfriendwizard.AddFriendWizard.access$100(AddFriendWizard.java:39)
    at org.alliance.ui.addfriendwizard.AddFriendWizard$3.run(AddFriendWizard.java:177)
    at java.lang.Thread.run(Unknown Source)

and error log for this action, on Win2000:

11:35 20120924 Error for null (InvitationConnection) (/192.168.2.1:50876): null 
(InvitationConnection): 
11:35 20120924 java.nio.BufferUnderflowException
    at java.nio.DirectByteBuffer.get(Unknown Source)
    at java.nio.ByteBuffer.get(Unknown Source)
    at org.alliance.core.comm.networklayers.tcpnio.NIOPacket.readArray(NIOPacket.java:105)
    at org.alliance.core.comm.Packet.readUTF(Packet.java:149)
    at org.alliance.core.comm.InvitationConnection.packetReceived(InvitationConnection.java:111)
    at org.alliance.core.comm.PacketConnection.received(PacketConnection.java:140)
    at org.alliance.core.comm.PacketConnection.received(PacketConnection.java:159)
    at org.alliance.core.crypto.cryptolayers.BufferedCryptoLayer.received(BufferedCryptoLayer.java:154)
    at org.alliance.core.comm.NetworkManager.received(NetworkManager.java:333)
    at org.alliance.core.comm.networklayers.tcpnio.TCPNIONetworkLayer.handleRead(TCPNIONetworkLayer.java:412)
    at org.alliance.core.comm.networklayers.tcpnio.TCPNIONetworkLayer.run(TCPNIONetworkLayer.java:233)
    at java.lang.Thread.run(Unknown Source)

What version of the product are you using? On what operating system?

Windows 7, Intel I7 860 CPU, 8G Ram, Alliance 1.2.0
Windows 2000 SP4, P4 2.6 CPU, 1g Ram, Alliance 1.3.0

Please provide any additional information below.

On Windows 7, when trying to create code, Alliance hangs on "please wait while 
your internet connection is being tested"
maybe port check failure?

Original issue reported on code.google.com by a195...@gmail.com on 24 Sep 2012 at 9:53

GoogleCodeExporter commented 9 years ago
I am also unable to generate buddy codes in 1.3 using java 1.7.11   this is 
getting old many combinations of java and alliance i have tried and not many 
work.

Original comment by damonbay...@gmail.com on 16 Jan 2013 at 1:50