urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fe84e2d5220>: Failed to establish a new connection: [Errno 61] Connection refused
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='query1.finance.yahoo.com', port=443): Max retries exceeded with url: /v8/finance/chart/PLUG?period1=7223400&period2=1616430229&interval=1d&events=div%2Csplits (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe84e2d5220>: Failed to establish a new connection: [Errno 61] Connection refused'))
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='query1.finance.yahoo.com', port=443): Max retries exceeded with url: /v8/finance/chart/PLUG?period1=7223400&period2=1616430229&interval=1d&events=div%2Csplits (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe84e2d5220>: Failed to establish a new connection: [Errno 61] Connection refused'))
Why do I keep getting thees four errors when trying to get live price for a stock?
ConnectionRefusedError: [Errno 61] Connection refused
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fe84e2d5220>: Failed to establish a new connection: [Errno 61] Connection refused
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='query1.finance.yahoo.com', port=443): Max retries exceeded with url: /v8/finance/chart/PLUG?period1=7223400&period2=1616430229&interval=1d&events=div%2Csplits (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe84e2d5220>: Failed to establish a new connection: [Errno 61] Connection refused'))
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='query1.finance.yahoo.com', port=443): Max retries exceeded with url: /v8/finance/chart/PLUG?period1=7223400&period2=1616430229&interval=1d&events=div%2Csplits (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe84e2d5220>: Failed to establish a new connection: [Errno 61] Connection refused'))
Why do I keep getting thees four errors when trying to get live price for a stock?