Webratio community mobile platform back-end url issue

16 Apr '15, 03:30 PM
3,208 Views
No Forum Badges

I use Webratio community mobile platform and have one issue our BackEnd project is pointing to the cloud not on localhost so that why we get proxy issue when we debug is. We generate and run with Web ratio cloud not localhost.

Our back-end url is: https://free7b80b-freeapp.eu.webratio.net​

Information not syncronise to MySql when we use back-end url that is above.

How can we solve this issue do you have any solution to this?

Thanks in advance

 
x 0
Follow
Answer Answer at this question and get points!
No Forum Badges

Here is the concole result that shows internal error. Any suggestion to solve this problem?

[13:26:22,315] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:31.985 DEBUG [wr.mvc.route.Router] Notifying event OnSubmitEvent.osbme4 {}
[13:26:22,325] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:31.991 DEBUG [wrm.core.PanelService] [scr17] Catching at FormService:enu5 event OnSubmitEvent.osbme4 {} - {}
[13:26:22,325] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:31.992 DEBUG [wrm.core.PanelService] [scr17] Submitting view of FormService:enu5 - {}
[13:26:22,325] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:31.993 DEBUG [wrm.core.PanelService] [scr17] Submitted view of FormService:enu5 - {
[13:26:22,335] [Oblig2-SenseIT] [phonegap]    "fld29": "admin",
[13:26:22,335] [Oblig2-SenseIT] [phonegap]    "fld31": "admin"
[13:26:22,335] [Oblig2-SenseIT] [phonegap] }
[13:26:22,335] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:31.993 DEBUG [wrm.core.PanelService] [scr17] Following event flow nf28
[13:26:22,335] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:31.994 DEBUG [wr.mvc.route.Router] Navigating route act5:act5
[13:26:22,345] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:31.995 DEBUG [wrm.core.ActionDefService] [ad4] Executing LoginService:lgu1 - {
[13:26:22,345] [Oblig2-SenseIT] [phonegap]    "password": "password",
[13:26:22,345] [Oblig2-SenseIT] [phonegap]    "username": "username"
[13:26:22,345] [Oblig2-SenseIT] [phonegap] }
[13:26:22,355] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:31.997 DEBUG [wrm.core.BackEndService] [_backend] Invoking POST users/login
[13:26:25,774] [Oblig2-SenseIT] [phonegap] 500 /proxy/https%3A%2F%2Ffree7b80b-freeapp.eu.webratio.net%2Fusers%2Flogin
[13:26:25,914] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:35.603 DEBUG [wrm.core.ActionDefService] [ad4] Executed LoginService:lgu1 - <error.Internal Error> {"errorMessage":"Internal server error"}
[13:26:25,964] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:35.604 DEBUG [wrm.core.ActionDefService] [ad4] Following flow <jump to epd4>
[13:26:26,004] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:35.604 DEBUG [wrm.core.ActionService] [act5] Following flow nf2
[13:26:26,034] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:35.605 DEBUG [wr.mvc.route.Router] Navigating route scr17:scr17
[13:26:26,074] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:35.606 DEBUG [wr.mvc.route.Router] Reached screen scr17
[13:26:26,115] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:35.606 DEBUG [wrm.core.PanelService] [scr17] Computing panel (scr17:4)
[13:26:26,167] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:35.607 DEBUG [wrm.core.PanelService] [scr17] Panel navigation finished
[13:26:26,217] [Oblig2-SenseIT] [phonegap] [console.log] 13:37:35.607 DEBUG [wr.mvc.route.Router] Finished navigation in panel scr17

 
x 0
No Forum Badges

Any update regarding this problem ?

 
x 0
Forum Hero - Level 9

Hi,

the reported behavior is due to a limitation of the Community WebRatio Platform. With the WebRatio Professional platform you can generate and debug your Data Service Project on the local machine instead of the remote Cloud space.

In order to better understand how to configure the database connection with MySQL hosted on the Cloud space you can refer to this guide: https://my.webratio.com/learn/learningobject/webratio-cloud-dashboard-user-guide.

 
x 0
No Forum Badges

Hello, 

 

Thank you for your answer. Now I am using the free cloud app. The back end is working ok, it generates the REST service but when I generate the front and notification sample app I recive "Invalid username or password". 

The username and the password should be the one from the free REST service page or that data is encapsulated and I must find it someone else ?

 

Thank you again.

 
x 0
Answer at this question and get points!