API Calls and open Ports

Homepage Clovertech Forums Read Only Archives Cloverleaf General API Calls and open Ports

  • Creator
    Topic
  • #55534
    Tom Righele
    Participant

    Hello all-

    My team and I have been using API Calls in cloverleaf via TCL. We’ve noticed, however, that each time we make a call, a port is being opened on our server in “Close Wait” status.

    My question: is there any way to close out these ports once we receive a message back? We always get a message back, so I’m not sure why these ports remain open. I don’t want the numbers to get so large that something crashes.

    Thanks,

    Tom

Viewing 2 reply threads
  • Author
    Replies
    • #85660
      Rob Lindsey
      Participant

      Not that this really helps but what that means to me is that a closing of the connection is not happening correctly.

      Rob

    • #85661
      Tom Righele
      Participant

      Thanks Rob-

      I looked up a few examples of TCL’s that use the tclcurl method and these calls used a cleanup function:

      $curlHandle cleanup

      This seems to do the trick! Hopefully this helps someone in the future.

      Thanks,

      Tom

    • #108781
      Minli Yang
      Participant

      Hello Tom,
      We are working on a project which we need to call APIs and send info in Json from Cloverleaf. Cloverleaf we are 6.1.8 version. Just wondered how is your project going ? Would you mind to share some information on this.

      I can be reached at
      Min Li Yang
      Phone: 250-370-8029 | email: minli.yang@viha.ca

      Thank you so much for your time.

Viewing 2 reply threads
  • The forum ‘General’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,105
Forums
28
Topics
9,278
Replies
34,382
Topic Tags
281