function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
WeipingWeiping 

Salesforce Login Timeout from Portal user using IPAD

We are developing an IPAD application using Portal user license to connect to SF.com, then retrive CyberU learning classes. However, the user somtimes gets login error when there is low bandwidth - See the error detail below:

Error:

 Can't connect to Salesforce: Error Domain=NSURLErrorDomain Code=-1001 "The Request Timed Out." UserInfo=0x1f57b0f0 {NSErrorFailingURLStringKey=https://test.salesforce.com/id/00DK0000008ygNTMAY/005K0000001aCdWIAU, NSErrrorFailingURLKey=https://test.salesforce.com/id/id/00DK0000008ygNTMAY/005K0000001aCdWIAU ....

 

And it asks for Retry


We’d like to be able to work around the prompt.
- What can cause the propmt as shown?
- Can we reduce the amount of time it takes to prompt the user that there is no response from SF?
- Can we modify the look of the prompt to make it consistent with the rest of the app and remove the language currently in the message?

 

Appreciate the help.

 

Thanks,

Weiping

Gaurav KheterpalGaurav Kheterpal

Is this a native or hybrid app?

 

Regardless, for the #3 that you mentioned - "Can we modify the look of the prompt to make it consistent with the rest of the app and remove the language currently in the message?"

 

It is currently NOT possible. This was a similar thread opened some time back - http://boards.developerforce.com/t5/Mobile/Redirecting-to-error-html-in-iOS-salesforce-Sdk/td-p/681825

 

I hope this helps.