mirror of
https://github.com/therootcompany/greenlock.js.git
synced 2025-03-02 14:50:45 +00:00
Couldn't make it work #14
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The package looks incredibly promising. But I couldn't make any of default examples work. Whatever example I use I get the following error:
Can you please help?
So I got past this error by specifying
packageRoot: __dirname
ingreenlock.create
. Now it just freezes up. OutputsACME Directory URL: https://acme-v02.api.letsencrypt.org/directory
and that's it. Doesn't do anything.So the error I receive in the end is
Error: connect ETIMEDOUT [mydomain.com]:80 at TCPConnectWrap.afterConnect
. All ports are open on my domain, the express runs without any problems. So what could be wrong with greenlock?I also found I needed to specify
packageRoot: __dirname
in greenlock.create to make it work. A similar fix is mentioned in #10 (comment).Apart from that I had an issue with the pkg.author format (see https://docs.npmjs.com/files/package.json#people-fields-author-contributors), but after debugging those, I did get all of it working.
Are you still seeing the timeout? If the error is literally
ETIMEDOUT [mydomain.com]:80
then maybe it's because LetsEncrypt cannot reach http://mydomain.com:80/?