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

503 error using v3 endpoint #307

Closed
onwingslikeeagles opened this issue Jul 23, 2019 · 15 comments
Closed

503 error using v3 endpoint #307

onwingslikeeagles opened this issue Jul 23, 2019 · 15 comments

Comments

@onwingslikeeagles
Copy link

Hello,

Our team has been using v3 endpoint of the application for a while now and we're experiencing a 503 error. This normally infers an issue with the application's end, so I'm pinging @eduardoboucas for assistance on getting the application back up to speed, if needed.

@casually-creative
Copy link

Working on the same project, as unpreceden7ed, giving a screenshot of the error. Seems to be CORS related.

image

@casually-creative
Copy link

casually-creative commented Jul 26, 2019

I want to make a statement to our progress.

We moved away from the public instance because it's not working anymore, as what this issue is about. We have set up our own instance on heroku and it's working fine as of now. However, we didn't clone this repository because apparently, it's in a broken state. Instead, we cloned the deploy branch of @VincentTam's fork. He went through the effort of merging PRs which brought the repo back to a working state, as explained in #299. Thank you Vincent for that!

So to recap: the public instance is broken because of a CORS / internal issue, the self-hosted instance is broken because of legacy functionalities not working because of v3.

Pinging @eduardoboucas to make you aware of this situation.

@dancwilliams
Copy link

Thanks for the great info. Looks like I need to spin up a new instance for myself. Always fun.

@VincentTam
Copy link
Contributor

I also hit this error by using the default API endpoint in the theme Hugo Future Imperfect Slim.

Screenshot_2019-08-16_23-15-28

Needs to try other instances:

VincentTam added a commit to VincentTam/hugo-future-imperfect-slim that referenced this issue Aug 17, 2019
which is in turn a port from halogenical/beautifulhugo#222.  Introduced true
nested comments with reply functionality.

1. Reply target anchors to easily jump between replies.
2. Interactive reply target display with Gravatar and name.
3. Improved input type for "website" field.
4. Implemented FR pacollins#63 to construct POST URL in JS.
5. Clearer instructions for Google reCAPTCHA v2.
6. Introduced some SCSS variables for layout control
7. Fixed missing "id" attribute in each comment.
8. Fixed missing translation UI text for Staticman forms.
9. Changed default API endpoint to the one serving @staticmanlab due to
eduardoboucas/staticman#307.
VincentTam added a commit to pacollins/hugo-future-imperfect-slim that referenced this issue Aug 22, 2019
* Staticman nested comments support from Huginn

which is in turn a port from halogenical/beautifulhugo#222.  Introduced true
nested comments with reply functionality.

1. Reply target anchors to easily jump between replies.
2. Interactive reply target display with Gravatar and name.
3. Improved input type for "website" field.
4. Implemented FR #63 to construct POST URL in JS.
5. Clearer instructions for Google reCAPTCHA v2.
6. Introduced some SCSS variables for layout control
7. Fixed missing "id" attribute in each comment.
8. Fixed missing translation UI text for Staticman forms.
9. Changed default API endpoint to the one serving @staticmanlab due to
eduardoboucas/staticman#307.

* Added image alt text in response to the review bot

Gravatar alt text wasn't there in the original code, but I agree with the bot.

* Fixed clearForm() to clear fields after submit

* Set opacity to 0.5 when submitted

* Regenerated resources

* Fixed clearForm() again to empt textarea

* Corrected Eng submission msg
VincentTam added a commit to VincentTam/hugo-swift-theme that referenced this issue Aug 23, 2019
So as to match the change in Staticman's default API introduced in onweru#36.  Note
that onweru#36 is a breaking change. for users who have set Staticman `endpoint` to
the empty string "".  However, the official production instance has already
broken, as reported in eduardoboucas/staticman#307, so this commit is simply an
info update.
VincentTam added a commit to VincentTam/beautiful-jekyll that referenced this issue Aug 28, 2019
Staticman official instances are unavaible, as reported in eduardoboucas/staticman#307
@alexwaibel alexwaibel assigned alexwaibel and unassigned alexwaibel Nov 8, 2019
@alexwaibel
Copy link
Collaborator

I've picked up this project. The staticman public instance is not functional right now and your best bet is rolling back to a previous commit you know was working before and self hosting.

@alexwaibel
Copy link
Collaborator

Duplicate of #317

@alexwaibel alexwaibel marked this as a duplicate of #317 Nov 8, 2019
@RyanTG
Copy link

RyanTG commented Jul 9, 2020

@VincentTam I still get this error, using staticman master ("deploy to heroku"), and Hugo Future Imperfect Slim. I assumed that this master branch would have resolved this at this point (based on #319 and such). Do you have any tips?

@VincentTam
Copy link
Contributor

@VincentTam I still get this error, using staticman master ("deploy to heroku"), and Hugo Future Imperfect Slim. I assumed that this master branch would have resolved this at this point (based on #319 and such). Do you have any tips?

@RyanTG I'm sorry I'm now occupied with my job training & I'm learning C#. I haven't followed the development of Staticman for a year. I might retake this if I've free time again.

@RyanTG
Copy link

RyanTG commented Jul 15, 2020

No problem, good luck with your training. I opted to use staticmanlab, and that's been working for me. But, I question if that's a sustainable approach, given that you're not actively involved. But at any rate, thanks for that tool!

@VincentTam
Copy link
Contributor

No problem, good luck with your training. I opted to use staticmanlab, and that's been working for me. But, I question if that's a sustainable approach, given that you're not actively involved. But at any rate, thanks for that tool!

I'll leave this question to others, while trying to find time to pick up Node.JS (maybe several months) later.

@alexwaibel
Copy link
Collaborator

@RyanTG when did you deploy Staticman to Heroku? Prior to about 9 days ago when #346 was merged, master was still broken. As of right now, deploying master to Heroku should be working. As far as sustainable approaches, this project currently in need of maintainers. I do my best to resolve any breaking issues as they pop up but do not have much time to actively work on Staticman development lately.

@RyanTG
Copy link

RyanTG commented Jul 15, 2020

Yes, it was within 9 days (7 days ago).

I don't know enough about staticmanlab to know what is different with that setup. But once it worked with that app, I gave up on troubleshooting my 503 error.

@shaftoe
Copy link
Collaborator

shaftoe commented Jul 15, 2020

@alexwaibel I can confirm master works on Heroku, or at least the master I forked yesterday: https://github.com/shaftoe/staticman

I might have some time to help out here, where should I start from?

@alexwaibel
Copy link
Collaborator

alexwaibel commented Jul 15, 2020

@alexwaibel I can confirm master works on Heroku, or at least the master I forked yesterday: https://github.com/shaftoe/staticman

I might have some time to help out here, where should I start from?

I'd greatly appreciate your contributions @shaftoe! The highest-value item right now is definitely updating the docs on the website. They're super out of date at the moment so it would help a lot of new users if we added things like notes about setting up Heroku instances and whatnot. Should be a good starter task too getting used to the whole system. Right now we have some great articles that I've been pointing users to, but having this info on the site would be better.

Relevant links:

@RyanTG
Copy link

RyanTG commented Jul 15, 2020

I wonder if my issues were theme-related. I read all those relevant links when setting it up. I'll give it a shot with another theme, not https://github.com/pacollins/hugo-future-imperfect-slim, just to rule that out.

caiopavanelli pushed a commit to caiopavanelli/staticman that referenced this issue Aug 17, 2020
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

7 participants