Skip to content

No JSON object could be decoded #4

@miketweaver

Description

@miketweaver

I'm trying to deploy this, and run into this error:

~$ ./spin-up.py --config spin-up.conf empire -p 443
[*] Connecting to Amazon's EC2
[*] Generating ssh keypairs
[*] Generating Amazon Security Group
[~] Starting instance, please give about 4 minutes for it to fully boot
[====================] 100%
[*] Provisioning Instance
[*] Enabling Root Logon
[*] Updating SSH Keys
[*] Restarting SSH service
[*] Installing dependencies
[*] Even more dependencies
[*] Cloning github repo
[*] Setting STAGING_KEY and Installing Empire
[*] Changing root profile
[*] Starting REST server
[*] Obtaining session id
/Library/Python/2.7/site-packages/requests/packages/urllib3/connectionpool.py:838: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/security.html
  InsecureRequestWarning)
Traceback (most recent call last):
  File "./spin-up.py", line 845, in <module>
    launch_empire()
  File "./spin-up.py", line 462, in launch_empire
    jdata = json.loads(response.content)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Any clues what to do to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions