-
Notifications
You must be signed in to change notification settings - Fork 543
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
Staticman fails to create pull request when making comments #304
Comments
Try sending post requests to https://staticmanlabb.herokuapp.com instead of api.staticman.net. Staticman v3 app's limit has crossed. |
I'll try again later, but I got the following JSON response: {
"success":false,
"rawError":{
"_smErrorCode":"ERROR_PROCESSING_ENTRY"
},
"errorCode":"ERROR_PROCESSING_ENTRY"
} |
I've successfully made the Staticman App create a pull request on my other Github Pages/Jekyll Blog (hendrixjoseph/puppy-snuggles#916) I think I'm going to contact Github support. Right now I can't even reach my settings page (https://github.com/hendrixjoseph/hendrixjoseph.github.io/settings) but only in that repository. |
I would recommend the v3 URL scheme in merged PR #219, which has been @staticmanlab since the very first day of its service. |
I tried sending a request to https://staticmanlabb.herokuapp.com/v3/entry/github/hendrixjoseph/hendrixjoseph.github.io/master/comments and got the same error: {
"success":false,
"rawError":{
"_smErrorCode":"ERROR_PROCESSING_ENTRY"
},
"errorCode":"ERROR_PROCESSING_ENTRY"
} I also tried sending a request to https://staticman3.herokuapp.com/v3/connect/github/hendrixjoseph/hendrixjoseph.github.io after inviting @staticmanlab (& having it accept) and got the following error: {
"success":false,
"rawError":{
"message":"network timeout at: https://api.github.com/repos/hendrixjoseph/hendrixjoseph.github.io/contents/_data/comments/july-2019-blog-statistics/entry1563732686721.yml",
"statusCode":500
},
"errorCode":"GITHUB_WRITING_FILE"
} I think I'm going to see what the response is from GitHub support. I have an idea for a workaround if they aren't able to help me. |
@hendrixjoseph I've just visited your GH Pages, on which comments has been disabled. As a result, I can't reproduce the error and verify your claim. |
I got a response from GitHub support. Basically they said they don't know what's going on and it has to do with the Staticman app. I made my own Heroku instance (mostly because the public instance isn't working, see issues #307 and #299) and got the same error when trying to comment on /hendrixjoseph/hendrixjoseph.github.io, but not /hendrixjoseph/puppy-snuggles. The latter site works fine. I created another repo to handle comments - /hendrixjoseph/blog-comments. Staticman works fine there. Note that Anyway, it looks as if Staticman timing out when writing the file and/or making the pull request to my particular repository, maybe because the repository is too big? Issue numbers are over 6,000 at this point. I'm going to close this issue for now. |
Staticman fails to create a pull request when a comment is submitted. A new branch with the comment file is created, however.
I've upgraded from Staticman v2 to Staticman v3 (as a github app) according to Staticman issue #243. This issue happened to me with both v2 and v3 - see issue #6215.
Theories:
My page's url https://hendrixjoseph.github.io/
A direct link to a comment section https://hendrixjoseph.github.io/may-2019-blog-statistics/#reply-title
My page on GitHub.com https://github.com/hendrixjoseph/hendrixjoseph.github.io
A "mirror" of this issue on my site's GitHub hendrixjoseph/hendrixjoseph.github.io#6218
Staticman JSON Response when submitting a comment:
The text was updated successfully, but these errors were encountered: