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

error saving error=context canceled #11

Open
1 task done
aaronjensen opened this issue Jan 2, 2020 · 2 comments
Open
1 task done

error saving error=context canceled #11

aaronjensen opened this issue Jan 2, 2020 · 2 comments

Comments

@aaronjensen
Copy link

Prerequisites

  • 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

@tj
Copy link
Owner

tj commented Jan 3, 2020

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

@aaronjensen
Copy link
Author

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

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

2 participants