Closed raveeBunduwongse closed 10 months ago
Hi @raveeBunduwongse just to be sure we can accurately diagnose the issue, do I understand the following correctly?
10.2.0
.All of that is correct?
Hi @gkotula, that is correct, thanks for the reply!
The sample app on iOS and Android are both timing out on login to the preview sandbox Orgs.
Both iOS and Android both exhibit observed slow loading of the contentDoor JS file (>20 seconds). But only iOS experience timeout issue.
Non preview sandbox Orgs are not showing the issue.
Correct, only after Spring '23 is applied do our Connected app experience the issue, now that the Spring '23 salesforce update has been deployed, Prod Orgs is now also getting same issue.
This is happening even with the latest MSDK release 10.2.0.
Correct.
Now that the Spring '23 has been deployed to non-preview sandboxes, we can now observe slow loading of the contentDoor
JS file from file.force. Due to that, we have implemented workaround to prevent the timeout issue, but the content loading itself is still happening.
@raveeBunduwongse Thank you for the clarification 👍 You are not the first person to observe slow loading times coming from that endpoint recently. I am ensuring the proper people are notified about the possible performance degradation, but all of this is suggesting that this is likely not a Salesforce Mobile SDK issue in itself. We are internally discussing whether the SDK timeout values should be tweaked, but the core problem seems to be that slow load.
We're looking into it!
@gkotula Thank you for the reply, please do let us know if any additional information / clarification is needed!
One question @gkotula , is there any planned fix date for this issue so we can discuss with the business on the possible options. Currently this is affecting the production operation. Thanks!
Hi @raveeBunduwongse, our teams are still looking into the issue, but one thing you can try in the meantime to hold your users over until we get a fix is to increase the URL load timeout value in your Cordova config file. The other customer reporting a very similar issue has been using this as a workaround, and it seems that the endpoint is just slow enough to trigger the default load timeouts.
Apologies this is taking so long, but we are actively looking into it. Thank you for your patience!
Actually, @raveeBunduwongse what Cloud products is your Org subscribed to? Service, Marketing, etc.? Knowing how your Org is configured may expedite the solution.
Appreciate the suggestion, the workaround with the increase in timeout config has been implemented to prevent timeout.
Our subscription is Sales Cloud. Use case is to develop a custom tablet application using Salesforce Mobile SDK Hybrid for sales people to manage their sales activities - supports both iOS and Android
Closing since there is a workaround.
As of Spring 23' Release version, we've been experiencing issue on re-direct to home page on both Android and iOS devices.
salesforce-mobilesdk-cordova-plugin: 9.1.1 / 10.2.0
We've tried isolating the issue by creating from the sample app and did the following steps:
Install any sample app following the instructions: https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/hybrid_samples_build.htm
Update "Consumer Key" in bootconfig.json (using the key from XXXX_app connected app)
Build the app and run it
Login using system admin account in Sandbox
Observe redirect behavior
Observation:
iOS: The page will be blank after login and shows timeout error in the log when accessing "https://XXXXX--XXXX.sandbox.file.force.com/secur/contentDoor?"
Android: The page is redirected slowly, takes around ~30 seconds We're originally building the app using SF Mobile SDK 9.1.1 version, but has also tried replicating the issue using 10.2.0 version. To narrow down the issue, we've tried connecting the app to the Non-preview sandbox and was not able to replicate this issue on the non-preview sandbox.