oracle / oracle/oci-cli

NewConnectionError('<oci._vendor.urllib3.connection.HTTPConnection object at 0x124dddb50>

Open
#575 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

Hi I was trying to access streaming but it gives back this error:

oci.exceptions.RequestException: (MaxRetryError("HTTPConnectionPool(host='localhost', port=19000): Max retries exceeded with url: /20180418/streams?compartmentId=ocid1.tenancy.oc1..XXXXXXX (Caused by NewConnectionError('<oci._vendor.urllib3.connection.HTTPConnection object at 0x124dddb50>: Failed to establish a new connection: [Errno 61] Connection refused'))"), 'Request Endpoint: GET http://localhost:19000/20180418/streams
When I tried to access http://localhost:19000/20180418/streams it gives me back ERR_CONNECTION_REFUSED.

Any one know what's happening?

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.

Research direction

Start by reproducing the streaming request described in the issue and inspect how the OCI CLI selects the endpoint for /20180418/streams. Determine why the request targets localhost:19000, then verify that the streaming command reaches the intended OCI endpoint without the connection-refused error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.