CSEMike / OneSwarm

Privacy preserving peer-to-peer data sharing
http://csemike.github.com/OneSwarm
197 stars 35 forks source link

downloading files doesn't work #49

Open jxym555 opened 13 years ago

jxym555 commented 13 years ago

I installed oneswarm in some clean computers. All of them can run and adding friends. The searching function was working well too. But, some of the computers can't download files while it has friends who were seeding these files. The downloading persent was always 0. Hope someone can solve this problem. Thanks Here's the error.log

2011-10-8 9:52:38 com.aelitis.azureus.core.networkmanager.impl.MultiPeerUploader ????????: OneSwarm MultiPeerUploader created 2011-10-8 9:52:38 com.aelitis.azureus.core.networkmanager.impl.MultiPeerUploader ????????: OneSwarm MultiPeerUploader created 2011-10-8 9:52:38 com.aelitis.azureus.core.networkmanager.impl.MultiPeerUploader ????????: OneSwarm MultiPeerUploader created 2011-10-8 9:52:38 com.aelitis.azureus.core.networkmanager.impl.MultiPeerUploader ????????: OneSwarm MultiPeerUploader created Loading friend-to-friend plugin OSF2FMain: loading log settings. cwd: C:\Program Files\OneSwarm. OSF2FMain: 1318038760812 ms:: init started OSF2FMain: 0 ms:: in synchronized block OSF2FMain: 0 ms:: getting global manager stats OSF2FMain: 0 ms:: getting own public key OneSwarmSslKeyManager: 0 ms:: OneSwarmSslKeyManager() OneSwarmSslKeyManager: 0 ms:: creating key store instance OneSwarmSslKeyManager: 0 ms:: loding key OneSwarmSslKeyManager: 15 ms:: loaded key store OneSwarmSslKeyManager: 93 ms:: loaded ssl context OneSwarmSslKeyManager: 93 ms:: done with ssl loading OSF2FMain: 93 ms:: creating friend manager OSF2FMain: 640 ms:: loading permissions manager 2011-10-8 9:52:41 edu.washington.cs.oneswarm.f2f.permissions.PermissionsDAO load_groups ????????: loading groups (v2) OSF2FMain: 656 ms:: creating invitation manager OSF2FMain: 687 ms:: creating file list manager OSF2FMain: 750 ms:: creating overlaymanager 2011-10-8 9:52:41 edu.washington.cs.oneswarm.f2f.network.QueueManager ????????: ** Bound on MAX_QUEUE_FRACTION_PER_FRIEND * MAX_GLOBAL_QUEUE_LEN_BYTES: 262288.0 2011-10-8 9:52:41 edu.washington.cs.oneswarm.f2f.FileListManager generateOwnLists ????????: created own file list: num swarms=0 time=141 f2f_search_fwd_p: 0.949999988079071 OSF2FMain: 1140 ms:: starting protocol matcher thread) OSF2FMain: 1140 ms:: Protocol matcher thread started OSF2FMain: 1140 ms:: creating f2f download manager OSF2FMain: 1156 ms:: OS Protocol matcher installed OSF2FMain: 1156 ms:: OS-Auth Protocol matcher installed 2011-10-8 9:52:42 edu.washington.cs.oneswarm.f2f.OSF2FMain logWithTime ????????: 1172 ms:: loading sha1 matcher OSF2FMain: 1172 ms:: loading sha1 matcher OSF2FMain: 1218 ms:: sanity check perms took: 0 2011-10-8 9:52:42 edu.washington.cs.oneswarm.f2f.OSF2FMain logWithTime ????????: 1218 ms:: f2f init done OSF2FMain: 1218 ms:: f2f init done 2011-10-08 09:52:42.281::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2011-10-8 9:52:42 edu.washington.cs.oneswarm.ui.gwt.server.handlers.MultiHandler ????????: initializing 2011-10-8 9:52:42 edu.washington.cs.oneswarm.ui.gwt.server.handlers.MultiHandler initializeServletHandler ????????: initializing UI service impl... logging disabled (no log file: C:\Program Files\OneSwarm\logging.properties) 2011-10-8 9:52:42 edu.washington.cs.oneswarm.ui.gwt.server.PreviewImageGenerator ????????: started preview image generator servlet (PreviewImageGenerator) 2011-10-08 09:52:42.453::INFO: jetty-6.1.x 2011-10-08 09:52:42.500::INFO: Started SelectChannelConnector@127.0.0.1:29615 2011-10-8 9:52:42 edu.washington.cs.oneswarm.ui.gwt.server.community.CommunityServerManager loadCertificateHashes ????????: community_server_hashes file does not exist. 2011-10-8 9:52:42 edu.washington.cs.oneswarm.ui.gwt.server.community.CommunityServerManager$RefreshCommunityServerTask run ????????: Refreshing community server: https://oneswarm-support.appspot.com/ 2011-10-8 9:52:42 edu.washington.cs.oneswarm.ui.gwt.OsgwtuiMain initialize ????????: PlanetLab classes not found -- not running in experimental mode. getting os az mods version: 3.0.5.0.7502 OSF2FMain: 2203 ms:: creating friend connector OSF2FMain: 2297 ms:: crating lan friend finder OSF2FMain: 2312 ms:: friendConnector dependent init completed Checking for updates: AZVersion=0.7.5.0 ModsVersion=3.0.5.0.7502 no update required 2011-10-8 9:52:46 edu.washington.cs.oneswarm.f2f.FileListManager generateOwnLists ????????: created own file list: num swarms=0 time=0 java.net.SocketTimeoutException: connect timed out 2011-10-8 9:52:58 edu.washington.cs.oneswarm.ui.gwt.server.community.KeyPublishOp doOp ????????: Requesting community friend update: https://oneswarm-support.appspot.com/?base64key=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCMFWriR5%2BkwjiMBifE9jxKcNOdB4gVCCqD7ycwRgXY%2BLLZquhLWVKPI2gI8GutE4p0ACeS5ma4VNZHrKVFaKYy1nj0K4kXgFHw5XidaDgF1xWEr1nWfCIWXmwzepsI4OStNYmo7kNxpwsjeHPl12vW%2FvdFBqQxYYl3cNPxJ7LVgQIDAQAB java.net.SocketTimeoutException: connect timed out at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.protocol.https.HttpsClient.(Unknown Source) at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source) at edu.washington.cs.oneswarm.ui.gwt.server.community.CommunityServerOperation.getConnection(CommunityServerOperation.java:483) at edu.washington.cs.oneswarm.ui.gwt.server.community.CommunityServerOperation.getConnection(CommunityServerOperation.java:422) at edu.washington.cs.oneswarm.ui.gwt.server.community.CommunityServerOperation.getConnection(CommunityServerOperation.java:417) at edu.washington.cs.oneswarm.ui.gwt.server.community.CommunityServerOperation.getConnection(CommunityServerOperation.java:413) at edu.washington.cs.oneswarm.ui.gwt.server.community.KeyPublishOp.doOp(KeyPublishOp.java:96) at edu.washington.cs.oneswarm.ui.gwt.server.community.CommunityServerOperation.run(CommunityServerOperation.java:90) at edu.washington.cs.oneswarm.ui.gwt.server.community.CommunityServerManager$RefreshCommunityServerTask.run(CommunityServerManager.java:281) at edu.washington.cs.oneswarm.ui.gwt.server.community.CommunityServerManager.run(CommunityServerManager.java:316) 2011-10-8 9:53:13 edu.washington.cs.oneswarm.ui.gwt.server.community.KeyPublishOp doOp ????????: java.net.SocketTimeoutException: connect timed out 2011-10-8 9:54:29 edu.washington.cs.oneswarm.ui.gwt.server.handlers.MultiHandler putCookie ????????: Adding cookie: YV37PI3WK4CTE5PT4PWMA3WCFZVZBE3G 2011-10-8 9:54:29 edu.washington.cs.oneswarm.ui.gwt.server.handlers.MultiHandler putCookie ????????: Adding cookie: YV37PI3WK4CTE5PT4PWMA3WCFZVZBE3G 2011-10-08 09:55:05.453:/:WARN: edu.washington.cs.oneswarm.ui.gwt.server.OneSwarmUIServiceImpl-19171705: ERROR: The serialization policy file '/oneswarmgwt/4F0E8135130891D05B25AACF11E17EA8.gwt.rpc' was not found; did you forget to include it in this deployment? 2011-10-08 09:55:05.453:/:WARN: edu.washington.cs.oneswarm.ui.gwt.server.OneSwarmUIServiceImpl-19171705: ERROR: The serialization policy file '/oneswarmgwt/4F0E8135130891D05B25AACF11E17EA8.gwt.rpc' was not found; did you forget to include it in this deployment? 2011-10-08 09:55:05.453:/:WARN: edu.washington.cs.oneswarm.ui.gwt.server.OneSwarmUIServiceImpl-19171705: WARNING: Failed to get the SerializationPolicy '4F0E8135130891D05B25AACF11E17EA8' for module 'http://127.0.0.1:29615/oneswarmgwt/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result. 2011-10-08 09:55:05.453:/:WARN: edu.washington.cs.oneswarm.ui.gwt.server.OneSwarmUIServiceImpl-19171705: WARNING: Failed to get the SerializationPolicy '4F0E8135130891D05B25AACF11E17EA8' for module 'http://127.0.0.1:29615/oneswarmgwt/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result. Azureus Update Support 1.8.8 Azureus Update Support 1.8.8 Azureus Updater Support Patcher 1.8.8 Azureus Updater Support Patcher 1.8.8 Start/Stop Rules 1.0 Start/Stop Rules 1.0 Download Remove Rules 1.0 Download Remove Rules 1.0 Share Hoster 1.0 Share Hoster 1.0 Plugin Updater 1.0 Plugin Updater 1.0 Client ID 1.0 Client ID 1.0 Universal Plug and Play (UPnP) 1.0 Universal Plug and Play (UPnP) 1.0 Distributed DB 1.0 Distributed Tracker 1.0 Magnet URI Handler 1.0 Distributed DB 1.0 Core Updater 0.7.5.0 Distributed Tracker 1.0 Core Patcher (level=2) 1.0 Magnet URI Handler 1.0 Platform-Specific Support 1.13 Core Updater 0.7.5.0 External Seed 1.0 Core Patcher (level=2) 1.0 Platform-Specific Support 1.13 LAN Peer Finder 1.0 External Seed 1.0 Network Status 1.0 LAN Peer Finder 1.0 edu.washington.cs.oneswarm.f2f.OSF2FPlugin null Network Status 1.0 edu.washington.cs.oneswarm.ui.gwt.OsgwtuiMain null edu.washington.cs.oneswarm.f2f.OSF2FPlugin null edu.washington.cs.oneswarm.ui.gwt.OsgwtuiMain null DEBUG::Sat Oct 08 09:55:20 CST 2011::edu.washington.cs.oneswarm.f2f.friends.FriendImportManager::checkForNewFriends::89: Friend request check failed: Connection timed out: connect FriendImportManager::access$100::29,FriendImportManager$2::run::69,TimerThread::mainLoop::-1,TimerThread::run::-1 2011-10-8 9:56:11 edu.washington.cs.oneswarm.f2f.FileListManager generateOwnLists ????????: created own file list: num swarms=0 time=0 Azureus Update Support 1.8.8 Azureus Updater Support Patcher 1.8.8 Start/Stop Rules 1.0 Download Remove Rules 1.0 Share Hoster 1.0 Plugin Updater 1.0 Client ID 1.0 Universal Plug and Play (UPnP) 1.0 Distributed DB 1.0 Distributed Tracker 1.0 Magnet URI Handler 1.0 Core Updater 0.7.5.0 Core Patcher (level=2) 1.0 Platform-Specific Support 1.13 External Seed 1.0 LAN Peer Finder 1.0 Network Status 1.0 edu.washington.cs.oneswarm.f2f.OSF2FPlugin null edu.washington.cs.oneswarm.ui.gwt.OsgwtuiMain null 2011-10-8 9:57:29 edu.washington.cs.oneswarm.f2f.network.FriendConnection connectionException ????????: (happy-bce746556): : got exception in OSF2F session (L: 172.16.175.135: 24394/(happy-bce746556)) disconnecting: transport closed (returned -1) (from: java.io.IOException: transport closed (returned -1)) 2011-10-8 9:57:41 edu.washington.cs.oneswarm.f2f.network.SearchManager$RotatingBloomFilter rotate ????????: Rotating bloom filter: objects=0 predicted false positive rate=0.0% 2011-10-8 9:58:06 edu.washington.cs.oneswarm.MetaInfoPruner load_active_hashes ????????: couldn't load metainfo access times! java.io.FileNotFoundException: C:\Documents and Settings\dell\Application Data\OneSwarm\metainfo\accesses.properties (??????????????????????????¨????????????????) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(Unknown Source) at java.io.FileInputStream.(Unknown Source) at edu.washington.cs.oneswarm.MetaInfoPruner.load_active_hashes(MetaInfoPruner.java:53) at edu.washington.cs.oneswarm.MetaInfoPruner.(MetaInfoPruner.java:45) at edu.washington.cs.oneswarm.MetaInfoPruner.(MetaInfoPruner.java:36) at edu.washington.cs.oneswarm.ui.gwt.server.StatelessSwarmFilter$2.friendConnected(StatelessSwarmFilter.java:146) at edu.washington.cs.oneswarm.f2f.network.OverlayManager.notifyConnectionListeners(OverlayManager.java:488) at edu.washington.cs.oneswarm.f2f.network.OverlayManager.access$1000(OverlayManager.java:57) at edu.washington.cs.oneswarm.f2f.network.OverlayManager$FriendConnectionListener.handshakeCompletedFully(OverlayManager.java:771) at edu.washington.cs.oneswarm.f2f.network.FriendConnection$FileListRequestHandler.notifyListenerComplete(FriendConnection.java:1711) at edu.washington.cs.oneswarm.f2f.network.FriendConnection$FileListRequestHandler.handleFileListResponse(FriendConnection.java:1674) at edu.washington.cs.oneswarm.f2f.network.FriendConnection.handleTextSearchReponse(FriendConnection.java:1079) at edu.washington.cs.oneswarm.f2f.network.FriendConnection.access$3100(FriendConnection.java:72) at edu.washington.cs.oneswarm.f2f.network.FriendConnection$IncomingQueueListener.messageReceived(FriendConnection.java:1819) at com.aelitis.azureus.core.networkmanager.impl.IncomingMessageQueueImpl.receiveFromTransport(IncomingMessageQueueImpl.java:137) at com.aelitis.azureus.core.networkmanager.impl.SinglePeerDownloader.doProcessing(SinglePeerDownloader.java:76) at com.aelitis.azureus.core.networkmanager.impl.ReadController.doRead(ReadController.java:293) at com.aelitis.azureus.core.networkmanager.impl.ReadController.doNormalPriorityRead(ReadController.java:247) at com.aelitis.azureus.core.networkmanager.impl.ReadController.readProcessorLoop(ReadController.java:228) at com.aelitis.azureus.core.networkmanager.impl.ReadController.access$200(ReadController.java:43) at com.aelitis.azureus.core.networkmanager.impl.ReadController$2.runSupport(ReadController.java:88) at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:71) DEBUG::Sat Oct 08 09:58:18 CST 2011::com.aelitis.azureus.core.peermanager.piecepicker.impl.PiecePickerImpl::computeBasePriorities::1321: java.lang.ArithmeticException: / by zero at com.aelitis.azureus.core.peermanager.piecepicker.impl.PiecePickerImpl.computeBasePriorities(PiecePickerImpl.java:1255) at com.aelitis.azureus.core.peermanager.piecepicker.impl.PiecePickerImpl.allocateRequests(PiecePickerImpl.java:971) at org.gudy.azureus2.core3.peer.impl.control.PEPeerControlImpl.schedule(PEPeerControlImpl.java:548) at com.aelitis.azureus.core.peermanager.control.impl.PeerControlSchedulerPrioritised$instanceWrapper.schedule(PeerControlSchedulerPrioritised.java:301) at com.aelitis.azureus.core.peermanager.control.impl.PeerControlSchedulerPrioritised.schedule(PeerControlSchedulerPrioritised.java:124) at com.aelitis.azureus.core.peermanager.control.impl.PeerControlSchedulerImpl$1.run(PeerControlSchedulerImpl.java:94) at org.gudy.azureus2.core3.util.AEThread2$threadWrapper.run(AEThread2.java:202)

2011-10-8 9:58:21 edu.washington.cs.oneswarm.f2f.FileListManager generateOwnLists ????????: created own file list: num swarms=0 time=0

jxym555 commented 13 years ago

plus, I used window xp system

jxym555 commented 13 years ago

more detail:

DEBUG::Sat Oct 08 14:38:33 CST 2011::com.aelitis.azureus.core.networkmanager.impl.tcp.TCPConnectionManager$3::compare::133: arghhh, borkage TreeMap::compare::-1,TreeMap::put::-1,TreeSet::add::-1,TCPConnectionManager::requestNewConnection::607,TCPConnectionManager::requestNewConnection::594,TCPTransportImpl::connectOutbound::233,ProtocolEndpointTCP::connectOutbound::100,ConnectionEndpoint::connectOutbound::149,NetworkConnectionImpl::connect::145,FriendConnection::::241,OverlayManager::createOutgoingConnection::193,DHTConnector::connectToFriend::652,LanFriendFinder$FriendFinderListener::run::512,Thread::run::-1 javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at sun.security.ssl.EngineInputRecord.bytesInCompletePacket(Unknown Source) at sun.security.ssl.SSLEngineImpl.readNetRecord(Unknown Source) at sun.security.ssl.SSLEngineImpl.unwrap(Unknown Source) at javax.net.ssl.SSLEngine.unwrap(Unknown Source) at com.aelitis.azureus.core.networkmanager.impl.osssl.OneSwarmSslTransportHelperFilterStream.doHandshake(OneSwarmSslTransportHelperFilterStream.java:572) at com.aelitis.azureus.core.networkmanager.impl.ProtocolDecoderPHE.process(ProtocolDecoderPHE.java:817) at com.aelitis.azureus.core.networkmanager.impl.ProtocolDecoderPHE.selectSuccess(ProtocolDecoderPHE.java:1981) at com.aelitis.azureus.core.networkmanager.impl.ProtocolDecoderPHE$2.selectSuccess(ProtocolDecoderPHE.java:470) at com.aelitis.azureus.core.networkmanager.impl.tcp.TCPTransportHelper$1.selectSuccess(TCPTransportHelper.java:443) at com.aelitis.azureus.core.networkmanager.VirtualChannelSelector.selectSuccess(VirtualChannelSelector.java:412) at com.aelitis.azureus.core.networkmanager.impl.tcp.VirtualChannelSelectorImpl.select(VirtualChannelSelectorImpl.java:753) at com.aelitis.azureus.core.networkmanager.VirtualChannelSelector.select(VirtualChannelSelector.java:367) at com.aelitis.azureus.core.networkmanager.impl.tcp.TCPNetworkManager$4.run(TCPNetworkManager.java:155) at org.gudy.azureus2.core3.util.AEThread2$threadWrapper.run(AEThread2.java:202) java.io.IOException: Handshake exception: CLOSED at com.aelitis.azureus.core.networkmanager.impl.osssl.OneSwarmSslTransportHelperFilterStream.doHandshake(OneSwarmSslTransportHelperFilterStream.java:600) at com.aelitis.azureus.core.networkmanager.impl.ProtocolDecoderPHE.process(ProtocolDecoderPHE.java:817) at com.aelitis.azureus.core.networkmanager.impl.ProtocolDecoderPHE.selectSuccess(ProtocolDecoderPHE.java:1981) at com.aelitis.azureus.core.networkmanager.impl.ProtocolDecoderPHE$3.selectSuccess(ProtocolDecoderPHE.java:492) at com.aelitis.azureus.core.networkmanager.impl.tcp.TCPTransportHelper$2.selectSuccess(TCPTransportHelper.java:478) at com.aelitis.azureus.core.networkmanager.VirtualChannelSelector.selectSuccess(VirtualChannelSelector.java:412) at com.aelitis.azureus.core.networkmanager.impl.tcp.VirtualChannelSelectorImpl.select(VirtualChannelSelectorImpl.java:753) at com.aelitis.azureus.core.networkmanager.VirtualChannelSelector.select(VirtualChannelSelector.java:367) at com.aelitis.azureus.core.networkmanager.impl.tcp.TCPNetworkManager$5.run(TCPNetworkManager.java:181) at org.gudy.azureus2.core3.util.AEThread2$threadWrapper.run(AEThread2.java:202)