gpt4 book ai didi

google-app-engine - 为什么 5 年后我的 Java appengine 应用程序上有 "500 Server Error"而没有任何问题?

转载 作者:行者123 更新时间:2023-12-05 01:57:54 24 4
gpt4 key购买 nike

5 年前,我使用 Java 应用引擎创建了这个网站 ( http://speaklikewater.appspot.com/ )。它使用一些数据存储文件。

从那以后我再也没有遇到过任何问题。

但是昨天,我在访问我的网站时看到这个错误“500 服务器错误”。

Error: Server Error The server encountered an error and could notcomplete your request. Please try again in 30 seconds.

我查看了日志文件

enter image description here

我似乎有“禁用计费。正在关闭实例。”,但自从我启动该网站以来,我从未担心过计费问题。

我用的是免费版,他们控制查询次数。但是网站每天只有几个查询。

但此错误将在 24 小时后重置。已经超过 24 小时了,但我仍然遇到这个问题。

你能告诉我如何解决吗?

注意:他们给我发了这封邮件

Add your payment information by January 31, 2021, to continue usingyour App Engine standard applications. Hi Hung,

On November 30, 2019, the App Engine standard environment began usingCloud Build during deployments. Cloud Build, along with all GoogleCloud products, requires a valid form of payment. At that time, weasked you to link your App Engine projects to a billing account with avalid form of payment to continue deploying to your projects.

Starting January 31, 2021, all App Engine projects must be linked to abilling account with a valid form of payment to continue running. AppEngine apps that are not linked to a billing account with a valid formof payment by January 31, 2021, will be shut down. Running instanceswill be terminated and no new instances will be able to start until apayment method is added to the project.

This change does not impact existing App Engine Free Tiers. If yourusage remains within the free tier quota, you will not incur AppEngine charges. However, any usage above the free tier quotas willresult in charges. Before this change, if you exceeded the free tierusage, your app stopped running until the daily quota reset.

What do I need to know? Requiring a payment method helps prevent fraudand abuse, and aligns App Engine with the rest of Google Cloud. Thisallows us to spend more time delivering new features and providingsupport to you as your business grows on App Engine.

Projects using App Engine Flex or the following App Engine Standardruntimes have always required a valid form of payment and are notimpacted by this change:

Python 3 Java 11 PHP 7 Go 1.11/1.12+ Ruby NodeJS What do I need to do?To avoid disruption, follow the instructions to create a new CloudBilling account (if you don’t have one) and enable billing on your AppEngine projects.

If you rely on Free Tier as a cost control mechanism, we recommend youconsider the following alternatives to manage your App Engine costs:

Set the max_instances setting to 1 in app.yaml, to reduce the risk ofexceeding the Free Tier. This setting limits your app’s scalingability, but isn’t a hard limit, and may allow excess usage that mayincrease your bill. Set a Cloud budget alert to notify you when youare close to exceeding your budget. Manually disable your app.However, this only prevents charges related to actively running yourapp, such as instance hours, networking, etc. You will continue to bebilled for fixed costs like Cloud Storage capacity while your app isdisabled. Programmatically disable your app to limit further costsonce a certain budget threshold is met.

最佳答案

根据该电子邮件和 Google Cloud's App Engine documentation ,您需要添加付款方式,即使您只使用免费套餐也是如此。

“虽然您必须为您的帐户提供付款方式,但 App Engine 免费层没有改变也不会消失。”

关于google-app-engine - 为什么 5 年后我的 Java appengine 应用程序上有 "500 Server Error"而没有任何问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68792083/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com