Android Mobile Backend Starter fail with 404 not found… some times

前端 未结 4 806
灰色年华
灰色年华 2020-12-09 21:41

Last afternoon I created a project and deployed the mobile backend started. I edited the client code and sucessfully did some data insertion.

Some time (hours) after

4条回答
  •  渐次进展
    2020-12-09 22:07

    I do not completely understand what is going on, but I found a way to get rid of the 404 errors on the client side, which are caused by the App Engine side not responding. The errors reported in the app engine logs are talking about audience and client ids for the app. Those are the values you set when you configure authentication for "Secured by Client Ids".

    Mobile Backend Settings page

    I found that if I put in some placeholder string values in there, saved, and then went back to "Open (for development use only)" and saved again, the app engine would no longer have config errors and would response to the client Android app.

    At the moment I am only to the place where entries are made in the Guestbook data. But this definitely got me started again. I am hoping that if I set up authentication completely that the problem will not come back.

提交回复
热议问题