-
Notifications
You must be signed in to change notification settings - Fork 8
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
HTTP 503 response from urlreq.appspot.com #6
Comments
@izuzak Please, can you elaborate on the steps to have I would like to create an instance for me for better handling quota, but since Python versions are distinct between environment's default and your project, may some hacking is needed. |
If you clone the repo and make a few changes, you can get it to work. I set it all up this morning using Google App Engine. I changed a few lines in the |
Thank you @Cipher-Coder
I am already using the command Even though, using Python 3 triggers Exception from within Using Python 2, I am facing all kinds of module errors, so I had to manually |
I will be honest... I am not a Python expert. In fact, I am a Front End Developer. I use this in a dependency I have in a Chrome and FF extension that I authored and when it went down with the 503, it broke a portion of my app. So I had to do something to get back up and running quick. I know a little python from years ago when I first started. I tell you this because I am not sure I will have all the answers you are looking for. I will walk through what I did so that hopefully you can reproduce.
|
@Cipher-Coder thank you so much! By following your steps I managed to get it working. I can't tell exactly what did I miss before tho. As a first contact with I saved your steps and added some notes of mine for a next time. Thank you so so much for the help! You really helped a lot! :) By the way, if you have awareness of a opportunity for a remote backend dev (Java), I would be glad to know. :) Thanks once again! Take care. |
Sorry for not responding to this sooner, @ghjansen! And thank you, @Cipher-Coder for helping out here. I have to say that I haven't touched the deployment of this project in years. It's been happily running on AppEngine for years without me touching it. It's possible that some of the AppEngine features have been deprecated or changed so you might not be able to deploy it as is. @Cipher-Coder thanks for the detailed instructions -- I'll probably be using those myself if I decide to make any changes in the future. But I do have one question for both of you @Cipher-Coder @ghjansen -- how exactly are you using this project? The fact that the quota has been drained means that the project is being used, so I'm wondering how/why folks are using it. It was mostly a personal project I worked on for learning, not something for real-world production use, so I didn't expect folks would be using it as a dependency. If the tool is useful, I'm wondering if it would be helpful to improve it and run it somewhere with a higher quota. 💭 |
Thanks @izuzak In my case, I was looking for a portfolio (other than GitHub's profile page), so I found https://github.dev and decided to try. Apart from the supported features, I missed the contributions calendar, but I read at github/personal-website#32 about github-calendar, which is currently using your https://urlreq.appspot.com. In the beginning, all was working well for me, but I tested in the day after of having my portfolio online and the contributions calendar was gone. The HTTP 503 was the root cause. As you may notice in github/personal-website#32, I was not the only one looking for the contributions calendar, and if you actually see the numbers of this repo (used by, stars, forks) there is a reasonable amount of people involved with https://urlreq.appspot.com, just from that source. Anyway, I see that Bloggify/github-calendar#54 where you first suggested spinning up a new instance was back in 2018. I don't know your quota drain peaks, but https://github.dev was released at the beginning of this year. One possibility would be that the interest in https://github.dev let to github-calendar and consequently drained the quota, just like it happened to me. But I'm being totally speculative here. In any case, a higher quota would be appreciated, if that turns out to be possible/viable for you. I also raised the concern for a better solution at Bloggify/github-calendar#54. Thank you to consider improving, and congrats on your project! :) |
Thank you and I am sorry @izuzak I use the github-calendar library in my Dev Tabs Chrome Extension and in my Dev Tabs Firefox Extension. I had planned on re-writing the lib for a while now but never seem to get around to it. Either way.. I did not realize this library that is out there in the wild, and pretty easy to find, completely relied on someone else's free App Engine plan. In fact... If I had known that, I would have re-written the lib earlier or just rolled my own when I created the extension. I am glad you were able to get everything going and I was able to help @ghjansen |
Thanks so much for that context, @ghjansen @Cipher-Coder -- that's very helpful. ⚡️ So, yeah, it seems that the github-calendar library might be the main consumer of the quota. I'll give this some thought and maybe talk to @IonicaBizau to see if we can come up with a better solution. @Cipher-Coder no need to apologize, you did nothing wrong. The https://urlreq.appspot.com project was built to be used, and hitting quota limits is a good problem to have -- it means that there's a non-insignificant demand for it. |
Hi @izuzak, I ended up here after noticing some over quota issues. I am the author of https://www.npmjs.com/package/vue-github which is a personal project that has typically around 50 downloads a week. There isn't a ton of demand for the package but it does use https://urlreq.appspot.com under the hood, so it has also contributed to the over quota issue. I'd be happy to help to with coming up with a better solution and share some of the work/costs. |
The server responds with HTTP 503 since yesterday, for the request
https://urlreq.appspot.com/req?method=GET&url={url}
The text was updated successfully, but these errors were encountered: