Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Connection refused  #22

Description

@ncarboni

I am trying to use openrefine client on my local refine instance (OR 3.5.2 on M1 Mac) to get a list of all the projects. However, the command

docker run --rm --platform linux/amd64 --network=host -v ${PWD}:/data:z felixlohmeier/openrefine-client:v0.3.10 --list

result in the following error:

Traceback (most recent call last):
  File "/app/refine.py", line 35, in <module>
    __main__.main()
  File "/app/google/refine/__main__.py", line 237, in main
    cli.ls()
  File "/app/google/refine/cli.py", line 211, in ls
    projects = refine.Refine(refine.RefineServer()).list_projects().items()
  File "/app/google/refine/refine.py", line 154, in list_projects
    return self.server.urlopen_json('get-all-project-metadata')['projects']
  File "/app/google/refine/refine.py", line 114, in urlopen_json
    response = json.loads(self.urlopen(*args, **kwargs).read())
  File "/app/google/refine/refine.py", line 104, in urlopen
    (e.reason, self.server))
urllib2.URLError: <urlopen error [Errno 111] Connection refused for http://127.0.0.1:3333. No Refine server reachable/running; ENV set?>

Important to notice:

  1. Openrefine is running and it is functional!
  2. If I use the command with an instance of OpenRefine running on a server, everything works fine.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions