<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:23:15 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-10098] Excessive &quot;lost connection&quot; log messages</title>
                <link>https://bugs.mojang.com/browse/MC-10098</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;The number of &quot;lost connection&quot; messages in server.log seems a little excessive, lately.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;uniblab:Swim2 steve$ for i in `seq &lt;del&gt;w 1 20`; do echo $i: `cat server.log | grep 2013-02&lt;/del&gt;$i | grep lost\ connection | wc -l`; done&lt;br/&gt;
01: 268&lt;br/&gt;
02: 393&lt;br/&gt;
03: 505&lt;br/&gt;
04: 228&lt;br/&gt;
05: 292&lt;br/&gt;
06: 187&lt;br/&gt;
07: 248&lt;br/&gt;
08: 227&lt;br/&gt;
09: 365&lt;br/&gt;
10: 451&lt;br/&gt;
11: 374&lt;br/&gt;
12: 344&lt;br/&gt;
13: 406&lt;br/&gt;
14: 522&lt;br/&gt;
15: 730&lt;br/&gt;
16: 1000&lt;br/&gt;
17: 730&lt;br/&gt;
18: 1821&lt;br/&gt;
19: 5015&lt;br/&gt;
20: 2937&lt;br/&gt;
uniblab:Swim2 steve${noformat}&lt;/p&gt;</description>
                <environment></environment>
        <key id="23953">MC-10098</key>
            <summary>Excessive &quot;lost connection&quot; log messages</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="inertia">Anthony Martin</reporter>
                        <labels>
                            <label>logging</label>
                            <label>multiplayer</label>
                            <label>server</label>
                    </labels>
                <created>Thu, 21 Feb 2013 00:47:37 +0100</created>
                <updated>Sun, 1 Sep 2013 17:35:49 +0200</updated>
                            <resolved>Sun, 1 Sep 2013 17:35:49 +0200</resolved>
                                    <version>Snapshot 13w07a</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="55301" author="bljat" created="Tue, 19 Mar 2013 00:29:27 +0100"  >&lt;p&gt;Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="47768" author="inertia" created="Tue, 26 Feb 2013 20:00:25 +0100"  >&lt;p&gt;Behavior still present in 13w09a.&lt;/p&gt;</comment>
                            <comment id="46883" author="kumasasa" created="Thu, 21 Feb 2013 19:50:32 +0100"  >&lt;p&gt;Can confirm this a bit: On my local server I&apos;m getting a &quot;lost connection&quot; without being connected, just by opening the multiplayer world selection screen on the client:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;2013-02-21 19:30:49 [INFO] /127.0.0.1:63573 lost connection
2013-02-21 19:31:33 [INFO] Kumasasa[/127.0.0.1:63601] logged in with entity id 41 at (-1741.507092258731, 73.0, -559.462920680532)
2013-02-21 19:31:36 [WARNING] Can&apos;t keep up! Did the system time change, or is the server overloaded?
2013-02-21 19:31:40 [INFO] Kumasasa lost connection: disconnect.quitting
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="46848" author="inertia" created="Thu, 21 Feb 2013 10:19:30 +0100"  >&lt;p&gt;This may or may not be related, but the console reported this around the same time as a lost connection (though it doesn&apos;t happen every time and did not get written in the log):&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:150)
        at java.net.SocketInputStream.read(SocketInputStream.java:121)
        at java.net.SocketInputStream.read(SocketInputStream.java:203)
        at java.io.FilterInputStream.read(FilterInputStream.java:83)
        at eg.a(SourceFile:184)
        at ch.i(SourceFile:250)
        at ch.c(SourceFile:16)
        at ci.run(SourceFile:94)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="46846" author="inertia" created="Thu, 21 Feb 2013 09:50:25 +0100"  >&lt;p&gt;Nothing happens shortly before, at least nothing related to these lost connections.  Sometimes they are accompanied by &quot;Took too long to log in&quot; but not always.&lt;/p&gt;

&lt;p&gt;For example, here is some of the log file from just now (#REDACTED-IP## is alway the same IP in this short example):&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2013-02-21 00:19:15 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; are you running 32 bit java?
2013-02-21 00:19:21 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; mmhm
2013-02-21 00:19:52 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; hmmm.....
2013-02-21 00:19:54 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; i think i didnt download latest
2013-02-21 00:21:28 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; man, this place is gonna look badass in the snow when I get it finished.....least I hope
2013-02-21 00:22:00 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; wat r u building a house?
2013-02-21 00:22:10 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; snow fort
2013-02-21 00:22:16 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; ah
2013-02-21 00:22:54 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; :Y i just started on my house
2013-02-21 00:22:56 [INFO] /##REDACTED-IP##:10234 lost connection
2013-02-21 00:23:05 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; was gonna build it around a frozen lake, populate it with snow golems and maybe an ice palace
2013-02-21 00:23:26 [INFO] /##REDACTED-IP##:10081 lost connection
2013-02-21 00:23:31 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; my houses are always small, just basic stuff really
2013-02-21 00:23:38 [INFO] /##REDACTED-IP##:54916 lost connection
2013-02-21 00:23:42 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; my old continent had to many ppl on it
2013-02-21 00:23:51 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; that sounds pretty boss
2013-02-21 00:23:58 [INFO] Disconnecting /##REDACTED-IP##:58367: Took too long to log in
2013-02-21 00:24:23 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; thanks, I just hope I have the patience to go through with it
2013-02-21 00:24:26 [INFO] /##REDACTED-IP##:54925 lost connection
2013-02-21 00:24:39 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; and that none of my neighbors are griefers -_-
2013-02-21 00:25:20 [INFO] /##REDACTED-IP##:59578 lost connection
2013-02-21 00:25:49 [INFO] /##REDACTED-IP##:59572 lost connection
2013-02-21 00:25:49 [WARNING] Can&apos;t keep up! Did the system time change, or is the server overloaded?
2013-02-21 00:26:23 [INFO] &amp;lt;##REDACTED-USER##&amp;gt; man this texture is amazing i really need to fix it&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In the above example, ##REDACTED-IP## first appeared on the 19th from a user with an outdated client.  Since that time, this one user has generated 63 log entries.&lt;/p&gt;

&lt;p&gt;As you can see from the example on the 21t, the log has regular user activity, peppered with mostly unrelated lost connections from random IP addresses.  For the 20th, there were about 800 unique IP addresses recorded as lost connections.  But in that timeframe, those 800 IP addresses generated 5000+ repeating lost connection messages.&lt;/p&gt;

&lt;p&gt;I&apos;ve looked up a few of the IP addresses and found that many (not all) belong to past users, like the example ##REDACTED-IP##.  My current theory is that many of these lost connections are coming from Minecraft clients just looking to see if my server is up (queries to see and what version, motd, etc.).  Basically, they are clients pinging my server just because my server is in their multiplayer list.  They tried to connect once or twice, then they moved on but never deleted my server from the list.&lt;/p&gt;

&lt;p&gt;Many people add my server to their server list who cannot log in because they don&apos;t know how to install the snapshot, and they never bother to delete my server.  So they have 1.4.7 and they ping my server but never log in.  I think the server is logging the pings to some extent as lost connections.&lt;/p&gt;

&lt;p&gt;I don&apos;t care if they leave my server in their list, that&apos;s not a bug.  I don&apos;t really care if they ping it, that&apos;s not a bug either.  If pings present a problem in the future, it&apos;s my problem, not a problem in code.  The bug here is: I just think the lost connections messages are too excessive.&lt;/p&gt;</comment>
                            <comment id="46839" author="kumasasa" created="Thu, 21 Feb 2013 07:46:30 +0100"  >&lt;p&gt;Can you please attach a part of the logfile to see what has happened short before ?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="32155">MC-16324</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 21 Feb 2013 19:50:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10501" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Game Mode</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10304"><![CDATA[Survival]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01m7z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>