Great to see the standalone version of backendless 3.0 is up for downloading. I downloaded and installed the linux 64 bit version on an ubuntu 14.04 vm.
I got a couple of questions about it:
Reading the quick start guide (the linux one shows the os x installation btw) it refers to backendless.hostURL = @“http://[IP ADDRESS]:8080/api” as endpoint. Is there also an encrypted (SSL) port number available? What parts of the backendless communication is encrypted and what is not?
EDIT: Found the wiki via the included readme.txt. I can use the api via ssl port 443, however now I’m getting an SSL error: 'FAULT = ‘-1200’ [NSURLErrorDomain] <An SSL error has occurred and a secure connection to the server cannot be made.> ’ This is probably caused by the self signed certificate that is included by default. Is there any way to accept untrusted certificates?
After installing the standalone version I can login (via SSL) to the backend, but clicking ‘flight control’ gives me the error ‘Get List of Components Failed!’.
Also after installation there is nothing listening on port 8080 (netstat -an | grep -i TCP | grep 8080 shows nothing)
EDIT: Solved, see the edit of question 1
How do upgrades work? When there is a new 3.x release, is there a way to upgrade the installation?
EDIT: This is partly mentioned in the manual. It comes down to installing the new version and migrating all data. Is this true even for small updates (bug fixes)?
One more thing: I did an export of all data from the backendless hosted environment and imported it on the standalone version. Works great, but one minor problem: I had set one relation to autoload, this wasn’t enabled anymore after the import. Had to enable it manually.
Another problem: Some time after starting backendless (less then 30 minutes) I start getting FAULT = ‘502’ [HttpEngine: INVALID statusCode 502] <HttpEngine: INVALID statusCode 502> and FAULT = ‘-1001’ [NSURLErrorDomain] <The request timed out.> in my application.
When i then try to refresh the backendless web interface it won’t load it’s content anymore, see attached screenshot. (EDIT: Everything loads except ‘Users’ and ‘Data’, that is where I get the infinite ‘Loading’ popup)
It can be resolved by restarting all backendless services. (But the same problem will happen again)
Apache logs:
[Tue Jan 12 11:39:24.114075 2016] [proxy_http:error] [pid 9490] (70007)The timeout specified has expired: [client 192.168.51.48:64612] AH01102: error reading status line from remote server 127.0.0.1:9000
[Tue Jan 12 11:39:24.114120 2016] [proxy:error] [pid 9490] [client 192.168.51.48:64612] AH00898: Error reading from remote server returned by /api/v1/binary
[Tue Jan 12 11:44:59.243389 2016] [proxy_http:error] [pid 9514] (70007)The timeout specified has expired: [client 192.168.51.48:64647] AH01102: error reading status line from remote server 127.0.0.1:9000, referer: https://xxx.xx/
[Tue Jan 12 11:44:59.243422 2016] [proxy:error] [pid 9514] [client 192.168.51.48:64647] AH00898: Error reading from remote server returned by /console/appversion/E662B81D-44AF-0ED0-FFFF-F5532C68B400/data/BLProjectObject, referer: https://xxx.xx/
[Tue Jan 12 11:45:35.853157 2016] [proxy_http:error] [pid 9430] (70007)The timeout specified has expired: [client 192.168.51.48:64660] AH01102: error reading status line from remote server 127.0.0.1:9000, referer: https://xxx.xx/
[Tue Jan 12 11:45:35.853214 2016] [proxy:error] [pid 9430] [client 192.168.51.48:64660] AH00898: Error reading from remote server returned by /console/appversion/E662B81D-44AF-0ED0-FFFF-F5532C68B400/data/tables, referer: https://xxx.xx/
[Tue Jan 12 11:47:18.485816 2016] [proxy_http:error] [pid 9431] (70007)The timeout specified has expired: [client 192.168.51.48:64715] AH01102: error reading status line from remote server 127.0.0.1:9000, referer: https://xxx.xx/
[Tue Jan 12 11:47:18.485892 2016] [proxy:error] [pid 9431] [client 192.168.51.48:64715] AH00898: Error reading from remote server returned by /console/appversion/E662B81D-44AF-0ED0-FFFF-F5532C68B400/data/tables, referer: https://xxx.xx/
Reading the quick start guide (the linux one shows the os x installation btw) it refers to backendless.hostURL = @“http://[IP ADDRESS]:8080/api” as endpoint. Is there also an encrypted (SSL) port number available? What parts of the backendless communication is encrypted and what is not?
Since the product runs on your server, it would be your responsibility to get an SSL certificate for the installation.
EDIT: Found the wiki via the included readme.txt. I can use the api via ssl port 443, however now I’m getting an SSL error: 'FAULT = ‘-1200’ [NSURLErrorDomain] <An SSL error has occurred and a secure connection to the server cannot be made.> ’ This is probably caused by the self signed certificate that is included by default. Is there any way to accept untrusted certificates?
There is an apache server which should be configured with your own cert.
After installing the standalone version I can login (via SSL) to the backend, but clicking ‘flight control’ gives me the error ‘Get List of Components Failed!’.
Flight Control should not be used at the moment (you do not need it yet).
How do upgrades work? When there is a new 3.x release, is there a way to upgrade the installation?
EDIT: This is partly mentioned in the manual. It comes down to installing the new version and migrating all data. Is this true even for small updates (bug fixes)?
For upgrades involving database changes we will be providing upgrade scripts. For coding changes you will need to upgrade binaries per the provided instructions.