question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Application error" when trying to connect a new repository

See original GitHub issue

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 !

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
VincentTamcommented, Jul 11, 2019

@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.

1reaction
VincentTamcommented, Aug 3, 2019

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.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Git's 'fatal: repository not found' error quickly | TheServerSide
Frustrated by Git's 'fatal: repository not found' error message? Here are five ways to fix that problem and successfully clone, ...
Read more >
Code Repository Troubleshooting - Visual Studio App Center
It's possible when you first attempt to connect App Center to Azure DevOps (formerly VSTS) that it gets authorized under the wrong organization....
Read more >
I get an error when trying to create a site from my Github ...
Resolution: The first possible solution is to log out and log back in. If you are still having an issue, and your Github...
Read more >
Unable to connect to git remote repository - Stack Overflow
This happens because a proxy is configured in git. Since it's https proxy (and not http) git config http.proxy and git config --global ......
Read more >
Failed to load owners error using GitHub - Apple Developer
I am just starting out trying to connect Xcode to Github, ... error, saying "Failed to load owners" whenever I try to create...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found