Apigee BaaS emails me weird error messages - apigee

I am using Apigee BaaS and everytime I run the cordova app that consumes these apis I get this error message in an email
[org-name-app-name timeStamp Sat Dec 27 19:52:03 UTC 2014][ Tag : CRASH][ Device Platform : android][ Platform Version : android UNKNOWN][ Device Model : UNKNOWN][ Devicd ID :794DCBC2-4D1D-9EEC-A86560412878]Error:[object Event] for url:undefined on line:undefined
What exactly is this? Why do I get this?

Apigeee BaaS SDKs also include App Performance Monitoring (APM) functionalities. APM catches crashes in iOS and Android Apps. When it comes to JS, it captures all errors and will send email notification in group depending on how frequently errors/crashes are happening and some configuration parameters. If you don't want to get notification, then you can turn off entire APM or just crash notification. To disable monitoring completely, see http://apigee.com/docs/app-services/content/monitoring-app-usage-data . Just to suppress crash notification, see http://apigee.com/docs/app-services/content/monitoring-app-errors-and-crashes section "Disabling alert.."

Related

How do you "restart" receiving Firebase Alerts on short code 44398

I often use Firebase phone auth in my applications. I have one user who religiously sends "STOP" to all text messages. Big oops. Now she can not login to any application using the system...
Short code phone # = 44398
If the user types "STOP" to that short code, the system responds with:
Firebase: You are opted out and will receive no further messages. For
HELP, reply HELP. Msg & Data rates may apply
Type "HELP", the response is:
Firebase: For more info: https://firebase.google.com/support/ -
Msg&Data rates may apply.
My question. How do you "RESTART" the service? The Firebase support page offers no help here.
I've tried "GO", "RESTART", "UNSTOP". All of those fail.
Here's a posting on how Twilio addresses the topic. Twilio uses START, YES and UNSTOP to restart a service (on long code source). Each of those fail here.
Twilio also provides a link to standards for short code expressions., but I'm not seeing anything on restarting a service.
Here is a screen shot (of my phone):

'Error: empty email address' doing postbuild in AppCenter

I'm struggling with a test project in MS App Center.
I'm trying to make app center run a Xamarin UITest after a commit.
I have added a appcenter-post-build script and after fideling with the paths I'm now getting this error:
appcenter test run uitest --app $TEAM_APP --devices $DEVICE_SET --app-path $APPCENTER_OUTPUT_DIRECTORY/PipelineTest.iOS.ipa --test-series $TEST_SERIES --locale "en_US" --build-dir $APPCENTER_SOURCE_DIRECTORY/$UITEST_PATH/bin/Debug --async --token $API_KEY --uitest-tools-dir $APPCENTER_SOURCE_DIRECTORY/appPipelineTest1/PipelineTest/PipelineTest.UITests/UITestPackage_*/tools
Preparing tests... done.
Validating arguments... done.
Creating new test run... failed.
Error: empty email address
I can't seem to find any information about which email is missing?
Any thoughts?
I asked Microsoft team directly because I had the same problem and the answer is:
"For test you need to use the user level token only, app level token was not supported.
Our test team was already working on this but currently there is no ETA on it."
I tried changing the App token to a User token and it worked.
I'm not sure why.
According to the documentation the App token should work just fine.
User API tokens have the same rights that you do as a user of App
Center. User API tokens work across all organizations and apps that
you're associated with.
https://learn.microsoft.com/en-us/appcenter/api-docs/

What is the significance of adding Google Play services to android project for push notification?

I have upgrade my worklight project from worklight 6.1 to mobilefirst 7.1. In previous project (WL6.1), pushnotification is working fine.
For mobilefirst, While checking ibm tutorials, I found this link for Adding Google Play services to your Android project.
http://www.ibm.com/support/knowledgecenter/en/SSHS8R_7.1.0/com.ibm.worklight.dev.doc/devref/t_adding_google_play_services.html
For pushnotification, is this step required? As per link, it will increase my application size. What is the significance of assming Google Service library? Can I skip it?
After configuring android pushnotification in mobilefirst 7.1 (Except adding goole service), I am facing this error on server side
com.ibm.pushworks.server.notification.gcm.GCMMediator addTokenToAndroidKey FPWSE1079W: GCM push token '##TOKEN_ID##' is not added to GCM notification key. GCM Service invocation failed (reason: Error while invoking request)
com.ibm.pushworks.server.exceptions.GCMException: GCM Service invocation failed (reason: Error while invoking request)
at com.ibm.pushworks.server.notification.gcm.GCMSender.sendToGCM(GCMSender.java:392)
at com.ibm.pushworks.server.notification.gcm.GCMSender.addTokenToAndroidKey(GCMSender.java:364)
at com.ibm.pushworks.server.notification.gcm.GCMMediator.addTokenToAndroidKey(GCMMediator.java:206)
at com.ibm.pushworks.server.core.PushServiceImpl.getNotificationKey(PushServiceImpl.java:2160)
at com.ibm.pushworks.server.core.PushServiceImpl.registerDevice(PushServiceImpl.java:613)
at com.worklight.integration.services.impl.DataAccessServiceImpl.updateDeviceToken(DataAccessServiceImpl.java:473)
......
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to android.googleapis.com:443 [android.googleapis.com/216.58.210.202, android.googleapis.com/216.58.210.234] failed: Connection refused: connect
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at com.ibm.pushworks.server.notification.gcm.GCMSender.sendToGCM(GCMSender.java:388)
... 45 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:412)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:271)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:258)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:376)
at java.net.Socket.connect(Socket.java:546)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:244)
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125)
... 56 more
Can this be GCM port opening issue or relevant to google play services?
Google has deprecated the use of GCM.jar in a project and from its perspective you should use the Google Play Services library.
For IBM MobileFirst Platform, though, the Google Play Services library is required if you need to use the Cloud Sync feature and others (by Google). If you don't need this feature don't add the library, as there is still a built-in implementation in the MobileFirst SDK for push notifications using GCM.jar.
Notes:
Starting MobileFirst Foundation 8.0, the library is now required.
In v7.1, you can still use the library regardless of the built-in fallback, but you will need to use Android's ProGuard feature to decrease the classes size to prevent the dex error ("too many classes") and in general to reduce to size.
As for the network error, it seems that your network configuration is lacking (connection refused). The documentation also lists addresses/ports that Google requires having them open/accessible to properly function.

how can i monitor iccube server and data via an external tool

I'd like to put iccube under solid monitoring so that we know when a) cube load failure or b) cube last update time exceeded the expected.
is there an api i can use to integrate with standard monitoring tools?rest, command-line etc ...
thanks in advance, assaf
Regarding the schema load failure you can check the notification service (www); you can for example receive an eMail on failure. Note that you can implement (JAVA) your own transport service to receive notifications. There is no "notification" for last update time exceeded but if you could use an external LOAD command (www) for loading your schema; in that case you will know the last update time and perform whatever logic required.
Edit: XMLA commands can be sent via any tools (e.g., Bash).
Hope that helps.

Unable to Receive Pushes in client application after Registration in BB10 Webworks

My question is similar to BlackBerry push client application subscription but still i have doubts in that ..plz clarify.My doubt is When i tried with sample Push Initiator which comes with Push SDK and Sample Push-enabled application[Push Capture] from github i can Receive Pushes in that sample application.But when i try the same logic in My own client application i am not receiving Pushes..
Steps I followed:
Registered with Push service and got Confirmation mail with AppID,Password and PPG url.
With those details i set to receive Pushes like:Called the create function and createChannel,success callback was called and it returned device token also.
But still i am not receiving Pushes in my application.Plz help where i am lagging.
Question:
How Pushes differentiate the client app and devices while sending Pushes.
NOTE:i used the same AppID which i used for sample app.
when i called create function and createChannel,success callback was called and it returned device token also. When i received Push,onInvoke event was called and action was bb.action.PUSH which denotes we received a Push..Since i didnot add Notifications to Hub i didnot recognize previously.
Also we cannot use same AppID for different applications.It will create problem

Resources