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

Config syntax, missing ';' at index: 1073 #52

Open
reina3596 opened this issue Sep 23, 2020 · 6 comments
Open

Config syntax, missing ';' at index: 1073 #52

reina3596 opened this issue Sep 23, 2020 · 6 comments

Comments

@reina3596
Copy link

I obtain this error when I try to generate certificate with

rwssl getcert --app

In Ubuntu 18.04

@sindit
Copy link

sindit commented Sep 27, 2020

Same issue here:

Do you really want to obtain an SSL certificate for the app myapp? [Y/N] y
Activating SSL for app myapp...
Config syntax, missing ';' at index: 1061

Digitalocean droplet running Ubuntu 18.04 LTS + Serverpilot. First time I installed RWSSL (2.0.4) on this particular server. Do not have this issue on another similar server still running RWSSL version 2 (not the v2.0.4 update).

@rehmatworks please help!

@ofyalcin
Copy link

Same issue.

@MediaMaquina
Copy link

MediaMaquina commented Oct 5, 2020

I know many people comes here. And the script is confirmed not working now by the author.
So as a work around until it gets updated, do it manually for now: https://www.robertwent.com/blog/using-letsencrypt-serverpilot/
I tested it, working perfectly!

@cbesot
Copy link

cbesot commented Oct 7, 2020

Config syntax, missing ';' at index: 984 for me :)

@bfjare
Copy link

bfjare commented Oct 15, 2020

I know many people comes here. And the script is confirmed not working now by the author.
So as a work around until it gets updated, do it manually for now: https://www.robertwent.com/blog/using-letsencrypt-serverpilot/
I tested it, working perfectly!

Thanks for sharing this. Really great article and works perfectly.

@teraphy
Copy link

teraphy commented Oct 22, 2020

The error seems to stem from the nginx.py module. Simply resaving each conf file within /etc/nginx-sp/vhosts.d/ is a solution, but it will comeback since the configs are generated or modify the nginx.py module to remove the check that was added. peakwinter/python-nginx@8c10798

/usr/local/lib/python3.6/dist-packages/nginx.py
Starting at line 518
        if ";" not in data[index:] and index+1 != len(data):
            # If there is still something to parse, expect ';' otherwise
            # the Key regexp can get stuck due to regexp catastrophic backtracking
            raise ParseError("Config syntax, missing ';' at index: {}".format(index))

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

7 participants