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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Driver Smart-Serial with 2 http adicional connection dont execute session

Solved1.54K views16th July 2021
3
Juan Falcon250 10th June 2021 0 Comments

Hello

I have a driver Smart-serial by defaul with 2 aditional conexion the firt make a push of values in the port 5000 and the second it's for http requests on port 8080.

For some reason one element works well with all conections but wen i duplicate or create and other element the session do not run.

I'm using the tag (connection="N°") to  specify the conextion to use in the HTTP group.

The debug log show in the good element the start, prosessing and finish of group and the back element only start and finish without error and without content but is the same protocol.

Tanks

The code:

<Type relativeTimers="true" advanced="HTTP:HTTP Connection1;HTTP:HTTP Connection2" communicationOptions="makeCommandByProtocol">smart-serial</Type>

<Group id="114" connection="2">
<Name>getGeofences</Name>
<Description>GET /api/geofences/deviceid</Description>
<Type>poll</Type>
<Content>
<Session>14</Session>
</Content>
</Group>

<Ports>
<PortSettings name="HTTP Connection1">
<Type>
<DefaultValue>ip</DefaultValue>
</Type>
<BusAddress>
<DefaultValue>ByPassProxy</DefaultValue>
<Disabled>false</Disabled>
</BusAddress>
<IPport>
<DefaultValue>5000</DefaultValue>
<Disabled>false</Disabled>
</IPport>
<PortTypeSerial>
<Disabled>true</Disabled>
</PortTypeSerial>
<PortTypeUDP>
<Disabled>true</Disabled>
</PortTypeUDP>
</PortSettings>
<PortSettings name="HTTP Connection2">
<Type>
<DefaultValue>ip</DefaultValue>
</Type>
<IPport>
<DefaultValue>8080</DefaultValue>
</IPport>
<PortTypeSerial>
<Disabled>true</Disabled>
</PortTypeSerial>
<PortTypeUDP>
<Disabled>true</Disabled>
</PortTypeUDP>
<BusAddress>
<DefaultValue>bypassproxy</DefaultValue>
<Disabled>false</Disabled>
</BusAddress>
</PortSettings>
</Ports>

Juan Falcon Selected answer as best 16th July 2021

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Leander Druwel [SLC] [DevOps Member]2.02K Posted 10th June 2021 4 Comments

Hi Juan,

If the element is configured with IP address as localhost, I believe the element will be listening for incoming data on that specific port on the DMA server, and occupy that port.

So, I would assume that the port would be already occupied then by the first element, i.e. the second element would not be able to use these ports.

Doe the situation still occur when the first element is stopped?

Leander Druwel [SLC] [DevOps Member] Posted new comment 17th June 2021
Juan Falcon commented 10th June 2021

Dataminer is asking to an external server, even when i stop the good element other dont work, reactive the good element and only this works well. it looks like a bug but i have no errors.
Thanks

Leander Druwel [SLC] [DevOps Member] commented 10th June 2021

Juan, as you mention that DataMiner is asking to an external server, can I understand that DataMiner will take the initiative to poll for specific information? In other words, the server will not just send unsolicited messages, i.e. without DataMiner asking for it?

As if that would be the case, I would not recommend a smart-serial interface, as that is specifically designed for a device to send unsolicited messages.

If the purpose is to poll for information, I would recommend to use the ‘Serial’ interface instead of ‘Smart-Serial’

Juan Falcon commented 11th June 2021

Leander, the Smart-serial it’s because the driver is conected to a device how send mesage without ask, the 1st http conexion are using to pass the recive parameter of the device to the server and the second http conection is used to get aditional config of the server for each device. in aditional test i realise that the good element is the firt one create with the driver and other dont work, even if i delete the good element it dont work any more until change the name of drive (to make a diferent driver) and again it work with the firt element that create.
This is happening in dataminer 9.6.13.0-8747 in 10.1.3.0-9963 work ok with many device.
This is a bug?
Thanks

Leander Druwel [SLC] [DevOps Member] commented 17th June 2021

Juan, would it be possible to indicate if the IP address of your first connection is set to the IP address of the DMA, or to localhost? I’m looking into trying to replicate the issue.

You are viewing 1 out of 3 answers, click here to view all answers.
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin