staticgen icon indicating copy to clipboard operation
staticgen copied to clipboard

error saving error=context canceled

Open aaronjensen opened this issue 5 years ago • 2 comments

Prerequisites

  • [x] I searched to see if the issue already exists.

Description

When attempting to use staticgen against a live site, it runs for some time and then I get this:

 ERROR[0008] error saving              error=context canceled url=https://mydomain/somepath/file.pdf
 ERROR[0008] error saving              error=context canceled url=https://mydomain/somepath/other-file.pdf
 FATAL[0008] error: crawling: &{%!w(string=stopping: &{%!w(string=getting process group id: %!w(syscall.Errno=3))})}

  INFO[0008] Stopping server, sending SIGTERM

Note the domain is obfuscated here and below. I'll DM the real domain in slack.

Steps to Reproduce

Use this static.json

{
  "command": "true",
  "url": "https://mydomain/"
}

Then run staticgen

aaronjensen avatar Jan 02 '20 18:01 aaronjensen

hmm did you try without command? I don't think I have it documented, but you can omit that entirely if you're running an external server

tj avatar Jan 03 '20 11:01 tj

Just did... same issue, unfortunately. I sent you the real domain in apex slack.

aaronjensen avatar Jan 03 '20 15:01 aaronjensen