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
DD-WRT NGINX proxy gives error sed: bad regex '.*\("error":\{[^\}]*\).*': Invalid contents of {} #968
Comments
please give |
I did run acme.sh with --debug 2 (didn't mention it in the 'steps to reproduce as it was not relevant for reproducing the error, but added it now) and attached the resulting log file. Or is there something more/else to do? |
just paste the output of |
I had the log file attached to to first post, but here you are: `[Wed Aug 9 21:27:07 CEST 2017] Using config home:/jffs/ssl Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG] Open a pipe to IP:PORT or FILE
` |
don't paste the log file. copy and paste the output of the command in your terminal window.
|
`[Fri Aug 11 14:17:35 CEST 2017] Using config home:/jffs/usr/ssl ' HTTP/1.1 201 Created ' HTTP/1.1 202 Accepted77. ' HTTP/1.1 400 Bad Request ' Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG] Open a pipe to IP:PORT or FILE
` |
why do you use can you please use |
Gives similar result:
A ShieldsUP! scan shows port 80 open when I am running NGINX on that port. |
Hi Neil, Thanks for your tutorial - I appreciate your work and time invested in this. I have also tried to run/make this work, but I was unable to do so, please see below the output: Any ideas/suggestions are welcome. root@cyrax: You did not enable USB automount. Proceed with download and install of opkg? (y/n) [default=n]:
[Fri Aug 18 09:29:30 BST 2017] Run pre hook:'stopservice lighttpd'
HTTP/1.1 201 Created HTTP/1.1 202 Accepted HTTP/1.1 201 Created HTTP/1.1 202 Accepted HTTP/1.1 400 Bad Request Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG] Open a pipe to IP:PORT or FILE
root@cyrax:/jffs/usr/ssl# |
Hello, I have same issue with Alpine Linux edge branch. |
Seems like the {} characters shouldn't be escaped because they are in strong quotes. For me, it helps when I replace ciao, |
Hello, I'm currently having the same issue in openwrt. I've tried using GNU sed and busybox sed and both fail. Has anyone managed to solve it? |
acme.sh.log.txt
I installed the latest acme.sh on DD-WRT v3.0 latest build. Used opkg to install nginx and followed the wiki steps.
Steps to reproduce
./acme.sh --issue --tls -d <mydomain> --home /jffs/usr/ssl --ca-path /opt/etc/ssl/certs --pre-hook "stopservice lighttpd" --post-hook "startservice lighttpd" --debug 2
Debug log
Attached.
The text was updated successfully, but these errors were encountered: