-
Notifications
You must be signed in to change notification settings - Fork 116
Client Timeout Error #83
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
Comments
Add an open issue in the mitre-cti repo that could be related although it does not provide much information coincides in time. |
Hello @JuanEnriqueUST, Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Sorry folks - the TAXII server had gone down, but is back online now |
Connection seems to be working however still some issues error: The above exception was the direct cause of the following exception: Traceback (most recent call last): During handling of the above exception, another exception occurred: |
Hi @jondricek code: techniques = lift.get_techniques() error: IncompleteRead Traceback (most recent call last) File [...]AppData\Local\anaconda3\envs\py311\Lib\site-packages\urllib3\response.py:883, in HTTPResponse._raw_read(self, amt, read1) IncompleteRead: IncompleteRead(65182 bytes read, 3062680 more expected) ChunkedEncodingError: ('Connection broken: IncompleteRead(65182 bytes read, 3062680 more expected)', IncompleteRead(65182 bytes read, 3062680 more expected)) |
The issue has been resolved. The host ran out of storage. Sorry about that, folks. I'd like to put in a plug for the new ATT&CK Workbench TAXII 2.1 server. It is the successor to cti-taxii.mitre.org, and it is much more stable. It will replace the TAXII 2.0 server by the end of the year. We encourage you to plan your migrations accordingly. The usage guide for the new TAXII 2.1 REST API is available here. |
Thank you so much @seansica! And thanks for the info, i will inform myself about TAXII 2.1 and we will plan the migration of the services. |
It seems that the server is down again. We use the attackcti python library and it seems that, as you said, it uses TAXII 2.0. We will start working on an alternative that allows to make connections directly to TAXII 2.1 without using the library. In the meantime we would greatly appreciate if you could get the service up again. Thank you very much in advance. |
@JuanEnriqueUST, we're looking into the issue and will keep you posted. |
@JuanEnriqueUST, the issue should be resolved. All REST endpoints are working again. |
Hello friends!
Since a few days ago, about a week, when invoking the client it returns an error when trying to establish the connection with cti-taxii.mitre.org.
I leave here the code and the error message received, as well as the configuration used. Thank you very much in advance.
Configuration:
Python - 3.11.9
attackcti - 0.4.2
pandas - 2.2.2
stix2 - 3.0.1
taxii2-client - 2.3.0
six - 1.16.0
pydantic - 2.7.1
Code:
from attackcti import attack_client
lift = attack_client()
Error:
TimeoutError Traceback (most recent call last)
File [...]\anaconda3\envs\py311\Lib\site-packages\urllib3\connection.py:198, in HTTPConnection._new_conn(self)
197 try:
--> 198 sock = connection.create_connection(
199 (self._dns_host, self.port),
200 self.timeout,
201 source_address=self.source_address,
202 socket_options=self.socket_options,
203 )
204 except socket.gaierror as e:
File [...]\anaconda3\envs\py311\Lib\site-packages\urllib3\util\connection.py:85, in create_connection(address, timeout, source_address, socket_options)
84 try:
---> 85 raise err
86 finally:
87 # Break explicitly a reference cycle
File [...]\anaconda3\envs\py311\Lib\site-packages\urllib3\util\connection.py:73, in create_connection(address, timeout, source_address, socket_options)
72 sock.bind(source_address)
---> 73 sock.connect(sa)
74 # Break explicitly a reference cycle
TimeoutError: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder
...
--> 507 raise ConnectTimeout(e, request=request)
509 if isinstance(e.reason, ResponseError):
510 raise RetryError(e, request=request)
ConnectTimeout: HTTPSConnectionPool(host='cti-taxii.mitre.org', port=443): Max retries exceeded with url: /stix/collections/95ecc380-afe9-11e4-9b6c-751b66dd541e/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000002813341C750>, 'Connection to cti-taxii.mitre.org timed out. (connect timeout=None)'))
The text was updated successfully, but these errors were encountered: