staticman: "Application error" when trying to connect a new repository

I try to connect Staticman to my repository (Step 1 of “Getting Started”) but it fails with an error from Heroku.

Here is the URL I call : https://api.staticman.net/v2/connect/Ryfacto/academie.ryfacto.fr.

And the response :

<!DOCTYPE html>
<html>
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta charset="utf-8">
        <title>Application Error</title>
        <style media="screen">
		  html,body,iframe {
			margin: 0;
			padding: 0;
		  }
		  html,body {
			height: 100%;
			overflow: hidden;
		  }
		  iframe {
			width: 100%;
			height: 100%;
			border: 0;
		  }
		</style>
    </head>
    <body>
        <iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
    </body>
</html>

Thanks a lot for your help !

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 3
  • Comments: 20 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@zxdawn2 Thanks for your invitation to @staticmanlab.

  1. The link for accepting the invitation is
    https://staticman3.herokuapp.com/v3/connect/github/zxdawn2/zxdawn2.github.io/
    Explanation: You invite a GitHub/GitLab user to the whole repo, not just to a particular branch.

  2. To hook up your HTML form with Staticman API. you need /entry instead of /connect.

    <form method="POST" action="https://staticman3.herokuapp.com/v3/entry/github/{{ .Site.Params.staticman.username }}/{{ .Site.Params.staticman.repository }}/{{ .Site.Params.staticman.branch }}/comments">
    

    Note that comments is just a property name in staticman.yml. You may change it to any name you like. For example, https://github.com/okfde/offenerhaushalt.de/blob/gh-pages/staticman.yml.

However, mailgun has free account option. Why not support it?

  1. In this case, “free” as in “free beer” is offered, but not “free” as in “freedom” in GNU’s norms.
  2. @staticmanlab’s main goal is to test and demonstrate Staticman’s native GitLab support, which had not yet been merged against the master branch, so I tried my best to minimise the setup and the corresponding git diff between the dev branch at 55d14306 and my deploy branch.