I’m including backendless in my javascript file using the following url: http://api.backendless.com/sdk/js/latest/backendless.min.js
Everything was working great until yesterday morning. I started receiving a timeout error because the file is failing to load. The error message in the Chrome console is:
Failed to load resource: the server responded with a status of 400 (Bad Request)d @ backendless.min.js?=1458722482230:19
backendless.min.js?=1458722482230:20 error: Service invocation failed by timeout
I even tried executing my services from the Business Logic tab on the backendless website. I got the same error.
Can you help?
Thanks!
Anyone have a chance to look at this? It’s kind of urgent.
Hi Phil,
how exactly do you include the backendless.js file? If you go directly to http://api.backendless.com/sdk/js/latest/backendless.min.js , will you see this error?
Stanislav
I don’t see the error when I visit the link you mentioned. This is how I’m including the file in my code:
<script type="text/javascript">
var script=document.createElement('script'),
url = ((window.location.protocol == 'file:') ? "http:" : window.location.protocol) + "//api.backendless.com/sdk/js/latest/backendless.min.js";
script.type='text/javascript';
script.src=url;
$("body").append(script);
</script>
That’s how I’ve included it since I’ve been using Backendless and I’ve never had any problems.
Have you tried to include it simpler:
<script src='//api.backendless.com/sdk/js/latest/backendless.min.js'></script>
That still doesn’t work. I’m getting the same error. Also, I’m using hosted services and they also don’t work in the Business Logic tab. I get this error when I try to run a hosted service in the Business Logic tab:
“code”: 14005,
“message”: “Service invocation failed by timeout”
Just emailed it to you.
Assigned tag BKNDLSS-12120
Делаю по примеру Hosted Services Quick Start - Java
Выскакивает следующее
{
“code”: 14005,
“message”: “Service invocation failed by timeout”
}
Подскажите что не так
Как уже сказано выше, нужно исключить классы из backendless.jar и weborb.jar.
Т.е из моего ShoppingCartService.jar. удалить классы backendless.jar и weborb.jar
Да. Это необходимо лишь с недавних пор, вскоре мы обновим документацию.
Удалил полностью архивы backendless.jar и weborb.jar и одноименные распакованные папки заработало. Спасибо
That worked. I used the regular jar instead of the fat. Thanks for your help!