Have you tried increasing your service memory? If you have and it doesn’t work
either, there’s a work around until you find a fix for you MaaS service.
Forget about MaaS, launch your application as a seperate service. There’s a
function in stellar “REST_GET” to make requests to REST services. The
definition of the funciton is as follows:
REST_GET(url, configs, args). An exemple of use of this function is something
like this: REST_GET(“http://hostname:8832/apply?”, null, {“ip”:”1.2.3.4”}). The
only difference from MAAS_MODEL_APPLY is that the MaaS function will hold until
it receives a response from your application while the REST_GET has a default
timeout. Besides that you can configure the timeout. More information about
REST_GET in
https://metron.apache.org/current-book/metron-stellar/stellar-common/index.html#REST_GET
.
Hope it helps.