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

Update sslblacklist_ja3.py #1083

Merged
merged 2 commits into from
Jun 10, 2024
Merged

Update sslblacklist_ja3.py #1083

merged 2 commits into from
Jun 10, 2024

Conversation

sebdraven
Copy link
Collaborator

fixe ssl3_ja3

yeti-tasks | [2024-06-10 13:48:01,044: INFO/MainProcess] Running task SSLBlacklistJA3 (TaskType.feed) yeti-tasks | [2024-06-10 13:48:01,139: ERROR/MainProcess] Traceback (most recent call last): yeti-tasks | File "/app/core/taskmanager.py", line 79, in run_task yeti-tasks | task.run() yeti-tasks | File "/app/plugins/feeds/public/sslblacklist_ja3.py", line 34, in run yeti-tasks | df = self._filter_observables_by_time(df, "last_seen") yeti-tasks | File "/app/core/schemas/task.py", line 111, in _filter_observables_by_time yeti-tasks | df = df[df[column] > np.datetime64(self.last_run)] yeti-tasks | File "/root/.cache/pypoetry/virtualenvs/yeti-9TtSrW0h-py3.10/lib/python3.10/site-packages/pandas/core/ops/common.py", line 76, in new_method yeti-tasks | return method(self, other) yeti-tasks | File "/root/.cache/pypoetry/virtualenvs/yeti-9TtSrW0h-py3.10/lib/python3.10/site-packages/pandas/core/arraylike.py", line 56, in __gt__ yeti-tasks | return self._cmp_method(other, operator.gt) yeti-tasks | File "/root/.cache/pypoetry/virtualenvs/yeti-9TtSrW0h-py3.10/lib/python3.10/site-packages/pandas/core/series.py", line 6110, in _cmp_method yeti-tasks | res_values = ops.comparison_op(lvalues, rvalues, op) yeti-tasks | File "/root/.cache/pypoetry/virtualenvs/yeti-9TtSrW0h-py3.10/lib/python3.10/site-packages/pandas/core/ops/array_ops.py", line 344, in comparison_op yeti-tasks | res_values = comp_method_OBJECT_ARRAY(op, lvalues, rvalues) yeti-tasks | File "/root/.cache/pypoetry/virtualenvs/yeti-9TtSrW0h-py3.10/lib/python3.10/site-packages/pandas/core/ops/array_ops.py", line 129, in comp_method_OBJECT_ARRAY yeti-tasks | result = libops.scalar_compare(x.ravel(), y, op) yeti-tasks | File "ops.pyx", line 107, in pandas._libs.ops.scalar_compare yeti-tasks | numpy.core._exceptions._UFuncNoLoopError: ufunc 'less' did not contain a loop with signature matching types (<class 'numpy.dtypes.DateTime64DType'>, <class 'numpy.dtypes.StrDType'>) -> None

@tomchop tomchop merged commit 9fad2e6 into main Jun 10, 2024
2 of 3 checks passed
@tomchop tomchop deleted the fix_ssl_ja3 branch June 10, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants