Hello Dojo,
I'm creating new driver that should support http and serial (ssh) connection. I can connect to device and run command on PUTTY but when I try to do same thing from element, it will fail and send element in timeout.
I defined correct connection ID in the code. I'm sending correct command. On the Element "Edit" page it's shown correct port:22 and correct IP.
When I run command on PUTTY, Wireshark capture shows that we are sending request to port:22. When I send command from element, Wireshark capture shows that we are sending request to port 443 which is defined for http.
On StreamViewer I see port 22 when I send command.
Does anyone know why this is happening?
Hi Dario,
Am I correct in understanding that you have a driver with 2 connections, one HTTP (or HTTPS?) and one serial, where the latter is configured for port 22 (SSH)?
Since your serial command is being sent over the first (HTTP) interface, did you configure the connection option on the poll group that executes your request? connection attribute | DataMiner Docs
Streamviewer showing this command being sent on port 22 while wireshark is showing port 443 is not something I've seen happen before. Have you created a software issue task for data-acquisition to investigate? Please do include your driver and how an element would have to be configured for us to replicate the issue.
Correct understanding.
Yes, connection option is configured on poll group.
I will create software issue task. Thanks.
You can also look at the log file C: –> Skyline DataMiner –> Logging –> SLSsh.txt. This is a log file dedicated to SSH connections, as in https://docs.dataminer.services/develop/devguide/Connector/ConnectionsSerialSecureShell.html#ssh-logging.