Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Streamviewer SOCKET ERROR

Solved887 views17th July 2023
0
Carlos Trejo20 19th November 2021 4 Comments

Hi,

I would like to get some guidance in regards to why would we get SOCKET ERROR messages in streamviewer?

We are sending SSH commands to a device which we can ping and log in using the credentials that DataMiner uses to log in.

We know that it is very unlikely to be a protocol driver issue ( Juniper 3.0.0.4 driver) because we have other elements running the same version and not having any issues.

Image for reference:

Thanks!

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 17th July 2023
Jeeva Suria Rajah [SLC] [DevOps Advocate] commented 19th November 2021

Hi Carlos,

What is the full driver name? It will be easier for us to check more about the driver.

In the meantime, can you also please check the correct credentials for the SSH of the device?

Socket Error might also happen if another application or terminals are accessing and occupying the IP Port. Can you please check if other application or terminals is accessing the SSH session aside from DataMiner?

Carlos Trejo commented 19th November 2021

Hi Jeeva,

The protocol driver is Juniper Networks Manager 3.0.0.4. We’ve checked the credentials and they are fine as well. how could we check if any other application is accessing the SSH session using the IP port?

Jeeva Suria Rajah [SLC] [DevOps Advocate] commented 19th November 2021

Hi Carlos,

There are no specific ways to find which application is accessing the port. Usually, the port is occupied by either the Device GUI (Standalone GUI or Web GUI) or SSH Terminal. Please make sure all these are closed and restart the element again.

I see that you are using port 22. Would you also please try to use port 23 for the IP Port instead?

Carlos Trejo commented 19th November 2021

Hi Jeeva,

We are not allowed to change the port to 23. And the fact that it is working on the other 7 Juniper devices we have, makes it a bit odd.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Ive Herreman [SLC] [DevOps Enabler]13.55K Posted 19th November 2021 5 Comments

Hi Carlos,

Are you able to verify if connectivity towards the device from the DataMiner server is working as expected?

An easy way to verify this is by opening an SSH connection using putty (or similar) from the DataMiner server (which hosts the element) towards this specific Juniper.

If that’s working, it might be interesting to have a look at the SSH log file for the DataMiner server. This is logging is available on the logging pages in the system center.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 17th July 2023
Carlos Trejo commented 19th November 2021

Hi Ive,

Thanks for your response. We have checked the connection to the element, we can successfully log in through SSH using the credentials that DataMiner uses, so I think that part is working as expected.

From the SSH log file I can see this: “timeout: socket is not established”

2021-11-19 17:00:13 – 24 – Open 10.176.255.245
2021-11-19 17:00:13 – 24 – ‘Open’ completed
2021-11-19 17:00:13 – 24 – Set Timeout 10000
2021-11-19 17:00:13 – 24 – Set Connect Timeout 10000
2021-11-19 17:00:13 – 24 – Connect 22
2021-11-19 17:00:23 – 24 – Connect exception: Tamir.SharpSsh.jsch.JSchException: timeout: socket is not established
at Tamir.SharpSsh.jsch.Util.CreateSocket(String host, Int32 port, Int32 timeout)
at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)
at Tamir.SharpSsh.jsch.Session.connect()
at Tamir.SharpSsh.SshBase.ConnectSession(Int32 tcpPort)
at Tamir.SharpSsh.SshBase.Connect(Int32 tcpPort)
at Skyline.SSH.SshConnection.Connect()
2021-11-19 17:00:23 – 24 – Connect complete (10004.3984ms)
2021-11-19 17:00:23 – 24 – Close
2021-11-19 17:00:23 – 24 – Close Shell
2021-11-19 17:00:23 – 24 – Close complete
2021-11-19 17:00:23 – 24 – Open 10.176.255.245
2021-11-19 17:00:23 – 24 – ‘Open’ completed
2021-11-19 17:00:23 – 24 – Set Timeout 10000
2021-11-19 17:00:23 – 24 – Set Connect Timeout 10000
2021-11-19 17:00:23 – 24 – Connect 22
2021-11-19 17:00:33 – 24 – Connect exception: Tamir.SharpSsh.jsch.JSchException: timeout: socket is not established
at Tamir.SharpSsh.jsch.Util.CreateSocket(String host, Int32 port, Int32 timeout)
at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)
at Tamir.SharpSsh.jsch.Session.connect()
at Tamir.SharpSsh.SshBase.ConnectSession(Int32 tcpPort)
at Tamir.SharpSsh.SshBase.Connect(Int32 tcpPort)
at Skyline.SSH.SshConnection.Connect()

Ive Herreman [SLC] [DevOps Enabler] commented 19th November 2021

Hi Carlos,

Can you try to increase the timeout for the SSH connection?
It’s currently set to 10 seconds, can you try to increase it to e.g. 20 seconds?

You can do this in the element edit page under the “Moe TCP/IP settings”

Carlos Trejo commented 19th November 2021

Hi Ive,

It doesn’t seem to improve with the 20 seconds. Still getting the timeout: socket is not established:

2021-11-19 20:19:39 – 25 – Open 10.176.255.245
2021-11-19 20:19:39 – 25 – ‘Open’ completed
2021-11-19 20:19:39 – 25 – Set Timeout 20000
2021-11-19 20:19:39 – 25 – Set Connect Timeout 20000
2021-11-19 20:19:39 – 25 – Connect 22
2021-11-19 20:19:59 – 25 – Connect exception: Tamir.SharpSsh.jsch.JSchException: timeout: socket is not established
at Tamir.SharpSsh.jsch.Util.CreateSocket(String host, Int32 port, Int32 timeout)
at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)
at Tamir.SharpSsh.jsch.Session.connect()
at Tamir.SharpSsh.SshBase.ConnectSession(Int32 tcpPort)
at Tamir.SharpSsh.SshBase.Connect(Int32 tcpPort)
at Skyline.SSH.SshConnection.Connect()
2021-11-19 20:19:59 – 25 – Connect complete (20017.1453ms)
2021-11-19 20:19:59 – 25 – Close
2021-11-19 20:19:59 – 25 – Close Shell
2021-11-19 20:19:59 – 25 – Close complete
2021-11-19 20:19:59 – 25 – Open 10.176.255.245
2021-11-19 20:19:59 – 25 – ‘Open’ completed
2021-11-19 20:19:59 – 25 – Set Timeout 20000
2021-11-19 20:19:59 – 25 – Set Connect Timeout 20000
2021-11-19 20:19:59 – 25 – Connect 22
2021-11-19 20:20:19 – 25 – Connect exception: Tamir.SharpSsh.jsch.JSchException: timeout: socket is not established
at Tamir.SharpSsh.jsch.Util.CreateSocket(String host, Int32 port, Int32 timeout)
at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)
at Tamir.SharpSsh.jsch.Session.connect()
at Tamir.SharpSsh.SshBase.ConnectSession(Int32 tcpPort)
at Tamir.SharpSsh.SshBase.Connect(Int32 tcpPort)
at Skyline.SSH.SshConnection.Connect()
2021-11-19 20:20:19 – 25 – Connect complete (20015.3309ms)
2021-11-19 20:20:19 – 25 – Close
2021-11-19 20:20:19 – 25 – Close Shell
2021-11-19 20:20:19 – 25 – Close complete
2021-11-19 20:20:19 – 25 – Open 10.176.255.245
2021-11-19 20:20:19 – 25 – ‘Open’ completed
2021-11-19 20:20:19 – 25 – Set Timeout 20000
2021-11-19 20:20:19 – 25 – Set Connect Timeout 20000
2021-11-19 20:20:19 – 25 – Connect 22

Ive Herreman [SLC] [DevOps Enabler] commented 19th November 2021

Hi Carlos,

I believe it’s best to reach out to our support team, so someone can have a closer look at this.

Carlos Trejo commented 19th November 2021

I will, thanks a lot for your help and time Ive!

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs