- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My application is connecting to an API through https and it is working fine in Emulator, but when i pushed to Server and tested in my Samsung mobile device ( A8), i am not getting the expected response, looks device couldn't able to connect to https, how could i debug this issue
- Tags:
- HTML5
- Intel® XDK
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thiru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Paul
As i mentioned earlier, my app is working fine in the Emulator, but not in device, i am not sure how this is related to OAuth techniques,
there are 2 issues currently i am facing,
1) my POST requests are failing in server since my origin is going as "file://" from device, i am calling an API and its hosted in IBM APIm
2) my GET requests are getting cancelled in device itself , i am still checking on the reasons,
Regards
Thiru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Regards,
I am facing the same problem reported in its POST, my ajax request is not sent when the testo DEBUG together with the appliance.
An important point, my destination URL is HTTPS and it gives error, when I switch to an HTTP URL does not show the error, works normal.
I will continue investigating, if you have news, send it to us ...
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Thiru, it looks like there is an SSL certificate issue. The Android webview is sensitive about SSL certificate. Make sure your site (I'm assuming you are trying to access your own site) has proper SSL certificate installed. The browsers are more forgiving about the some improper SSL certificates.
Please see this post for details on SSL certificate on Android webview:http://stackoverflow.com/questions/20036260/phonegap-android-app-ajax-requests-to-https-fail-with-status-0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Swati,,
1) i have gone through this link before and used <application android:debuggable="true"...>in my app as suggested, hence i could able to get the exact error details in device to understand why the post call is failing, but still the call is failing , i am trying to hit the SIT https URL, this is not hosted by me, i will try to hit the higher version like UAT and check.
2) also i am looking to setup http URL and check in the device, will update you
Regards
Thiru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Thiru
Seven months after your last post i am facing the same problem, can't access my database with https:// url. I read all posts but didn't see any solution. Did you manage to break it?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »