Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR P2P [p2p-in]: Could not read buffer. #1161

Open
AionMiner opened this issue Dec 11, 2020 · 1 comment
Open

ERROR P2P [p2p-in]: Could not read buffer. #1161

AionMiner opened this issue Dec 11, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@AionMiner
Copy link

Description

ERROR P2P appearing frequently in kernel output since v1.6

20-12-10 15:26:28.225 ERROR P2P  [p2p-in]: Could not read buffer.
java.io.IOException: Connection reset by peer
	at java.base/sun.nio.ch.FileDispatcherImpl.read0(Native Method)
	at java.base/sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
	at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276)
	at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:245)
	at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:223)
	at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:358)
	at org.aion.p2p.impl1.P2pMgr.readBuffer(P2pMgr.java:738)
	at org.aion.p2p.impl1.P2pMgr.checkSelector(P2pMgr.java:593)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

Similar error notice looks to have been suppressed previously, as per closed issue #357

Log config is default:

<log>
    <!--Enable/Disable logback service; if disabled, output will not be logged.-->
    <log-file>true</log-file>
    <!--Sets the physical location on disk where log files will be stored.-->
    <log-path>log</log-path>
    <DB>WARN</DB>
    <GEN>INFO</GEN>
    <VM>ERROR</VM>
    <SYNC>INFO</SYNC>
    <CONS>INFO</CONS>
    <TXPOOL>WARN</TXPOOL>
    <API>INFO</API>
    <ROOT>WARN</ROOT>
    <P2P>INFO</P2P>
    <TX>WARN</TX>
</log>

System Information

I'm running:

  • Which Aion version?: 1.6.1.0528110
  • Which operating system?: Linux
  • Which distributor and version?: Ubuntu 20.10
  • How installed?: via binaries
  • Are you fully synchronized?: yes
  • Did you try to restart the node?: yes
@AionJayT AionJayT added the enhancement New feature or request label Dec 11, 2020
@AionJayT
Copy link
Collaborator

AionJayT commented Dec 11, 2020

@AionMiner Thanks for the report. We will suppress the log to the DEBUG level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants