Skip to content

Error when start in python #41

@jfleclerc

Description

@jfleclerc

Hi guys I'm a beginner in programming and Python, I get this error when starting ravpy:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='0.0.0.0', port=9999): Max retries exceeded with url: /client/ftp_credentials/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f44d3c92400>: Failed to establish a new connection: [Errno 111] Connection refused'))

** my code is this:

#!/usr/bin/env python3

from dotenv import load_dotenv
from pathlib import Path

dotenv_path = Path('/home/jf/.env')
load_dotenv(dotenv_path=dotenv_path)

from ravpy.initialize import initialize
initialize(ravenverse_token='xxxxxxxxx')

from ravpy.distributed.participate import participate
participate()

** my env file is this:

RAVENVERSE_URL=http://0.0.0.0:9999
RAVENVERSE_FTP_URL=0.0.0.0

Is it because of the ravenverse url? should i change something ?
Thanks a lot and thanks for that amazing programming of yours too!

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