I am getting the above error when trying to run the testcases.
Following are the steps:
- python fake_sas.py
- python test_main.py --
Spectrum-Access-System/src/harness/request_handler.py(135)_Request()->None
-> raise CurlError(e.args[1], e.args[0])
(Pdb) p header
['Host: localhost', 'content-type: application/json']
(Pdb) p e.args[0]
56
(Pdb) p e.args[1]
'GnuTLS recv error (-110): The TLS connection was non-properly terminated.'
(Pdb)
testcase:
======================================================================
ERROR: test_WINNF_FT_S_REG_1 (WINNF_FT_S_REG_testcase.RegistrationTestcase)
Traceback (most recent call last):
File "/SAS/16_Jan/Spectrum-Access-System/src/harness/testcases/WINNF_FT_S_REG_testcase.py", line 34, in setUp
self._sas_admin.Reset()
File "/SAS/16_Jan/Spectrum-Access-System/src/harness/sas.py", line 152, in Reset
self._tls_config)
File "/SAS/16_Jan/Spectrum-Access-System/src/harness/request_handler.py", line 79, in RequestPost
return _Request(url, request, config, True)
File "/SAS/16_Jan/Spectrum-Access-System/src/harness/request_handler.py", line 135, in _Request
raise CurlError(e.args[1], e.args[0])
CurlError: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
I am getting the above error when trying to run the testcases.
Following are the steps:
Spectrum-Access-System/src/harness/request_handler.py(135)_Request()->None
-> raise CurlError(e.args[1], e.args[0])
(Pdb) p header
['Host: localhost', 'content-type: application/json']
(Pdb) p e.args[0]
56
(Pdb) p e.args[1]
'GnuTLS recv error (-110): The TLS connection was non-properly terminated.'
(Pdb)
testcase:
======================================================================
ERROR: test_WINNF_FT_S_REG_1 (WINNF_FT_S_REG_testcase.RegistrationTestcase)
Traceback (most recent call last):
File "/SAS/16_Jan/Spectrum-Access-System/src/harness/testcases/WINNF_FT_S_REG_testcase.py", line 34, in setUp
self._sas_admin.Reset()
File "/SAS/16_Jan/Spectrum-Access-System/src/harness/sas.py", line 152, in Reset
self._tls_config)
File "/SAS/16_Jan/Spectrum-Access-System/src/harness/request_handler.py", line 79, in RequestPost
return _Request(url, request, config, True)
File "/SAS/16_Jan/Spectrum-Access-System/src/harness/request_handler.py", line 135, in _Request
raise CurlError(e.args[1], e.args[0])
CurlError: GnuTLS recv error (-110): The TLS connection was non-properly terminated.