I got this error while running below code, please helps!
stanza.Pipeline(lang='id', processors='tokenize', use_gpu=True)
full error:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /stanfordnlp/stanza-resources/main/resources_1.4.0.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001F6332F9580>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Thanks
Please help me solve this!!
Related
I've got a problem with my certificate for GitLab Integration with Kiwi TCMS. I mount my own certificate file under /Kiwi/ssl/localhost.crt
I am trying to Report bug in my TestRun and I get this message:
Internal error: HTTPSConnectionPool(host='gitlab.rosatom.local', port=443): Max retries exceeded with url: /api/v4/projects/platforms%2Fdocgen%2Fdocgenmanager2.0-frontend.git (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1125)')))
I pip installed the twitterscraper library. then i try to import it and get this error:
ConnectionError: HTTPSConnectionPool(host='free-proxy-list.net', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000000069543A0>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))
i turn on the vpn and this time i get this error :
ValueError: check_hostname requires server_hostname
what am i supposed to do ? thanks.
I want to execute the tests that work fine on my local ide, on the corporate jenkins now.
Im getting an "Errno 111" connection refused message at this part:
def driver_setup():
driver = webdriver.Remote( "http://localhost:4723/wd/hub",
desired_capabilities= capabilities)
Jenkins is giving me this log
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.1.1', port=4723): Max retries exceeded with url: /wd/hub/session (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f16c2f921c0>: Failed to establish a new connection: [Errno 111] Connection refused'))
I was using the Docker image of Yuki-Chan in GitLab but i'm having some troubles.
I get recurrent this error:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='https', port=80): Max retries exceeded with url: //target (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f10e72d7190>: Failed to establish a new connection: [Errno -2] Name or service not known',))
do you any idea about the cause?
Thank you very much!
I have installed IP webcam in my android and video streaming. If I open the url, it's showing the live video in my web browser. I am able to successfully get pictures from a live video stream using python in my local machine. But the same code doesn't work in google compute engine VM instance and via cloud function
I tried implementing few solutions posted in SO, but none of them worked.
import requests
import numpy as np
import cv2
import os
path_output_dir = 'path-folder'
count = 6
img_res = requests.get("http://ipaddress:8080/shot.jpg")
img_arr = np.array(bytearray(img_res.content), dtype = np.uint8)
img = cv2.imdecode(img_arr,-1)
cv2.imwrite(os.path.join(path_output_dir, '%d.jpeg') % count, img)
Error message in cloud function:
TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/env/local/lib/python3.7/site-packages/urllib3/connectionpool.py",
urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last):
ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.0.24', port=8080): Max retries exceeded with url: /shot.jpg (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.0.24', port=8080): Max retries exceeded with url: /shot.jpg (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out'))
192.168.0.24 is an IP address in your local network. It is not visible from the outside of your local network.
You might try Port Forwarding in your router (here is the example for Linksys), so cloud instance can see your cam via your public IP.