The answer will almost always be found in the 3 server logs or mobile client logs. You may need to turn logging levels up to find the error.
One recent issue is related to a new Generate Role Tables button on the Role screen. Be sure the role for your user doesn't have mobile tables disabled (Tables tab of the Role screen).
Check the DownloadUrl of the mobile Service Web config file is correct and downloadable it by outside of the network.
Hi Guys,
Nice to see you around
I had the same issue and solved after several troubleshooting attempts. Adding below is what happened in my scenario so it might help someone.
what caused the issue was, in the installer I changed the protocol to HTTP but the FSM Mobile Service URL was unchanged and left with https as it set default by the installer.
Mobile app identifies the service URL (http), authenticates and start initializing but it never ends!
It was identified by the URL of the last sync message that it was looking for the wrong protocol.
To solve the issue I updated the URL from the Installer.
Hi,
There can be more issues related to the syncing issue for the first time.
- Activation(check the Mobile Service URL is working or not)
- perform_login(verify the given credentials)
- initialization_started
- initialization_ended: (https:\/\//server]\//Mobile_Service]\/download\/XXXX__01.zip)
- download mobile database & attachments into the device
This is the process for mobile INIT.
In the fresh installation, usually, the problem is in step 5. Mobile fails to stream. This is happening because of download URL in the mobile web.config
Service URL should be above URL except download. Otherwise, the syncing process will be unterminated. It can be recognized, the mobile screen background will shows that Finished sync and nothing will be chaged in background. It seems,
If it is a upgrade, then problem can be the MOBILE_DATABASE_DIRECTORY(this is null for azure environments) or ATTACHMENT_DIRECTORY.
If it is a upgrade like 5.6.3 to 6 versions, then problem can be authentication problem for current user. Normally, mobile and the server send request and response by authenticate via METRIX user(message user) except PerformGetMessageForDeviceBySize. In here, person_id & encrypted password is included to the aunthenticatin part. Encrypted password can be different between 5.6.3 & 6.x because of changing app param ‘PASSWORD_STRETCH’. And also, only the english letters can be in the PERSON_ID.(ex- can’t use spanish characters).
Here I have described bit of issues related to the initializing problem.
Note - Look at Mobile Error Log in back office app(smart client) to get hint. :)
Hi,
I am also facing the above mentioned issued and performed the suggested action but issue still stand as same. Can anyone please suggest anymore changes needed. For my FSM mobile SYNC still gets started but never gets completed. Also how we can enable the logging in FSM as in current log it is showing “Mobile Service - Centralized logging is not enabled”. Anyone please suggest.
Regards
Rajesh
Hi,
I am also facing the above mentioned issued and performed the suggested action but issue still stand as same. Can anyone please suggest anymore changes needed. For my FSM mobile SYNC still gets started but never gets completed. Also how we can enable the logging in FSM as in current log it is showing “Mobile Service - Centralized logging is not enabled”. Anyone please suggest.
Regards
Rajesh
Did you manage to resolve this ?
Iam facing this issue, I follow these steps and find out the error.
I change a web config file and reinstall the FSM mobile app, now it creates a database and sync.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.