Skip to content

when I try to run I am getting File contains no section headers. Error #1

@bugcy013

Description

@bugcy013

(master) $ bin/sedona.py -c conf/sample-auth.json
/usr/local/lib/python2.7/dist-packages/twisted/internet/_sslverify.py:184: UserWarning: You do not have the service_identity module installed. Please install it from https://pypi.python.org/pypi/service_identity. Without the service_identity module and a recent enough pyOpenSSL tosupport it, Twisted can perform only rudimentary TLS client hostnameverification. Many valid certificate/hostname mappings may be rejected.
verifyHostname, VerificationError = _selectVerifyImplementation()

    Sedona v0.0.2
    The Application Firewall for Redis
    https://sedona.io

Traceback (most recent call last):
File "bin/sedona.py", line 253, in
main()
File "bin/sedona.py", line 166, in main
config = load_config_file(args.config_path)
File "bin/sedona.py", line 50, in load_config_file
config.read(filepath)
File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
self._read(fp, filename)
File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: conf/sample-auth.json, line: 1
'{\n'

sample-auth.json
http://paste.ubuntu.com/8080838/
Please guide me. How to fix this

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