Comments (2)
stack trace below:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5930c3]
goroutine 1 [running]:
github.com/Juniper/go-netconf/netconf.(*TransportSSH).Close(0xc00008abc0, 0x5fca8d, 0xe)
/home/user/Practice/gopath/src/github.com/Juniper/go-netconf/netconf/transport_ssh.go:49 +0x33
github.com/Juniper/go-netconf/netconf.DialSSH(0x5fca8d, 0xe, 0xc000042ec0, 0xc00008ab80, 0x634ba0, 0xb)
/home/user/Practice/gopath/src/github.com/Juniper/go-netconf/netconf/transport_ssh.go:115 +0x89
main.main()
/home/user/Practice/netconf-go/main.go:22 +0x17f
from go-netconf.
If no one has any objections to this, can it please be merged?
I've tested it locally and it solves the problem for me.
from go-netconf.
Related Issues (20)
- Unexpected extra data in XML from devices HOT 10
- Netconf call home support HOT 4
- Request: make transportBasicIO public HOT 4
- is there any release plan? HOT 1
- is this repo still alive? HOT 4
- Move repo outside of Juniper org HOT 1
- issue on junos space
- Add support for SSH through Bastion
- Plan on v2 of the library HOT 1
- Please enhance DialSSHTimeout() to allow for three different timeouts HOT 1
- open alarm and netconf notifications client HOT 1
- how to reuse ssh.Client connection
- Compatible with Junos "outbound-ssh"? HOT 1
- DialSSH not closing SSH session when netconf fails. HOT 1
- NewSession:SendHello prior to ReceiveHello is better HOT 2
- h3c any netconf(ssh) call failed HOT 3
- ssh: handshake failed: EOF HOT 3
- Any plan for supporting go mod? HOT 1
- panic: when trying to close session where *TransportSSH is nil HOT 1
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 go-netconf.