Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > General Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Discussion For anything which doesn't fit somewhere else (for PHEX users)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 19th, 2003
Devotee
 
Join Date: September 30th, 2003
Posts: 27
rockkeys is flying high
Default Many compression errors reported by java

Hi, Folks.

When I go to the gnutella net page, I see a lot of 'Unexpected end of ZLIB input stream' messages go past. I also get a series of errors in the phex.log file that are related to this. The java stack dump looks like this:

3:05:12 PM.0643: Global(Severe)! Exception occured: java.util.zip.DataFormatException: unknown compression method
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Inflater.java:219)
at java.util.zip.Inflater.inflate(Inflater.java:236)
at phex.utils.IOUtil.inflate(Unknown Source)
at phex.utils.IOUtil.inflate(Unknown Source)
at phex.msg.GGEPBlock$GGEPParser.parseGGEPBlock(Unkno wn Source)
at phex.msg.GGEPBlock$GGEPParser.parseGGEPBlocks(Unkn own Source)
at phex.msg.GGEPBlock.parseGGEPBlocks(Unknown Source)
at phex.msg.MsgQueryResponse.parseBody(Unknown Source)
at phex.msg.MsgQueryResponse.getMsgRecord(Unknown Source)
at phex.msg.MsgManager.snoopMonitorResult(Unknown Source)
at phex.msg.MsgManager.processQueryResponse(Unknown Source)
at phex.connection.ConnectionEngine.handleQueryRespon se(Unknown Source)
at phex.connection.ConnectionEngine.processIncomingDa ta(Unknown Source)
at phex.connection.OutgoingConnectionDispatcher.conne ctToNextCaughtHost(Unknown Source)
at phex.connection.OutgoingConnectionDispatcher.run(U nknown Source)
at phex.common.ThreadPool$Worker.run(Unknown Source)

It appears as if we are not supporting or are not correctly handling compressed connections, which have become very common in some of the gnutella clients. I know that gtk-gnutella supports this now, and certainly some others do too.

Could we put this on the list of requested enhancements, please? I would like to connect to these hosts who are using compression, and the default for gtk-gnutella (for example) is to only allow a single uncompressed connection, once compressed connections are enabled. Since I have no control over the other user's choices, and no way to request that they disable compression, or increase the number of uncompressed connections that they allow, the only way to solve this is to provide complete support for this newer feature.

Thanks,
--Rockkeys
Reply With Quote
  #2 (permalink)  
Old October 20th, 2003
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

I think you are mixing here two different problems.
First of all the network compression is something new in this BETA and still has a few problems. But in general it is working correctly.

The message 'Unexpected end of ZLIB input stream' you are seeing in the network panel is actually not a real error.
More or less its a Bug in the Java implementation returning this error instead of telling me that the other side has closed the communication stream. For a not compressed connection you would instead get the error 'Connection closed from remote host'.
There is not much we can do about this and I dont have the feeling this is cased by a compression problem on our side.

The Exception you posted 'java.util.zip.DataFormatException: unknown compression method' is something completely different and not relegated to above problem. This indicates that we have received a message on the network which indicated to be compressed but could not be decompressed. Therefore the message could not be understand and will be dropped.
Even though this is not nice there is nothing to worry about, dropped messages are not unusual and do not cause the communication with a host to get disrupted.

Gregor
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Message/Connection Errors? Try This! i4186it Connection Problems 0 June 20th, 2003 04:15 AM
Java Errors Amy Download/Upload Problems 5 November 23rd, 2002 11:00 AM
High router errors reported CJP General Windows Support 0 November 18th, 2002 10:58 AM
Java errors up the ying-yang. Unregistered General Mac Support 0 November 18th, 2001 03:41 PM
OSX installer java errors rbleib General Mac OSX Support 1 June 14th, 2001 09:36 PM


All times are GMT -7. The time now is 06:11 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.