Hi Shabnam,
i'm working together with Rebecca. Now we tried to connect acumos with onap 
directly from adapter dashboard, instead of NiFi Dashboard, and that's the 
error we see in the logs of adapter when we use the format 
https://xx.xx.xx.xx:30030. ( https://xx.xx.xx.xx:30030: )

requests.exceptions.SSLError: HTTPSConnectionPool(host='200.239.93.144', 
port=30030): Max retries exceeded with url: /catalogs (Caused by 
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed: unable to get local issuer certificate 
(_ssl.c:1076)')))

full log is in attachment


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23950): https://lists.onap.org/g/onap-discuss/message/23950
Mute This Topic: https://lists.onap.org/mt/89996363/21656
Mute #honolulu:https://lists.onap.org/g/onap-discuss/mutehashtag/honolulu
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Exception happened during processing of request from ('10.42.0.1', 57452)
Traceback (most recent call last):
  File 
"/usr/local/lib/python3.7/site-packages/urllib3-1.25.8-py3.7.egg/urllib3/connectionpool.py",
 line 672, in urlopen
    chunked=chunked,
  File 
"/usr/local/lib/python3.7/site-packages/urllib3-1.25.8-py3.7.egg/urllib3/connectionpool.py",
 line 376, in _make_request
    self._validate_conn(conn)
  File 
"/usr/local/lib/python3.7/site-packages/urllib3-1.25.8-py3.7.egg/urllib3/connectionpool.py",
 line 994, in _validate_conn
    conn.connect()
  File 
"/usr/local/lib/python3.7/site-packages/urllib3-1.25.8-py3.7.egg/urllib3/connection.py",
 line 360, in connect
    ssl_context=context,
  File 
"/usr/local/lib/python3.7/site-packages/urllib3-1.25.8-py3.7.egg/urllib3/util/ssl_.py",
 line 383, in ssl_wrap_socket
    return context.wrap_socket(sock)
  File "/usr/local/lib/python3.7/ssl.py", line 423, in wrap_socket
    session=session
  File "/usr/local/lib/python3.7/ssl.py", line 870, in _create
    self.do_handshake()
  File "/usr/local/lib/python3.7/ssl.py", line 1139, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate 
verify failed: unable to get local issuer certificate (_ssl.c:1076)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/usr/local/lib/python3.7/site-packages/requests-2.23.0-py3.7.egg/requests/adapters.py",
 line 449, in send
    timeout=timeout
  File 
"/usr/local/lib/python3.7/site-packages/urllib3-1.25.8-py3.7.egg/urllib3/connectionpool.py",
 line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File 
"/usr/local/lib/python3.7/site-packages/urllib3-1.25.8-py3.7.egg/urllib3/util/retry.py",
 line 436, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='200.239.93.144', 
port=30030): Max retries exceeded with url: /catalogs (Caused by 
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed: unable to get local issuer certificate 
(_ssl.c:1076)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/socketserver.py", line 650, in 
process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/lib/python3.7/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python3.7/socketserver.py", line 720, in __init__
    self.handle()
  File "/usr/local/lib/python3.7/http/server.py", line 426, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.7/http/server.py", line 414, in 
handle_one_request
    method()
  File 
"/usr/local/lib/python3.7/site-packages/aoconversion-1.0.2-py3.7.egg/aoconversion/scanner.py",
 line 262, in do_GET
    self.replyjson([{'name': x['name'], 'id': x['catalogId']} for x in 
aa.jsonget('/catalogs')])
  File 
"/usr/local/lib/python3.7/site-packages/aoconversion-1.0.2-py3.7.egg/aoconversion/scanner.py",
 line 101, in jsonget
    resp = requests.get(nurl, cert=self.cert, verify=self.verify)
  File 
"/usr/local/lib/python3.7/site-packages/requests-2.23.0-py3.7.egg/requests/api.py",
 line 76, in get
    return request('get', url, params=params, **kwargs)
  File 
"/usr/local/lib/python3.7/site-packages/requests-2.23.0-py3.7.egg/requests/api.py",
 line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File 
"/usr/local/lib/python3.7/site-packages/requests-2.23.0-py3.7.egg/requests/sessions.py",
 line 530, in request
    resp = self.send(prep, **send_kwargs)
  File 
"/usr/local/lib/python3.7/site-packages/requests-2.23.0-py3.7.egg/requests/sessions.py",
 line 643, in send
    r = adapter.send(request, **kwargs)
  File 
"/usr/local/lib/python3.7/site-packages/requests-2.23.0-py3.7.egg/requests/adapters.py",
 line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='200.239.93.144', 
port=30030): Max retries exceeded with url: /catalogs (Caused by 
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed: unable to get local issuer certificate 
(_ssl.c:1076)')))

Reply via email to