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

httpreplay.exceptions.UnknownHttpEncoding: xpress #35

Open
GhostRock37 opened this issue Jun 19, 2024 · 0 comments
Open

httpreplay.exceptions.UnknownHttpEncoding: xpress #35

GhostRock37 opened this issue Jun 19, 2024 · 0 comments

Comments

@GhostRock37
Copy link

GhostRock37 commented Jun 19, 2024

I have a cuckoo3 sandbox and i have erros when i submitted a file for analysis : cuckoo.processing.errors.PluginError: Failed to run plugin Pcapreader. xpress

can you explain me if you have an idea for solve that ? thank you

2024-06-19 17:36:37 ERROR [cuckoo.processing.worker]: Failure during processing. error=Failed to run plugin Pcapreader. xpress task_id=20240619-SHL4SU_1
Traceback (most recent call last):
  File "/home/sandboxuser/Documents/cuckoonew/cuckoo3/processing/cuckoo/processing/worker.py", line 197, in _run_processing_instances
    data = instance.start()
           ^^^^^^^^^^^^^^^^
  File "/home/sandboxuser/Documents/cuckoonew/cuckoo3/processing/cuckoo/processing/post/network.py", line 312, in start
    for flow, ts, proto, sent, recv in r.process():
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/reader.py", line 130, in process
    self.tcp and self.tcp.process(ts, ip, packet)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/transport.py", line 143, in process
    s.process(ts, tcp, to_server)
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/transport.py", line 423, in process
    self.states[self.state](self, ts, tcp, to_server)
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/transport.py", line 342, in state_conn
    self.parent.handle(
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/transport.py", line 724, in handle
    while self.states[self.state](self, s, ts):
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/transport.py", line 678, in state_stream
    self.parent.handle(
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/protoparsers.py", line 285, in handle
    super(HttpsProtocol, self).handle(s, ts, protocol, sent, recv, tlsinfo)
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/protoparsers.py", line 262, in handle
    s, ts, protocols[protocol], req, self.parse_response(ts, recv),
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/protoparsers.py", line 198, in parse_response
    raise UnknownHttpEncoding(content_encoding)
**httpreplay.exceptions.UnknownHttpEncoding: xpress**

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sandboxuser/Documents/cuckoonew/cuckoo3/processing/cuckoo/processing/worker.py", line 231, in _handle_processing
    _run_processing_instances(processing_instances, ctx)
  File "/home/sandboxuser/Documents/cuckoonew/cuckoo3/processing/cuckoo/processing/worker.py", line 205, in _run_processing_instances
    raise PluginError(
  File "/home/sandboxuser/Documents/cuckoonew/cuckoo3/processing/cuckoo/processing/worker.py", line 197, in _run_processing_instances
    data = instance.start()
           ^^^^^^^^^^^^^^^^
  File "/home/sandboxuser/Documents/cuckoonew/cuckoo3/processing/cuckoo/processing/post/network.py", line 312, in start
    for flow, ts, proto, sent, recv in r.process():
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/reader.py", line 130, in process
    self.tcp and self.tcp.process(ts, ip, packet)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/transport.py", line 143, in process
    s.process(ts, tcp, to_server)
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/transport.py", line 423, in process
    self.states[self.state](self, ts, tcp, to_server)
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/transport.py", line 342, in state_conn
    self.parent.handle(
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/transport.py", line 724, in handle
    while self.states[self.state](self, s, ts):
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/transport.py", line 678, in state_stream
    self.parent.handle(
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/protoparsers.py", line 285, in handle
    super(HttpsProtocol, self).handle(s, ts, protocol, sent, recv, tlsinfo)
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/protoparsers.py", line 262, in handle
    s, ts, protocols[protocol], req, self.parse_response(ts, recv),
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sandboxuser/Documents/cuckoonew/venv/lib/python3.11/site-packages/httpreplay/protoparsers.py", line 198, in parse_response
    raise UnknownHttpEncoding(content_encoding)
**cuckoo.processing.errors.PluginError: Failed to run plugin Pcapreader. xpress**
2024-06-19 17:36:37 ERROR [cuckoo.control]: Task post stage failed. task_id=20240619-SHL4SU_1

Capture d’écran du 2024-06-19 18-11-54

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