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

StaticmanLab and custom domain #12

Closed
radekkozak opened this issue Oct 4, 2018 · 5 comments
Closed

StaticmanLab and custom domain #12

radekkozak opened this issue Oct 4, 2018 · 5 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@radekkozak
Copy link

radekkozak commented Oct 4, 2018

Hi, is there any chance to got this working with custom domain ?

Right now i got it working in my test repo https://radekkozak.github.io/staticman/

But the moment i use identical setup but with github pages that has custom domain -> it breaks and i get Internal Server Error 500 in the browser

Thanks

@radekkozak
Copy link
Author

radekkozak commented Oct 4, 2018

Sniffing around i managed to find more exact error i get with such setup (the minute i switch back to using github.io domain it works again)

{"success":false,"rawError":{"_smErrorCode":"ERROR_PROCESSING_ENTRY"},"errorCode":"ERROR_PROCESSING_ENTRY"}

@VincentTam
Copy link
Owner

@radekkozak Thank you for your interest in my API instance, which runs on a free Heroku dyno.

My answer won't be too technical since IT isn't my field. I'm sorry I don't really know the source of error now. I'll look into the log later.

From my limited knowledge about Staticman v3, using custom web site domain and custom GitHub/GitLab domain, say the official Popcorn demo.

@radekkozak
Copy link
Author

Hi, thanks for letting me know. Yes, i looked at all the examples but v2 is no-go unfortunatelly because it is impossible to get the green light from collaboration bot - problem that seems to be BIG for everyone these days. @staticmanlab goes through but then again - the above mentioned.

Anywho, thanks again, and i'll be grateful for any kind of info from logs that might shed some light on the problem

@VincentTam VincentTam self-assigned this Oct 4, 2018
@VincentTam VincentTam added the help wanted Extra attention is needed label Oct 4, 2018
@VincentTam
Copy link
Owner

@radekkozak Here's the entries related to your GitHub repos in log file for yesterday, which you've asked for. (I've stripped off sensitive info.) Hope this helps.

Regarding the ERROR_PROCESSING_ENTRY, since this repo is simply a demo to showcase the functionalities of Staticman v3 (development version), it's better to raise this issue in either the original Staticman project (if you think that's the problem of the stable/development version) or my fork (if you think that's specific to my own API instance). Since I've kept my changes minimal, I think the former is a better choice.

My comments:

  1. Migration to GitLab is a way to circumvent @staticmanapp's problem (detailed in Error while posting: "Too many requests" eduardoboucas/staticman#222) since GitLab does not have collaborator invites. In fact, support for GitLab has become the most wanted feature. (c.f. Support for GitLab Pages eduardoboucas/staticman#22)
  2. Please take a look at the endpoint schemes in Add GitLab support eduardoboucas/staticman#219 to avoid 404 errors.
  • GET /v3/connect/github/user/repo
  • POST /v3/connect/gitlab/user/repo/branch/property (using GET will give you a 404 error)
  • Although adding parameters in URL for a POST request to the /entry endpoint works, it's better to avoid this.
  • I've tried RESTClient, but it doesn't work. You may try other clients like Postman, but I won't be able to respond to any problems arised in the testing.

Attachment:
gh-log.txt

@samarulmeu
Copy link

@radekkozak Can you please check that you don't have notifications enabled in staticman.yml?
I got the same error, but on a subdomain on GitLab so no custom domain. I disabled notifications and everything is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants