Community Forum
ANVEL Licensing Options

Remote ANVEL connection fails using external API

  • Trying to go through the Python API example and to connect to a remote ANVEL instance. Failing at the call. Both of my machines (client and server) are running Windows. The ANVEL version is 2.5. I can ping both way and both firewalls are disabled. Using from ConvoyLib. Here's my call:


    And the error generated:

    TTransportException Traceback (most recent call last)
    <ipython-input-98-0b3340659f4c> in <module>()
    ----> 1 anvelapihelper.ANVELConnect("")

    C:\Program Files\ANVEL25\API\python\src\ConvoyLib\ConvoyApi\anvelapihelper.pyc i
    n ANVELConnect(ip, port)
    45 proto = TBinaryProtocol.TBinaryProtocol(trans)
    46 anvel = AnvelControlService.Client(proto)
    ---> 47
    48 trans.handle.setsockopt(IPPROTO_TCP, TCP_NODELAY, 1)
    49 return anvel

    C:\Python27\Lib\site-packages\thrift\transport\TSocket.pyc in open(self)
    111 addrs))
    112 logger.error(msg)
    --> 113 raise TTransportException(TTransportException.NOT_OPEN, msg)
    115 def read(self, sz):

    TTransportException: Could not connect to any of [('', 9094)]

    Any thoughts? Is there anything on the ANVEL side that I need to configure for it to accept that connection?

  • Found another wiki page here that I haven't seen before, trying to follow instructions here:

    Hopefully, that'll resolve my issues.

  • @rr,

    Let us know if that works for you - may also help setting the correct environment variables.

    ANVEL Support

  • Omg, it worked!!! This is awesome. I can take over the [sim] world now!