Giter VIP home page Giter VIP logo

gopcep's People

Contributors

vasya4k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

buraglio cryzeck

gopcep's Issues

Config file

To ease getting started and trial this tool it would be helpful to have an example config file somewhere. It is not quite clear from textual description on how the config file needs to look like..

Network map empty

And one more issue :)

Even tho pcep and bgp(bgp-ls) is connected and I can see from the bgp-ls peer that it is sending data and according to the logs gopcep is receiving and treating the information found the Network Map stays empty ?

I don't have gRPC connected but I suspect that it ain't supposed to be a requirement to see the map ?

Add Routers

I tried to establish a PCEP Session but that was not successful. I assume I need to create the Router first, right? Is there another way to create a router besides the GUI? The GUI did not work for me. I was not able to save the router details.

Is it mandatory to create a Router first? Wouldn't it be better to just establish the PCEP session from the PCE client and the gopcep webui just displays the NEs which are connected?

I am quite interested in this project but I will need some upskilling in go programming before I could possibly contribute myself other than just commenting here.

panic in http server

When trying to remove a controlled LSP I get

http2: panic serving 192.168.1.2:53698: runtime error: invalid memory address or nil pointer dereference
goroutine 341 [running]:
net/http.(*http2serverConn).runHandler.func1()
        /usr/local/go/src/net/http/h2_bundle.go:6146 +0x145
panic({0xcb0a20?, 0x2709170?})
        /usr/local/go/src/runtime/panic.go:770 +0x132
gopcep/controller.(*Controller).DelSRLSP(0xc000170000, {0xc0002a5fa8, 0x5})
        /opt/gopcep/controller/controller.go:82 +0x154
gopcep/restapi.(*handler).delLSP(0xc000484e40, 0xc00012ed00)
        /opt/gopcep/restapi/lsp.go:40 +0xa5
github.com/gin-gonic/gin.(*Context).Next(0xc00012ed00)
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165 +0x2b
gopcep/restapi.Start.jsonLogMiddleware.func4(0xc00012ed00)
        /opt/gopcep/restapi/restapi.go:62 +0x46
github.com/gin-gonic/gin.(*Context).Next(...)
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000311860, 0xc00012ed00)
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:489 +0x650
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000311860, {0x213cd30, 0xc0005a4350}, 0xc0004f6900)
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:445 +0x198
net/http.serverHandler.ServeHTTP({0x0?}, {0x213cd30?, 0xc0005a4350?}, 0x0?)
        /usr/local/go/src/net/http/server.go:3137 +0x8e
net/http.initALPNRequest.ServeHTTP({{0x213dea8?, 0xc0001d9bf0?}, 0xc000005888?, {0xc0004d83c0?}}, {0x213cd30, 0xc0005a4350}, 0xc0004f6900)
        /usr/local/go/src/net/http/server.go:3745 +0x231
net/http.(*http2serverConn).runHandler(0x0?, 0x0?, 0x0?, 0x0?)
        /usr/local/go/src/net/http/h2_bundle.go:6153 +0xbb
created by net/http.(*http2serverConn).scheduleHandler in goroutine 48
        /usr/local/go/src/net/http/h2_bundle.go:6088 +0x21d

fatal error: sync: Unlock of unlocked RWMutex

After a bit of hassle I managed to get gopcep to function. Have to control it from remote so had to hackaround in your .js and stuff to get it functioning.
But after finally getting everything up and running I attached it to a Juniper box and configured all knobs that has to be configured.. when it finally started to send bgp-ls updates gopcep broke down with the error "fatal error: sync: Unlock of unlocked RWMutex".

Complete log from start to crash:

time="2024-03-01T11:16:28.011505629+01:00" level=info msg="running with config" config="&{{192.0.29.134 12345 [Efqwdoin9148]} {192.168.68.191 1443 /opt/gopcep/certs/gopcep.crt /opt/gopcep/certs/gopcep.key pcep1 pcep false} {192.0.29.134 4189 30} {true false 2006-01-02T15:04:05.999999999Z07:00 true 6} {65001 192.0.29.134}}" event="red config" topic=config
time="2024-03-01T11:16:28.013969407+01:00" level=info msg="Add a peer configuration for:192.0.28.1" Topic=Peer
time="2024-03-01T11:16:28.014157763+01:00" level=debug msg="IdleHoldTimer expired" Duration=0 Key=192.0.28.1 Topic=Peer
time="2024-03-01T11:16:28.014239674+01:00" level=debug msg="state changed" Key=192.0.28.1 Topic=Peer new=BGP_FSM_ACTIVE old=BGP_FSM_IDLE reason=idle-hold-timer-expired
time="2024-03-01T11:16:33.014572683+01:00" level=debug msg="try to connect" Key=192.0.28.1 Topic=Peer
time="2024-03-01T11:16:33.015577716+01:00" level=debug msg="state changed" Key=192.0.28.1 Topic=Peer new=BGP_FSM_OPENSENT old=BGP_FSM_ACTIVE reason=new-connection
time="2024-03-01T11:16:33.017454706+01:00" level=debug msg="state changed" Key=192.0.28.1 Topic=Peer new=BGP_FSM_OPENCONFIRM old=BGP_FSM_OPENSENT reason=open-msg-received
time="2024-03-01T11:16:33.023334817+01:00" level=info msg="Peer Up" Key=192.0.28.1 State=BGP_FSM_OPENCONFIRM Topic=Peer
time="2024-03-01T11:16:33.023406285+01:00" level=debug msg="state changed" Key=192.0.28.1 Topic=Peer new=BGP_FSM_ESTABLISHED old=BGP_FSM_OPENCONFIRM reason=open-msg-negotiated
time="2024-03-01T11:16:33.023521812+01:00" level=info msg="added new peer" event=new_peer peer_addr=192.0.28.1 peer_as=65536 peer_state=ESTABLISHED type=bgp
time="2024-03-01T11:16:33.023825584+01:00" level=debug msg="received update" Key=192.0.28.1 Topic=Peer attributes="[{Origin: i} 65536 {LsAttributes: {Node Flags: ********} {Node Name: ROUTER-1} {ISIS Area ID: [73 6 102]} {Local RouterID IPv4: 192.0.28.2} } {MpReach(ls): {Nexthop: 192.0.28.1, NLRIs: [NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8002 ISIS-L2:0 } }]}}]" nlri="[]" withdrawals="[]"
time="2024-03-01T11:16:33.02396796+01:00" level=debug msg="create Destination" Nlri="NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8002 ISIS-L2:0 } }" Topic=Table
time="2024-03-01T11:16:33.024030844+01:00" level=debug msg="create Destination" Nlri="NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8002 ISIS-L2:0 } }" Topic=Table
time="2024-03-01T11:16:33.024060652+01:00" level=debug msg="computeKnownBestPath knownPathList: 1" Topic=Table
time="2024-03-01T11:16:33.024127992+01:00" level=debug msg="From me, ignore." Data="{ NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8002 ISIS-L2:0 } } | src: { 192.0.28.1 | as: 65536, id: 192.0.28.1 }, nh: 192.0.28.1 }" Key=192.0.28.1 Topic=Peer
time="2024-03-01T11:16:33.024216845+01:00" level=debug msg="received update" Key=192.0.28.1 Topic=Peer attributes="[{Origin: i} 65536 {LsAttributes: {Node Flags: ********} {Node Name: ROUTER-2} {ISIS Area ID: [73 6 102]} {Local RouterID IPv4: 192.0.28.7} } {MpReach(ls): {Nexthop: 192.0.28.1, NLRIs: [NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8007 ISIS-L2:0 } }]}}]" nlri="[]" withdrawals="[]"
time="2024-03-01T11:16:33.024328085+01:00" level=debug msg="create Destination" Nlri="NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8007 ISIS-L2:0 } }" Topic=Table
time="2024-03-01T11:16:33.024364319+01:00" level=debug msg="create Destination" Nlri="NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8007 ISIS-L2:0 } }" Topic=Table
time="2024-03-01T11:16:33.024422387+01:00" level=debug msg="computeKnownBestPath knownPathList: 1" Topic=Table
time="2024-03-01T11:16:33.025514283+01:00" level=debug msg="From me, ignore." Data="{ NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8007 ISIS-L2:0 } } | src: { 192.0.28.1 | as: 65536, id: 192.0.28.1 }, nh: 192.0.28.1 }" Key=192.0.28.1 Topic=Peer
time="2024-03-01T11:16:33.025655046+01:00" level=debug msg="received update" Key=192.0.28.1 Topic=Peer attributes="[{Origin: i} 65536 {LsAttributes: } {MpReach(ls): {Nexthop: 192.0.28.1, NLRIs: [NLRI { PREFIXv6 { LOCAL_NODE: 1920.002.8001 PREFIX: [fc00:0:1:1::/127] } }]}}]" nlri="[]" withdrawals="[]"
time="2024-03-01T11:16:33.025826554+01:00" level=debug msg="create Destination" Nlri="NLRI { PREFIXv6 { LOCAL_NODE: 1920.002.8001 PREFIX: [fc00:0:1:1::/127] } }" Topic=Table
time="2024-03-01T11:16:33.025876012+01:00" level=debug msg="create Destination" Nlri="NLRI { PREFIXv6 { LOCAL_NODE: 1920.002.8001 PREFIX: [fc00:0:1:1::/127] } }" Topic=Table
time="2024-03-01T11:16:33.025941534+01:00" level=debug msg="computeKnownBestPath knownPathList: 1" Topic=Table
time="2024-03-01T11:16:33.025964768+01:00" level=debug msg="From me, ignore." Data="{ NLRI { PREFIXv6 { LOCAL_NODE: 1920.002.8001 PREFIX: [fc00:0:1:1::/127] } } | src: { 192.0.28.1 | as: 65536, id: 192.0.28.1 }, nh: 192.0.28.1 }" Key=192.0.28.1 Topic=Peer
time="2024-03-01T11:16:33.026052874+01:00" level=debug msg="received update" Key=192.0.28.1 Topic=Peer attributes="[{Origin: i} 65536 {LsAttributes: {Node Flags: ********} {Node Name: ROUTER-3} {ISIS Area ID: [73 6 102]} {Local RouterID IPv4: 192.0.28.1} {SR Capabilities: Flags:192 SRGB Ranges: 100000:249999 } {SR Algorithms: [0 1]} } {MpReach(ls): {Nexthop: 192.0.28.1, NLRIs: [NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8001 ISIS-L2:0 } }]}}]" nlri="[]" withdrawals="[]"
time="2024-03-01T11:16:33.026142839+01:00" level=debug msg="create Destination" Nlri="NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8001 ISIS-L2:0 } }" Topic=Table
time="2024-03-01T11:16:33.026231538+01:00" level=debug msg="create Destination" Nlri="NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8001 ISIS-L2:0 } }" Topic=Table
time="2024-03-01T11:16:33.026257558+01:00" level=debug msg="computeKnownBestPath knownPathList: 1" Topic=Table
time="2024-03-01T11:16:33.026305949+01:00" level=debug msg="From me, ignore." Data="{ NLRI { NODE { AS:65536 BGP-LS ID:0 1920.002.8001 ISIS-L2:0 } } | src: { 192.0.28.1 | as: 65536, id: 192.0.28.1 }, nh: 192.0.28.1 }" Key=192.0.28.1 Topic=Peer
time="2024-03-01T11:16:33.026345769+01:00" level=debug msg="received update" Key=192.0.28.1 Topic=Peer attributes="[{Origin: i} 65536 {LsAttributes: } {MpReach(ls): {Nexthop: 192.0.28.1, NLRIs: [NLRI { PREFIXv6 { LOCAL_NODE: 1920.002.8001 PREFIX: [fc00:0:1:7::/127] } }]}}]" nlri="[]" withdrawals="[]"
time="2024-03-01T11:16:33.026425135+01:00" level=debug msg="create Destination" Nlri="NLRI { PREFIXv6 { LOCAL_NODE: 1920.002.8001 PREFIX: [fc00:0:1:7::/127] } }" Topic=Table
time="2024-03-01T11:16:33.026526463+01:00" level=debug msg="create Destination" Nlri="NLRI { PREFIXv6 { LOCAL_NODE: 1920.002.8001 PREFIX: [fc00:0:1:7::/127] } }" Topic=Table
time="2024-03-01T11:16:33.026615125+01:00" level=debug msg="computeKnownBestPath knownPathList: 1" Topic=Table
fatal error: sync: Unlock of unlocked RWMutex
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xab4b7d]

goroutine 18 [running]:
sync.fatal({0xdf1b0d?, 0xc00014ee00?})
        /usr/local/go/src/runtime/panic.go:1007 +0x18
sync.(*RWMutex).Unlock(0xc0001248d0)
        /usr/local/go/src/sync/rwmutex.go:208 +0x45
panic({0xcb0a20?, 0x2709170?})
        /usr/local/go/src/runtime/panic.go:770 +0x132
gopcep/controller.(*TopoView).HandleNodeNLRI(0xc000070c60, 0xc000250140, 0xc0004f8000)
        /opt/gopcep/controller/bgpls.go:167 +0x23d
gopcep/controller.(*TopoView).Monitor(0xc000070c60, 0xc0004f8000)
        /opt/gopcep/controller/bgpls.go:247 +0x2e5
gopcep/controller.(*Controller).StartBGPLS.func2(0xc000225f88?)
        /opt/gopcep/controller/bgpls.go:522 +0x25
github.com/osrg/gobgp/pkg/server.(*BgpServer).MonitorTable.func2()
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:3827 +0x309
created by github.com/osrg/gobgp/pkg/server.(*BgpServer).MonitorTable in goroutine 7
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:3789 +0xd4

goroutine 1 [IO wait]:
internal/poll.runtime_pollWait(0x7fc288fabdb8, 0x72)
        /usr/local/go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0x8?, 0x278f1a0?, 0x0)
        /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
        /usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000333580)
        /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac
net.(*netFD).accept(0xc000333580)
        /usr/local/go/src/net/fd_unix.go:172 +0x29
net.(*TCPListener).accept(0xc00006e3c0)
        /usr/local/go/src/net/tcpsock_posix.go:159 +0x1e
net.(*TCPListener).Accept(0xc00006e3c0)
        /usr/local/go/src/net/tcpsock.go:327 +0x30
gopcep/pcep.ListenForNewSession({0x2138fb0, 0xc00016c000}, 0xc00012a1a0)
        /opt/gopcep/pcep/session.go:567 +0x29a
main.startController(0xc000366e40?)
        /opt/gopcep/main.go:142 +0x735
github.com/urfave/cli/v2.(*App).RunContext(0xc000374680, {0x213dc18, 0x278f1a0}, {0xc000034190, 0x1, 0x1})
        /root/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:322 +0x928
github.com/urfave/cli/v2.(*App).Run(...)
        /root/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:224
main.main()
        /opt/gopcep/main.go:166 +0x165

goroutine 7 [chan receive]:
gopcep/controller.(*Controller).StartBGPLS(0xc00016c000)
        /opt/gopcep/controller/bgpls.go:531 +0x92b
created by gopcep/controller.Start in goroutine 1
        /opt/gopcep/controller/controller.go:424 +0x538

goroutine 8 [select]:
gopcep/controller.Start.func1()
        /opt/gopcep/controller/controller.go:428 +0x98
created by gopcep/controller.Start in goroutine 1
        /opt/gopcep/controller/controller.go:426 +0x576

goroutine 9 [IO wait]:
internal/poll.runtime_pollWait(0x7fc288fabeb0, 0x72)
        /usr/local/go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0x7?, 0x1?, 0x0)
        /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
        /usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000333300)
        /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac
net.(*netFD).accept(0xc000333300)
        /usr/local/go/src/net/fd_unix.go:172 +0x29
net.(*TCPListener).accept(0xc00032dba0)
        /usr/local/go/src/net/tcpsock_posix.go:159 +0x1e
net.(*TCPListener).Accept(0xc00032dba0)
        /usr/local/go/src/net/tcpsock.go:327 +0x30
google.golang.org/grpc.(*Server).Serve(0xc0003ff180, {0x213c580, 0xc00032dba0})
        /root/go/pkg/mod/google.golang.org/[email protected]/server.go:739 +0x363
gopcep/grpcapi.Start.func1()
        /opt/gopcep/grpcapi/api.go:144 +0x45
created by gopcep/grpcapi.Start in goroutine 1
        /opt/gopcep/grpcapi/api.go:143 +0x9a5

goroutine 10 [IO wait]:
internal/poll.runtime_pollWait(0x7fc288fabcc0, 0x72)
        /usr/local/go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0x9?, 0xc00018cd30?, 0x0)
        /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
        /usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000333600)
        /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac
net.(*netFD).accept(0xc000333600)
        /usr/local/go/src/net/fd_unix.go:172 +0x29
net.(*TCPListener).accept(0xc00006e3e0)
        /usr/local/go/src/net/tcpsock_posix.go:159 +0x1e
net.(*TCPListener).Accept(0xc00006e3e0)
        /usr/local/go/src/net/tcpsock.go:327 +0x30
crypto/tls.(*listener).Accept(0xc0000321c8)
        /usr/local/go/src/crypto/tls/tls.go:66 +0x27
net/http.(*Server).Serve(0xc0004d23c0, {0x213c7f0, 0xc0000321c8})
        /usr/local/go/src/net/http/server.go:3255 +0x33e
net/http.(*Server).ServeTLS(0xc0004d23c0, {0x213c580, 0xc00006e3e0}, {0xc000308240, 0x1c}, {0xc000308260, 0x1c})
        /usr/local/go/src/net/http/server.go:3325 +0x486
net/http.(*Server).ListenAndServeTLS(0xc0004d23c0, {0xc000308240, 0x1c}, {0xc000308260, 0x1c})
        /usr/local/go/src/net/http/server.go:3482 +0x125
gopcep/restapi.Start.func3()
        /opt/gopcep/restapi/restapi.go:211 +0x46
created by gopcep/restapi.Start in goroutine 1
        /opt/gopcep/restapi/restapi.go:210 +0x526

goroutine 11 [chan send]:
github.com/osrg/gobgp/pkg/server.(*watcher).notify(...)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:4110
github.com/osrg/gobgp/pkg/server.(*BgpServer).notifyWatcher(...)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:4146
github.com/osrg/gobgp/pkg/server.(*BgpServer).notifyBestWatcher(0xc0000ddb08, {0xc000483430, 0x1, 0xc000483418?}, {0xc000032d98, 0x0, 0xdca2e0?})
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:763 +0x435
github.com/osrg/gobgp/pkg/server.(*BgpServer).propagateUpdateToNeighbors(0xc0000ddb08, 0xc000338aa0, 0xc000339770, {0xc000483418, 0x1, 0x1}, 0x1)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:1245 +0x10f
github.com/osrg/gobgp/pkg/server.(*BgpServer).propagateUpdate(0xc0000ddb08, 0xc000338aa0, {0xc000483408, 0x1, 0xc000338aa0?})
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:1216 +0x665
github.com/osrg/gobgp/pkg/server.(*BgpServer).handleFSMMessage(0xc0000ddb08, 0xc000338aa0, 0xc0000ca600)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:1607 +0x77b
github.com/osrg/gobgp/pkg/server.(*BgpServer).Serve.func1(0xc0000ca600)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:394 +0x5b8
github.com/osrg/gobgp/pkg/server.(*BgpServer).Serve(0xc0000ddb08)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:434 +0x48a
created by gopcep/controller.(*Controller).StartBGPLS in goroutine 7
        /opt/gopcep/controller/bgpls.go:477 +0xa5

goroutine 12 [select]:
github.com/osrg/gobgp/pkg/server.(*BgpServer).MonitorPeer.func1()
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:3849 +0x22e
created by github.com/osrg/gobgp/pkg/server.(*BgpServer).MonitorPeer in goroutine 7
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:3843 +0xbe

goroutine 33 [select]:
github.com/eapache/channels.(*InfiniteChannel).infiniteBuffer(0xc00006eaa0)
        /root/go/pkg/mod/github.com/eapache/[email protected]/infinite_channel.go:49 +0xe5
created by github.com/eapache/channels.NewInfiniteChannel in goroutine 11
        /root/go/pkg/mod/github.com/eapache/[email protected]/infinite_channel.go:19 +0x156

goroutine 14 [select]:
github.com/eapache/channels.(*InfiniteChannel).infiniteBuffer(0xc00006e760)
        /root/go/pkg/mod/github.com/eapache/[email protected]/infinite_channel.go:49 +0xe5
created by github.com/eapache/channels.NewInfiniteChannel in goroutine 11
        /root/go/pkg/mod/github.com/eapache/[email protected]/infinite_channel.go:19 +0x156

goroutine 34 [select]:
github.com/osrg/gobgp/pkg/server.(*fsmHandler).established(0xc00012f650, {0x213de80, 0xc0003392c0})
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/fsm.go:1757 +0x454
github.com/osrg/gobgp/pkg/server.(*fsmHandler).loop(0xc00012f650, {0x213de80, 0xc0003392c0}, 0xc0001fa670?)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/fsm.go:1870 +0x236
created by github.com/osrg/gobgp/pkg/server.newFSMHandler in goroutine 11
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/fsm.go:406 +0x1e5

goroutine 16 [runnable]:
github.com/eapache/channels.(*InfiniteChannel).infiniteBuffer(0xc00006e7a0)
        /root/go/pkg/mod/github.com/eapache/[email protected]/infinite_channel.go:49 +0xe5
created by github.com/eapache/channels.NewInfiniteChannel in goroutine 11
        /root/go/pkg/mod/github.com/eapache/[email protected]/infinite_channel.go:19 +0x156

goroutine 17 [chan receive]:
github.com/osrg/gobgp/pkg/server.(*watcher).loop(0xc000338b90)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:4114 +0x5b
created by github.com/osrg/gobgp/pkg/server.(*BgpServer).MonitorTable.func1.(*BgpServer).watch.2 in goroutine 11
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:4299 +0x70f

goroutine 19 [select]:
github.com/eapache/channels.(*InfiniteChannel).infiniteBuffer(0xc00006e7c0)
        /root/go/pkg/mod/github.com/eapache/[email protected]/infinite_channel.go:49 +0xe5
created by github.com/eapache/channels.NewInfiniteChannel in goroutine 11
        /root/go/pkg/mod/github.com/eapache/[email protected]/infinite_channel.go:19 +0x156

goroutine 20 [chan receive]:
github.com/osrg/gobgp/pkg/server.(*watcher).loop(0xc000338be0)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:4114 +0x5b
created by github.com/osrg/gobgp/pkg/server.(*BgpServer).MonitorPeer.func1.(*BgpServer).watch.3 in goroutine 11
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/server.go:4299 +0x70f

goroutine 35 [select]:
github.com/osrg/gobgp/pkg/server.(*fsmHandler).sendMessageloop(0xc00012f650, {0x213de80, 0xc0003392c0}, 0xc00006ea40?)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/fsm.go:1683 +0x1ae
created by github.com/osrg/gobgp/pkg/server.(*fsmHandler).established in goroutine 34
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/fsm.go:1741 +0x1aa

goroutine 36 [IO wait]:
internal/poll.runtime_pollWait(0x7fc288fabbc8, 0x72)
        /usr/local/go/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0xc000333e80?, 0xc000125848?, 0x0)
        /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
        /usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000333e80, {0xc000125848, 0x13, 0x13})
        /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a
net.(*netFD).Read(0xc000333e80, {0xc000125848?, 0x1?, 0xc17088a04184e03f?})
        /usr/local/go/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc000482ff8, {0xc000125848?, 0x18?, 0x272f0a0?})
        /usr/local/go/src/net/net.go:179 +0x45
io.ReadAtLeast({0x2134620, 0xc000482ff8}, {0xc000125848, 0x13, 0x13}, 0x13)
        /usr/local/go/src/io/io.go:335 +0x90
io.ReadFull(...)
        /usr/local/go/src/io/io.go:354
github.com/osrg/gobgp/pkg/server.readAll({0x2143fa8, 0xc000482ff8}, 0x13)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/fsm.go:796 +0x6d
github.com/osrg/gobgp/pkg/server.(*fsmHandler).recvMessageWithError(0xc00012f650)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/fsm.go:933 +0x3a
github.com/osrg/gobgp/pkg/server.(*fsmHandler).recvMessageloop(0xc00012f650, {0x213de80?, 0xc0003392c0?}, 0xc0001fa670?)
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/fsm.go:1721 +0x5b
created by github.com/osrg/gobgp/pkg/server.(*fsmHandler).established in goroutine 34
        /root/go/pkg/mod/github.com/osrg/[email protected]/pkg/server/fsm.go:1743 +0x257

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.