简体   繁体   English

无法访问管理控制面板或部署 App Engine 应用程序

[英]Can't Access Admin Control Panel or Deploy App Engine App

So, about two or three hours ago, I was successful working on and able to deploy my app engine app from Eclipse to App Engine.因此,大约两三个小时前,我成功地工作并能够将我的 App Engine 应用程序从 Eclipse 部署到 App Engine。 Up until about an hour ago, however, I have been unable to do so.然而,直到大约一个小时前,我还无法这样做。 In Eclipse, when I attempted and failed the first time to deploy the app, the progress froze at 20-something% ("Precompiling...") for about 10 minutes returning an error telling me to disable precompiling in appengine-web.xml , which I did.在 Eclipse 中,当我第一次尝试部署应用程序并失败时,进度冻结在 20-something%(“预编译...”)大约 10 分钟,返回一个错误告诉我在appengine-web.xml中禁用预编译,我做到了。 Then, after another attempt, it froze for about 10 minutes on the step immediately before when precompiling would happen ("Cloning Application files"), returning a 500 server error from app engine.然后,在另一次尝试之后,它在预编译发生(“克隆应用程序文件”)之前的步骤中冻结了大约 10 分钟,从应用引擎返回 500 服务器错误。 I tried with another app engine project I have deployed successfully today and it failed the same way.我尝试使用我今天成功部署的另一个应用程序引擎项目,但它以同样的方式失败了。

To see what was going wrong, I attempted to login to the admin panel on appengine.google.com, but when I clicked one of my apps in "My Applications" it took about 1 minute to load and gave me a 403 error.为了查看出了什么问题,我尝试登录到 appengine.google.com 上的管理面板,但是当我在“我的应用程序”中单击我的一个应用程序时,加载大约需要 1 分钟,并出现 403 错误。 When I went back to try again, it took 2 minutes to load and gave me a Server error (which I assume would be a 500 server error but it didn't say, just black text and a link to report).当我回去再试一次时,加载需要 2 分钟,并给了我一个服务器错误(我认为这是一个 500 服务器错误,但它没有说,只有黑色文本和一个报告链接)。 The third time I tried, I got an error page titled "Try Again (503) - My App ".第三次尝试时,我收到一个标题为“再试一次 (503) -我的应用程序”的错误页面。

Info:信息:

  • I am using a Google Apps account.我使用的是 Google Apps 帐户。
  • The projects are new (created today)项目是新的(今天创建的)
  • The projects were deployable earlier这些项目可以更早部署
  • The only changes made to the project that gave the first error were added HTML/CSS files对出现第一个错误的项目所做的唯一更改是添加了 HTML/CSS 文件
  • No new changes were made to the 2nd project prior to my attempt to deploy after the 1st failed在第一个项目失败后我尝试部署之前,没有对第二个项目进行任何新更改
  • The only thing that maybe I could think of is I added a domain (registered and configured through Google Apps) to one of the projects in between it working and not working我唯一能想到的就是我在工作和不工作之间的其中一个项目中添加了一个域(通过 Google Apps 注册和配置)

Edit: Something that first came to mind was an outage of some sort but there appears to be no scheduled maintenance and no reported outages.编辑:首先想到的是某种中断,但似乎没有定期维护,也没有报告中断。

Edit2: It appears that I am now able to access the Dashboard for my applications but deployment is now failing the same way (500 Server Error) Edit2:看来我现在可以访问我的应用程序的仪表板,但部署现在以同样的方式失败(500 服务器错误)

This was a temporary problem.这是一个暂时的问题。 I saw it as well, and a few other complained about it on the mailing list.我也看到了,其他一些人在邮件列表上抱怨它。 The problem eventually went away.问题最终消失了。

So this is how I fixed it:所以这就是我修复它的方式:

What I did just to test was create a brand new sample project and deploy it as the first application to app engine, but I got another error that told me another admin was updating this application and in order to fix this transaction, I had to run "appcfg rollback" on the app.我只是为了测试而做的是创建一个全新的示例项目并将其作为第一个应用程序部署到 App Engine,但我收到另一个错误,告诉我另一个管理员正在更新此应用程序并且为了修复此事务,我必须运行应用程序上的“appcfg 回滚”。 So, I searched for appcfg in the eclipse plugins folder, opened a command window there and ran:所以,我在 eclipse 插件文件夹中搜索 appcfg,在那里打开命令 window 并运行:

appcfg rollback "path_to_project_in_eclipse_workspace\war"

I then deployed successfully the new test application and then deployed the original application and everything worked smoothly.然后我成功部署了新的测试应用程序,然后部署了原始应用程序,一切都顺利进行。

Not exactly sure what happened.不确定发生了什么。 A transaction could have just failed and screwed up the app on the app engine servers but the rollback command worked (Thank God.) and now I'm not having any problems.交易可能刚刚失败并搞砸了应用引擎服务器上的应用程序,但回滚命令起作用了(感谢上帝。)现在我没有任何问题。

Hope this can help someone else!希望这可以帮助别人!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM