Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erros #1

Open
netbauer opened this issue Oct 22, 2020 · 0 comments
Open

Erros #1

netbauer opened this issue Oct 22, 2020 · 0 comments

Comments

@netbauer
Copy link

Hi

How can i fix that:

[2020-10-22 15:05:29,059] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.7.9/lib/python3.7/urllib/request.py", line 1350, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/root/.pyenv/versions/3.7.9/lib/python3.7/http/client.py", line 1277, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/http/client.py", line 1323, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/http/client.py", line 1272, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/http/client.py", line 1032, in _send_output
self.send(msg)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/http/client.py", line 972, in send
self.connect()
File "/root/.pyenv/versions/3.7.9/lib/python3.7/http/client.py", line 1447, in connect
server_hostname=server_hostname)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/ssl.py", line 423, in wrap_socket
session=session
File "/root/.pyenv/versions/3.7.9/lib/python3.7/ssl.py", line 870, in _create
self.do_handshake()
File "/root/.pyenv/versions/3.7.9/lib/python3.7/ssl.py", line 1139, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_ILLEGAL_PARAMETER] sslv3 alert illegal parameter (_ssl.c:1091)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File "main.py", line 31, in main
list_of_devices_axl = functions.axl_request()
File "/opt/cisco_cucm_AXL_phone_inventory_flask_sample/app/functions.py", line 79, in axl_request
'locationName': ''
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/suds/client.py", line 554, in call
return client.invoke(args, kwargs)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/suds/client.py", line 617, in invoke
result = self.send(soapenv)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/suds/client.py", line 651, in send
reply = transport.send(request)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/suds/transport/http.py", line 178, in send
return HttpTransport.send(self, request)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/suds/transport/http.py", line 78, in send
fp = self.u2open(u2request)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/site-packages/suds/transport/http.py", line 119, in u2open
return url.open(u2request, timeout=tm)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/urllib/request.py", line 543, in _open
'_open', req)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/urllib/request.py", line 1393, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/root/.pyenv/versions/3.7.9/lib/python3.7/urllib/request.py", line 1352, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: SSLV3_ALERT_ILLEGAL_PARAMETER] sslv3 alert illegal parameter (_ssl.c:1091

Which python version should I use and how can I disable SSL checks?

Thanks.

Kay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant