Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection refused #3

Open
Arrmlet opened this issue Mar 1, 2019 · 4 comments
Open

connection refused #3

Arrmlet opened this issue Mar 1, 2019 · 4 comments
Labels
question Further information is requested

Comments

@Arrmlet
Copy link

Arrmlet commented Mar 1, 2019

why when I'm trying to run this code.

from dragon_rest.dragons import DragonAPI

dragon_host = '10.0.0.1'
api = DragonAPI(dragon_host,
                username='admin',
                password='dragonadmin'

I'm getting a this error

    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.102', port=80): Max retries exceeded with url: /api/auth (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa377b49160>: Failed to establish a new connection: [Errno 111] Connection refused',))
@brndnmtthws
Copy link
Owner

Hmm, looks like there might be a typo somewhere. Where is host='10.102' coming from?

@brndnmtthws brndnmtthws added the question Further information is requested label Mar 2, 2019
@Arrmlet
Copy link
Author

Arrmlet commented Mar 2, 2019

For this host 10.0.0.1 I get the same error

@brndnmtthws
Copy link
Owner

You need to use a valid IP or hostname for one the devices on your network.

@NickFlashmen
Copy link

Tell me please. Is it possible to connect to one T2 control board, 6 hash boards? How is this implemented on T1-32th? Sorry for the stupid questions. I am a "lucky" owner of 7 T2-17th ASICs. For which there are no spare parts now. And there is very little information about these devices either. Your software control of these models is actually the only one except for the factory one. And I understand perfectly well that these Asik are old shit that is no longer relevant. But all the same, I'm wondering if it's possible for T2-17 to work like T1-32 with 6 hash boards. Is it possible to attach 6 hashboards from T2-17 to g19 / 29. Control boards fail frequently and cannot be repaired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants