Hi, One of our customer started facing issue in generating native mobile app. Though it was working fine before and apps were generated and used by users. Below error is appearing in service center. Also attached detailed stack error.
Error: Failed to request mobile app generation for A_Mobile (iOS) - The operation has timed out
We noticed that in "Environment Health" in Service Center, both iOS/Android Apps Service are disabled under Mobile Apps Build Service. Where all the services of OutSystems (controller, deployment & Scheduler) are in running state on server. What could be reason that iOS/Android Apps Services got disabled and what can be done to make them enabled?
Hi Khurram,
Check the Environment health tab again in Service Center. If one or more OutSystems services does not have a green checkmark
then you can restart the services for that environment by selecting it on the Environment tab in LifeTime and press the restart services link:
Regards,
Daniel
Hi,
This also happen to one of our client, that use on premises installation for the platform.
Check whether the server can communicate with nativebuilder.api.outsystems.com using port 443
Usually there is firewall that prevent access to nativebuilder.api.outsystems.com
Reff : https://success.outsystems.com/Documentation/11/Setting_Up_OutSystems/OutSystems_network_requirements
Thanks
Thanks for the replies. But just to update, network team is saying that they have done no changes in security or firewall since it was working before. Below log from service center showing integration calls to NativeBuilderServices delaying with error.
Did you already try to restart the services as I suggested in a previous reply?
Services were restarted directly from server side and also the whole server was restarted. In addition, I suggested the client to perform services restart from LifeTime as you suggested. But they are saying, there is no restart services option in LifeTime - Environments tab.
https://nativebuilder.api.outsystems.com/v1/GetHealth URL is opening fine from server and also they checked the telnet over 443, it's working.
Maybe you can try Daniel idea, but if you use on premises, do this :
1. Restart IIS
2. On Windows services, restart outsystems services (should be 4 or 5, sorry not too remember how much)
On other thing, can you try remote the server, then open web browser from the server to open nativebuilder.api.outsystems.com.
If show "{"message":"Missing Authentication Token"}" then the network is ok.
IIS restarted and services were restared as well multiple times. Browsing nativebuilder.api.outsystems.com shows "{"message":"Missing Authentication Token"}"
Kindly note that there are three enviroments (Dev, QA & Prod). iOS/Android Apps Services on QA & Prod are green and enabled. This is the problem only in Dev. In addition, in Service Studio when we go to distribute tab of mobile app, it shows error directly.
"There was an error connecting to your development environment. Confirm your connection and retry"
Application code can still be opened/changed and published. It also runs fine in browser without any problem. Applicaiton that is installed on devices is also working. Only we cannot generate Native now.
Yes this is the exact case with my client.
Only dev have problem, it seems network security doing something so dev cannot communicate with nativebuilder.api.outsystems.com
Network and ports have been checked. There seems to be no problem from this. We also have checked the nativebuilder.api.outsystems.com through Postman from the dev server and it's working fine.
Our platform server was 11.12.1, which we have upgraded to latest as well just to check if this problem resolves. But no luck. Found one more log about invalid user credentials whith Rest NativeAppBuilder service
Also tried to fiddler on Dev Server and found something similar.
Any idea what invalid user credentials?
Maybe check the lifetime, check or reconnect the dev into lifetime.