on 01-25-2016 1:37 PM
Hello everybody
For me it is impossible to enroll mobile apps in Hana Cloud Platform Mobile Services. When I try to do so the enrollment fails and for each attempt the following error appears in the HCPms logs (instead of "name.of.mobile.application" it lists the name of the mobile app that I am trying to onboard😞
It is also possible to delete existing application configuratoins in the HCPms cockpit and when I edit them then some properties are not shown in edit mode that are visible in display mode. In that case the message "Application delete failed" is shown.
Is this a known problem? Is anybody else having similar difficulties?
There is a post from December that described exactly the same problem () but this was claimed to be fixed so I wonder if this problem has re-appeard somehow.
Thanks
Christian
It is most likely an inconsistency issue. I have created a new account and ported my connections over - all works properly now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gents, did you manage to get it fixed?
I'm getting similar error trying to deploy my app to HCPms from WebIDE. Mine fails during .zip file upload and the error message of web console is as fllows:
Just to add, I can delete application from HCPms but unlike Christian I can't define the URL as my virtual destination (apparently only http connection is available and I use https). I'm under impression though that all these mandatory settings get updated during deployment phase and only App ID must match.
Thanks,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Mark
in my case it was really a hiccup of the Cloud Platform Mobile Services. A person from SAP eventually fixed my account and then things worked again.
However, your problem seems different from the problem that I had. In my case the connection editor of the HCPms cockpit was behaving erratically and I could not onboard my application against HCPms.
In your case it looks more like there is "just" some sort of problem when fetching data from the backend. In your case I recommend to really trace the communication that goes into and comes out of your backend. For example, if you use the cloud connector to connect to your backend then you can enable payload tracing to take a closer look. It might well be that somehow your backend is unhappy and the errors are coming from there. In the payload trace or in the log of your backend you should get a better idea where these internal server errors are coming from.
Good luck!
Christian
Hello Christian,
I think our issue was not too different. It seems that after waiting an hour or two now placing the application on HCPms is no longer a problem. The root cause will remain unknown
With regards to the connection, I used the virtual host as you did with http protocol and this seems to work. Well, in a sense that HCPms does not have a problem with it and I can successfully ping it but...HCPms does not pass anything to the Cloud Connector. I ran a trace both in CC and in my backend system and there is no communication. So basically my app connects to HCPms and that's the end. I am not sure if there is any trace that can show communication between HCPms and HCP.
Best regards,
Mark
Hello Mark
Hmm, this sounds ugly. When HCPms was going crazy then on top of everything else the "normal" odata traffic was also behaving in weird ways.
It's hard to understand how HCPms is thinking in such cases. At least in my account logging doesn't always seem to work properly right now. If I turn on full logging both globally and for a user and then do some stuff, then some minutes later there are still no logs. If I look some hours later then sometimes things show up that are older. Usually the logs don't say very much that is helpful though as far as I have seen. When things go well and if logging cooperates then you see that things are going well. When things are not going well then there are weird messages about error codes >400 without further detail even though the backend has sent perfectly fine responses :-(.
I am looking forward to when we will have our own test installation of SAP Mobile Platform on premise. Maybe this will work a bit better...
Good luck!
Christian
Also having this issue. It appeared last Thursday, MAF login won't work on iOS, Postman HTTP REST login also fails (with and without specifying port). We have the exact same internal server error.
Postman:
Headers were Authorization and X-SMP-APPCID as per the REST API tutorial
iOS:
Which gives error in Xcode:
~~~~~~~~~ Connection failure! Error code:11 Description: Internal Error occured on the server
2016-01-25 09:44:37.195 Request #10 failed and will invalidate connection #7
2016-01-25 09:44:37.195 ER:Registration failed with error: Error Domain=HTTPRequestErrorDomain Code=11 "Internal Error occured on the server" UserInfo={NSLocalizedDescription=Internal Error occured on the server}
2016-01-25 09:44:37.196 ER:Registration failed
2016-01-25 09:44:37.197 ER:-[MAFLogonUIBaseViewController(GeneralExtension) presentError:] Error Domain=MAFLogonCoreErrorDomain Code=3 "Could not connect to the server. Check the login data." UserInfo={NSLocalizedDescription=Could not connect to the server. Check the login data., NSUnderlyingError=0x7f8bcb302420 {Error Domain=HTTPRequestErrorDomain Code=11 "Internal Error occured on the server" UserInfo={NSLocalizedDescription=Internal Error occured on the server}}}
2016-01-25 09:44:37.206 ER:Error: Could not connect to the server. Check the login data.
Error given in HCPms logs is:
#2.0#2016-01-25 14:41:07.808#+0:00#ERROR#Registration#500##Other#1453732864686003#c7c904e1-da51-4e67-a8e9-148e78af2c23#com.app.name#com.sap.mobile.platform.server.online.filter.application.AbstractSMPApplicationSettingsHandler:doInternalFilter#S0011696294#######9376#####500:Internal Server Error# #2.0#2016-01-25 14:41:07.807#+0:00#ERROR#Registration#500##Registration#1453732864686002#c7c904e1-da51-4e67-a8e9-148e78af2c23#com.app.name#com.sap.mobile.platform.server.coreservices.filter.SMPApplicationODataHandler:doFilter#S0011696294#######9376#####Internal Server Error# #2.0#2016-01-25 14:41:07.8#+0:00#ERROR#Registration###Other#1453732864686001#c7c904e1-da51-4e67-a8e9-148e78af2c23#com.app.name#com.sap.mobile.platform.server.online.common.service.base.AbstractServicePersistenceBase:rollbackOnException#S0011696294#######9376#####Application exception overridden by rollback exception#
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Jitendra, Dear Greg
Thanks to both of your for your responses
I have checked a bit further. I also tried to register through postman by posting the sample XML request from the tutorial to:
https://hcpms-<username>trial.hanatrial.ondemand.com/odata/applications/latest/<applicationname>/Capabilities
with the headers Content-Type / Authorization, and X-SMP-APPCID
To this the server replies with an internal server error:
<?xml version="1.0" encoding="utf-8"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code>ServerErrorException</code>
<message lang="en-US">Internal Server Error</message>
</error>
The HCPms log only contains this:
#2.0#2016-01-25 16:06:59.902#+0:00#ERROR####Other#1453738019895001#466cf633-aacb-4530-90b9-788f8048d914##com.sap.mobile.platform.server.support.util.service.impl.DataServiceImpl:setAppTraceObject#S0011590168#######558#####Error occured while deserializing Trace data from DB#
I also still cannot delete the existing application configurations. Even when I clear the cache, close the browser, open the browser again, open an anonymous window, go to HCPms cockpit and try to delete an application, I still get a popup saying "Application delete failed.".
The HCPms log then says:
#2.0#2016-01-25 16:11:45.21#+0:00#ERROR#Hybrid###Admin#1453738302090003#243b2c21-d936-4c92-bdfe-d4cf173de650#de.itaricon.apps.crm.servicecaseoffline#com.sap.mobile.platform.server.online.admin.handlers.SMPAdminHandler:doDelete#S0011590168#######557#####Exception:::Root cause::: # #2.0#2016-01-25 16:11:45.208#+0:00#ERROR#Hybrid###Admin#1453738302090002#243b2c21-d936-4c92-bdfe-d4cf173de650#de.itaricon.apps.crm.servicecaseoffline#com.sap.mobile.platform.server.online.admin.applications.ApplicationHandler:delete#S0011590168#######557#####Exception:::Root cause::: java.lang.IllegalStateException: Exception Description: No transaction is currently active# #2.0#2016-01-25 16:11:45.206#+0:00#ERROR#Hybrid###Other#1453738302090001#243b2c21-d936-4c92-bdfe-d4cf173de650#de.itaricon.apps.crm.servicecaseoffline#com.sap.mobile.platform.server.online.common.service.base.AbstractServicePersistenceBase:rollbackOnException#S0011590168#######557#####Application exception overridden by rollback exception#
I am really not sure how to fix this - it seems that either there is a database-related inconsistency or some buggy code has recentlybeen deployed.
It could well be that the breakage occurred on Thursday like Greg wrote - I had no problem until last Wednesday evening (European time) and today was the first day after that when I tried to continue developing and suddenly had problems with onboarding my app again after a tiny change - without having touched the backend, the cloud connector or the HCPms configuration.
Any ideas are appreciated and especially if anyone has a channel with the team that takes care of the HCPms infrastructure.
All the best
Christian
Dear Jitendra
Trust should not be an issue (at least in my case, that is). My application connects to an on premise system without requiring authentication against HCPms and by using basic authentication against the backend with fixed username / password against backend.
My Application connection has the following settings:
INFO Tab:
Enable same-origin policy: not checked
ignore case for user name: not checked
Security configuration: None
BACKEND Tab:
Backend URL: <virtual URL of backend service as defined in the cloud connector> (the same URL was working until Wednesday and continues to work through WebIDE)
Proxy Type: On Premise
Authentication Type: Basic Authentication
User Name: <backend user name for OData Service>
User Name: <backend user password for OData Service>
Maximum Connections: 20
All other settings are left at the default value.
Basically it is an anonymous service service without the App needing to login (yes, not very secure but it is only a temporary test).
So login-related issues should not matter because the service usable without login. Connection to the backend system is not the problem either - it works fine through cloud connector with Web IDE.
All of this worked until Wednesday and then it broke without making any config changes on HCPms after a simple re-deployment of the app to my test device.
The more stuff I try the more I get the feeling that there is some kind of database inconsistency or some other service problem. Most of the times the edit form for connections doesn't even show the URL for my odata service even though the URL -. the URL is not there in edit mode even though it is displayed in display mode. At other times when I tried to edit and save an existing connection I received an error message saying that a connection with this ID already exists. They really seem to have some weird problems.
All the best
Christain
could be database inconsistency issue. (it has happened in the past as well).
There was a blog posted by HCPms product management, HCP Mobile Services Trial Availability and More | SCN
You may have to create a new SCN account and do the process from the scratch again (worst case)
All the best!
Regards,
JK
Hello Christian,
I have been seeing few SCN users are having issues on HCPms trial,
well, for on-boarding, did you try it using REST client (to make sure things are working)?
Please share your findings with screenshots.
For deleting existing app config, yes, i have too experienced with same message. Well, it worked for me when i tried it in a private/incognito window.
Regards,
JK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.