Comments (4)
@cheatfate I don't think I follow what you meant. The links you sent don't match with what you mention (I believe). There is a TransportUseClosedError
handled (and re-reased) nearby, but none of those links points to it.
One of them points to this piece of code in the same function as the aforementioned except TransportUseClosedError
:
except HttpError as exc:
debug "Http Error", exc = exc.msg
except AsyncStreamError as exc:
And the other points to the parameters of the next function, which seems to be unrelated to any TransportUseClosedError
:
hostname: string,
address: MultiAddress,
peerId: Opt[PeerId] = Opt.none(PeerId)): Future[Connection] {.async.} =
Do you mean that the "normal shutdown process" somehow triggers the except CatchableError
line in the accept
proc in switch.nim
?
from nim-libp2p.
Everything what falls into
error "Exception in accept loop, exiting", exc = exc.msg
looks like serious error, and nimbus
consumers actually asking what the error is. But this error happens when TransportUseClosedError
happens and got catched by this handler. This specific exception MUST not be reported as error
type of logs.
from nim-libp2p.
Please, next time it'd be great to have what the expected behavior should be when describing the issue.
from nim-libp2p.
@cheatfate do you have more logs related to it? The error msg "Transport closed, no more connections!" is created by
and can also happen atnim-libp2p/libp2p/transports/tcptransport.nim
Line 204 in 9059a8a
Was there a log "Server was closed" before the one you reported? If it was indeed caused by TransportUseClosedError
, there should be one
nim-libp2p/libp2p/transports/tcptransport.nim
Line 234 in 9059a8a
from nim-libp2p.
Related Issues (20)
- Bumper jobs failing HOT 11
- Where should people ask technical questions about nim-libp2p? HOT 1
- Where to have technical discussion about nim-libp2p? HOT 5
- fix(transport-interop): move code in libp2p/test-plans to this repo HOT 3
- minprotobuf does not handle `proto3` `repeated uint32` fields. HOT 6
- Single topic in RPC message
- WebTransport support
- Clear single-vote attestations when aggregate is full HOT 1
- GossipSub messages relayed back to source on 3 node network HOT 5
- peer doesn't respect backingOff
- switch.peerInfo reports with INADDR_ANY or INADDR6_ANY multiaddresses.
- rename nim-libp2p main branch from unstable to master HOT 1
- Prepare release 1.2.0
- IHave / IWant message behavior seriously impacts large message transmissions. HOT 7
- Support gossipsub 1.2.0 HOT 4
- Pubsubpeer has wrong protocol codecs
- ARM64/aarch64 support HOT 34
- Reevalute channel / stream / connection abstractions HOT 1
- Cannot run tests on Apple M1 MacOS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nim-libp2p.