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

Error while Deploying sensors #845

Open
urzevel opened this issue Apr 11, 2022 · 1 comment
Open

Error while Deploying sensors #845

urzevel opened this issue Apr 11, 2022 · 1 comment

Comments

@urzevel
Copy link

urzevel commented Apr 11, 2022

Hi All,

Every sensor I try to deploy ends up with the same error:

  • curl -s -X POST -H 'Content-Type: application/json' -d '{
    "name": "qhhp01-wordpot",
    "hostname": "qhhp01",
    "deploy_key": "iVCWSJSH",
    "honeypot": "wordpot"
    }' app.domain.com/api/sensor/
    +++ python -c 'import json;obj=json.load(file("/tmp/deploy.json"));print obj["uuid"]'
    Traceback (most recent call last):
    File "", line 1, in
    **File "/usr/lib/python2.7/json/init.py", line 291, in load
    kw)
    File "/usr/lib/python2.7/json/init.py", line 339, in loads
    return _default_decoder.decode(s)
    File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
    ValueError: No JSON object could be decoded

    ++ uuid=

Can anyone assist?

@wrharding
Copy link
Collaborator

I am able to successfully deploy Wordpot without modification of either the honeypot or the default configs of the MHN server. Can you wrap your outputs in ``` so there is no accidental markdown in your post?

Are you deploying a custom version of Wordpot and then trying to add the sensor later or deploying normally?

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

2 participants