Skip to content

remote_pipeline: Fail to connect to server. #129

@flackbash

Description

@flackbash

Hello,

the example from the ReadMe using the remote pipeline currently yields the following error, making the remote pipeline unusable:

>>> from ccg_nlpy import remote_pipeline
>>> pip = remote_pipeline.RemotePipeline()
WARNING:ccg_nlpy.pipeline_config:Models not found. To use pipeline locally, please refer the documentation for downloading models.
INFO:ccg_nlpy.pipeline_config:Using pipeline web server with API: http://macniece.seas.upenn.edu:4001
INFO:ccg_nlpy.remote_pipeline:pipeline has been set up
>>> doc = pip.doc("Hello, how are you. I'm doing fine.")
ERROR:ccg_nlpy.remote_pipeline:Fail to connect to server.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/urllib3/connection.py", line 175, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/usr/local/lib/python3.6/dist-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/usr/local/lib/python3.6/dist-packages/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions