unable to login to doccano

Open
#152 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by examining the reported /v1/auth/login/ request in doccano-client 1.2.7 and checking the connection to localhost:8000. Reproduce the failure with the reported setup, then establish whether the client or the doccano service is responsible and verify the login flow works after the identified change.

Written by the indexing model from the issue text.

Description

requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8000): Max retries exceeded with url: /v1/auth/login/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff268905b80>: Failed to establish a new connection: [Errno 111] Connection refused'))
[2023-07-07, 06:31:17 UTC] {taskinstance.py:1345} INFO - Marking task as UP_FOR_RETRY. dag_id=order-letter_NER, task_id=manual_review_task, execution_date=20230707T062658, start_date=20230707T063112, end_date=20230707T063117
[2023-07-07, 06:31:18 UTC] {standard_task_runner.py:104} ERROR - Failed to execute job 338 for task manual_review_task (HTTPConnectionPool(host='localhost', port=8000): Max retries exceeded with url: /v1/auth/login/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff268905b80>: Failed to establish a new connection: [Errno 111] Connection refused')); 455)

I'm using doccano-client==1.2.7

Dominant language
Python
Stars
86
Forks
67
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from doccano/doccano-client

All issues in doccano/doccano-client

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.