Eclipse and Google App Engine: " Registration with Endpoints Server...FAILED!" - eclipse

i've got a problem with google appengine and eclipse.
I'm going and try to be very specific:
I'm trying to make it work NOT locally, so i've done the following:
1) create a project in the google developer console
2) created a google app engine new project in eclipse passing the project number and the api key obtained in the google developer console
3) deployed the app engine project on appengine.google.com, and it says that the state is "running"
4) to do the previous point i had to give the app id number generated in the developer console
5) i set this variable: LOCAL_ANDROID_RUN to false, because i want to do it online
that's it, i get the following error:
2) Registration with Endpoints Server...FAILED!
Unable to register your device with Cloud Endpoints server running at https://myapp.appspot.com/_ah/api/ etc etc
Ah and "myapp" is not a generalization i made to hide the app id of my app, thats exactly what it tells, it seems like the id i gave it is not passed to the url...
I've been trying this for 2 hours, it's getting painful, please help me!^^

Related

Creating Google Cloud project loads indefinitely

I can't create a project at all.
I click Create Project and it loads indefinitely, never creating a project.
There is no error, there is nothing.
All I want is a Google Maps API Key for a college project.
I signed into my Google Account, went to https://console.cloud.google.com/ to try and generate an API Key.
In order to generate an API Key I need to create a project, which I can't do.
I have seen these issues: Unable to Create Google Cloud Console Project
How to Create a Project in Google Developers Console
So I went to https://admin.google.com and I signed in with my Google Account, which resulted in the following:
Here I click on Add account, I enter my Google Account credentials again and it gives me the same page asking me to Choose an account -> Add account. No matter how many times I log in with my Google Account I always end up in the same place.
How can I create a Google Console Cloud project ?

Unable to run Echo Bot Google Messaging API. Doesn't reply to "card", "carousel", "chips" strings

I just started Google Messaging APIs 3-5 days ago and couldn't figure out what did I go wrong. I already sent/asked this issue to Google's Support page.
Project is under my generic google account. I created a Service Account under this project for info#ourdomain.com and added it as a Project > Editor role. Got this Json keys, uploaded them together with my python Echo Bot files.
Done registering my partner account as well (info#ourdomain.com) and got verified with the Project Number connected that's in my generic google account. I don't know if this is the right setup where my partner account and project ID are from different Google Accounts (info#ourdomain.com and generic#gmail.com, respectively).
Echo bot sample I used: https://github.com/google-business-communications/bm-python-echo-bot/tree/master/full_sample
Logs:
I'm very familiar with programming Google's services but was unaware of Business Messages until I saw your question (it's interesting, thanks).
There are a couple of references to "select the project that you registered for Business Messages".
Often Google enable non-GA|non-public APIs and other functionality (sometimes by injecting service accounts into the project's policy) by having users register Project IDs and Google accounts. I suspect that's what's happening here and the functionality is either blocked or not working entirely by your use of a different Project.
You may be able to gain more insight from the problem by checking logs. IIUC, an App Engine app is deploy and you should be able to gcloud app logs read --project=[[YOUR-PROJECT-ID]] (or gcloud app logs tail --project=[[YOUR-PROJECT-ID]])

Adding Existing SAPUI5 Applications in HANA Cloud Portal site

I am new to HANA Cloud portal. I have created a standalone SAPUI5 Application following the below steps:
SAP HANA Cloud Platform
I have not set any destinations since I am using dummy data for now. The app works fine standalone but when I add it to a site in the HANA cloud portal the application fails with the error "could not open App.Try again Later". I have followed the below steps. Please let me know if I have missed put anything:-
1) Created a site from the site directory screen with a blank site temppplate.
2) Next I selected the app I want to add into the site from the account apps section in the left navigation inside the flpportal service and added it[using the forward icon].
3) Then when I try to add it as a menu configuration it shows up in the list and gets added but when I publish the site I get the above error mentioned.
Am I missing any step or doing it wrong altogether? BTW I am using a HANA trial account for now.
Also, I would like to know whether this is the correct way to do it. Also, any documentation on the same will be helpful
Adding the error description. The name of the app is Kpidemo:

Unable to Publish .Net backend Service Project into Mobile App service

I have recently migrated my .NET backend Mobile service to App Service, then I tried to publish the updated Service Project to the App Service but it is failing and getting an error saying
Severity Code Description Project File Line Suppression State
Error Web deployment task failed. (Connected to the remote computer ("******.publish.azurewebsites.windows.net") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.)
I have downloaded the Publish Profile from the portal Mobile app command Get Publish Profile option.
Then I imported it to my service project under publish wizard using Import option, I got two profiles one is FTP another one is Web Deploy I tried both option but no luck.
According to the error message it is saying UNAUTHORIZED so, where can I get/see the user name and password of my Mobile App in Azure Portal?
Thanks,
Narendra Macha.
This is a known issue for which a fix is in progress. You can workaround this by adjusting the publish settings to use the scm endpoint for your site, as captured here.

How to deploy web application onto Google App Engine

This may be a vague question but I have been unable to find any help/tutorials specific to my situation and am stuck.
I have built a website using Eclipse (Dynamic Web Project.) I then deployed this application using Tomcat and can see it by going to localhost, however, I am struggling on how to actually deploy it to the cloud.
I am trying to use Google App Engine but am open to other (free) alternatives for deploying my web application.
With Google App Engine, I registered for an account, made a new project, connected it to my github repository and confirmed the correct code is listed.
However, when navigating to project_id.appspot.com (mine is http://mapp-development.appspot.com) I get a 404 error.
I have attempted various deployments and even made an entirely new Google Web Application Project in Eclipse for testing which worked but weirdly deployed to http://1-dot-mapp-develop.appspot.com/ and is the test files which I do not know how to correctly modify.
Is there any way to upload/deploy my existing web application to Google App Engine (as a .war or otherwise)?
I am new to web development and apologize for any unclear specifications. Any help would be greatly appreciated!
Edit: I have also tried (in Eclipse) right clicking the project and choosing "Deploy to App Engine" under Google however it states "mapp-website is not an App Engine project".
Edit2: I had a stupid mistake, I confused my Project ID (mapp-development) and app id (mapp-develop). I am able to successfully make a new Google web project and deploy it to mapp-develop.appspot.com
Sorry for the trouble!
Here are three ways to deploy:
Make an App Engine project in Eclipse
Deploy via Git
Deploy via GitHub
It seems like you tried #1 with a project named 1-dot-mapp-develop. If you select deploy from Eclipse, a dialog box will pop up with a link to "App Engine Project Settings" where you can change the project name (to mapp-development and version).