I just managed to get backendless pro in my AWS instance.
However I can’t view the real-time logging - it gives me the error “xhr poll error”.
I saw in another ticket that it could be the rt server but I checked in Pro Manager and the process is running.
Can you please help me with this issue ?
I am sorry you ran into this issue. Unfortunately we cannot provide free support for Backendless Pro. On order to get any support, you would need to purchase support subscription.
I’m sorry too…
I’m trying to install backendless in AWS and I ran into a few issues this one being the latest.
As you can imagine I can’t use backendless if I can’t see the logs and, unfortunately, we don’t have enough content now to be able to pay $7200.
We’re actually evaluating the platform with some small internal applications before we adopt it for our customer’s projects, when we would be able to pay this fee.
We currently have these internal apps in backendless cloud but we found that some limitations were too limiting and we wanted to try the backendless pro to see whether it was an option.
I hope you reconsider letting us try the platform, that on the other end, we like very much.
Hi there.
We now have bought support and I would like to reactivate this issue.
Can someone help me with setting up the logs?
Now I’ve noticed that it just gives me the message timeout after a few seconds as per image attached.
Thanks very much,
Paulo
Please provide the logs for bl-web-console and bl-rt-server.
You can find them by going to the Pro Manager, selecting the deployment for bl-web-console/bl-rt-server, and navigating to the Logs tab.
Alternatively, you can also find the logs in the following directories:
then need to check logs of the RT Server, here is my logs from local installation:
2025-05-21T10:48:46.598Z e[90minfoe[39m: [Global] logger was created
2025-05-21T10:48:46.599Z e[90minfoe[39m: [EventsRedis] logger was created
2025-05-21T10:48:46.642Z e[34mdebuge[39m: [EventsRedis] [events:subscriber] subscribe on [CHANNEL - backendless-events::USER_PERMISSION_CHANGED_EVENT]
2025-05-21T10:48:46.643Z e[34mdebuge[39m: [EventsRedis] [events:subscriber] subscribe on [CHANNEL - backendless-events::USER_PERMISSION_REMOVED_EVENT]
2025-05-21T10:48:46.643Z e[34mdebuge[39m: [EventsRedis] [events:subscriber] subscribe on [CHANNEL - backendless-events::ROLE_PERMISSION_CHANGED_EVENT]
2025-05-21T10:48:46.643Z e[34mdebuge[39m: [EventsRedis] [events:subscriber] subscribe on [CHANNEL - backendless-events::ROLE_PERMISSION_REMOVED_EVENT]
2025-05-21T10:48:46.643Z e[34mdebuge[39m: [EventsRedis] [events:subscriber] subscribe on [CHANNEL - backendless-events::GLOBAL_ROLE_PERMISSION_CHANGED_EVENT]
2025-05-21T10:48:46.643Z e[34mdebuge[39m: [EventsRedis] [events:subscriber] subscribe on [CHANNEL - backendless-events::BILLING_PLAN_UPGRADE]
2025-05-21T10:48:46.643Z e[34mdebuge[39m: [EventsRedis] [events:subscriber] subscribe on [CHANNEL - backendless-events::FUNCTION_PACK_INSTALL]
2025-05-21T10:48:46.643Z e[34mdebuge[39m: [EventsRedis] [events:subscriber] subscribe on [CHANNEL - backendless-events::API_CALLS_BLOCKED]
2025-05-21T10:48:46.643Z e[34mdebuge[39m: [EventsRedis] [events:subscriber] subscribe on [CHANNEL - backendless-events::USER_LOGGED_OUT]
2025-05-21T10:48:46.643Z e[34mdebuge[39m: [EventsRedis] [events:subscriber] subscribe on [CHANNEL - backendless-events::BUSINESS_LOGIC_CHANGED]
2025-05-21T10:48:46.599Z e[90minfoe[39m: [AnalyticsRedis] logger was created
2025-05-21T10:48:46.600Z e[90minfoe[39m: [RTRedis] logger was created
2025-05-21T10:48:46.738Z e[90minfoe[39m: [RTRedis] add the server into list of RT servers
2025-05-21T10:48:46.601Z e[90minfoe[39m: [UserSessionRedis] logger was created
2025-05-21T10:48:46.601Z e[90minfoe[39m: [Server] logger was created
2025-05-21T10:48:46.737Z e[90minfoe[39m: [Server] The server is listening on 0.0.0.0:5003
2025-05-21T10:48:46.738Z e[90minfoe[39m: [Server] Management Server is listening on http://0.0.0.0:2992
2025-05-21T10:48:46.603Z e[90minfoe[39m: [Request] logger was created
2025-05-21T10:48:46.603Z e[90minfoe[39m: [Notifications] logger was created
2025-05-21T10:48:46.604Z e[90minfoe[39m: [Status] logger was created
2025-05-21T10:48:46.742Z e[90minfoe[39m: [AnalyticsRedis] new client [analytics:subscriber] was connected in 98ms
2025-05-21T10:48:46.742Z e[90minfoe[39m: [EventsRedis] new client [events] was connected in 100ms
2025-05-21T10:48:46.742Z e[90minfoe[39m: [RTRedis] new client [rt:subscriber] was connected in 98ms
2025-05-21T10:48:46.742Z e[90minfoe[39m: [UserSessionRedis] new client [user-session:subscriber] was connected in 99ms
2025-05-21T10:48:46.742Z e[90minfoe[39m: [AnalyticsRedis] new client [analytics] was connected in 98ms
2025-05-21T10:48:46.743Z e[90minfoe[39m: [EventsRedis] new client [events:subscriber] was connected in 101ms
2025-05-21T10:48:46.742Z e[90minfoe[39m: [RTRedis] new client [rt] was connected in 98ms
2025-05-21T10:48:46.743Z e[90minfoe[39m: [UserSessionRedis] new client [user-session] was connected in 100ms
2025-05-21T10:48:46.743Z e[90minfoe[39m: [RTRedis] remove old server registration
2025-05-21T10:48:46.744Z e[90minfoe[39m: [RTRedis] add a new server registration
2025-05-21T10:48:46.744Z e[34mdebuge[39m: [RTRedis] renew the service registration [D0A1CD38-F4DA-D3BD-D158-8BACC1DC5695] in tne redis, expired in 20 seconds
2025-05-21T10:48:46.746Z e[33mwarne[39m: [Status] The Service Status can not be running because it is not configured {
serviceName: 'rtServer',
hostname: '',
nodeName: undefined,
internalHost: 'localhost',
internalPort: 2992
}
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [EventsRedis] add App - 48EDB07C-3089-48FE-BEFD-16D806CC73AA Event - backendless-events::USER_PERMISSION_CHANGED_EVENT Listener
2025-05-21T10:48:50.745Z e[34mdebuge[39m: [Request] Request POST: http://localhost:9000/48EDB07C-3089-48FE-BEFD-16D806CC73AA/internal/servercode/events/RT_beforeClientConnected { connectionId: 'm8JYNvNgLkAHw_7pAAAA', clientId: undefined }
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [EventsRedis] add App - 48EDB07C-3089-48FE-BEFD-16D806CC73AA Event - backendless-events::USER_PERMISSION_REMOVED_EVENT Listener
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [EventsRedis] add App - 48EDB07C-3089-48FE-BEFD-16D806CC73AA Event - backendless-events::ROLE_PERMISSION_CHANGED_EVENT Listener
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [EventsRedis] add App - 48EDB07C-3089-48FE-BEFD-16D806CC73AA Event - backendless-events::ROLE_PERMISSION_REMOVED_EVENT Listener
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [EventsRedis] add App - 48EDB07C-3089-48FE-BEFD-16D806CC73AA Event - backendless-events::GLOBAL_ROLE_PERMISSION_CHANGED_EVENT Listener
2025-05-21T10:48:50.742Z e[34mdebuge[39m: [EventsRedis] add App - 48EDB07C-3089-48FE-BEFD-16D806CC73AA Event - backendless-events::BUSINESS_LOGIC_CHANGED Listener
2025-05-21T10:48:50.738Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA] logger was created
2025-05-21T10:48:50.738Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA] App Socket has been created.
2025-05-21T10:48:50.743Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA] App Socket is initialized
2025-05-21T10:48:50.740Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - PERMISSIONS_EVENTS] logger was created
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - PERMISSIONS_EVENTS] create MESSAGING Change Emitter
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - PERMISSIONS_EVENTS] create PERSISTENCE Change Emitter
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - PERMISSIONS_EVENTS] add app event - backendless-events::USER_PERMISSION_CHANGED_EVENT listener
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - PERMISSIONS_EVENTS] add app event - backendless-events::USER_PERMISSION_REMOVED_EVENT listener
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - PERMISSIONS_EVENTS] add app event - backendless-events::ROLE_PERMISSION_CHANGED_EVENT listener
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - PERMISSIONS_EVENTS] add app event - backendless-events::ROLE_PERMISSION_REMOVED_EVENT listener
2025-05-21T10:48:50.741Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - PERMISSIONS_EVENTS] add app event - backendless-events::GLOBAL_ROLE_PERMISSION_CHANGED_EVENT listener
2025-05-21T10:48:50.739Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - PERMISSIONS] logger was created
2025-05-21T10:48:50.742Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - PERMISSIONS] initialized
2025-05-21T10:48:50.742Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - EVENT HANDLERS] logger was created
2025-05-21T10:48:50.745Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - EVENT HANDLERS] [Request] Event: [beforeClientConnected], requestData: {"connectionId":"m8JYNvNgLkAHw_7pAAAA"}
2025-05-21T10:48:50.743Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - API CONNECTION - m8JYNvNgLkAHw_7pAAAA] logger was created
2025-05-21T10:48:50.744Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - API CONNECTION - m8JYNvNgLkAHw_7pAAAA - TRANSFER] logger was created
2025-05-21T10:48:50.745Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - API CONNECTION - m8JYNvNgLkAHw_7pAAAA - PUBLICATION] logger was created
2025-05-21T10:48:50.744Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - API CONNECTION - m8JYNvNgLkAHw_7pAAAA - METHOD] logger was created
2025-05-21T10:48:50.863Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - EVENT HANDLERS] Event: [beforeClientConnected] is not exist in BL, remember it.
2025-05-21T10:48:50.863Z e[34mdebuge[39m: [Request] Request POST: http://localhost:9000/48EDB07C-3089-48FE-BEFD-16D806CC73AA/internal/servercode/events/RT_afterClientConnected { connectionId: 'm8JYNvNgLkAHw_7pAAAA', clientId: undefined }
2025-05-21T10:48:50.867Z e[90minfoe[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - API CONNECTION - m8JYNvNgLkAHw_7pAAAA] Client has been connected: {"userId":null,"userToken":null}
2025-05-21T10:48:50.867Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA] connected sockets: 1
2025-05-21T10:48:50.863Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - EVENT HANDLERS] [Request] Event: [afterClientConnected], requestData: {"connectionId":"m8JYNvNgLkAHw_7pAAAA"}
2025-05-21T10:48:50.903Z e[34mdebuge[39m: [APP] - [48EDB07C-3089-48FE-BEFD-16D806CC73AA - EVENT HANDLERS] Event: [afterClientConnected] is not exist in BL, remember it.
in case you do not see such logs please check the server logs configs in your Consul,
by default the log level is info but you can change it in the Consul to “debug” by the following path config/rt-server/loggers/levels/default and it requires restarting the RTServer service
Hi Vladimir.
After connect in Postman it takes a few seconds and then says disconnected (image included).
Also in consul there are no keys for config/rt-server/loggers/levels.
It has only config/rt-server/loggers/file/…
Thanks,
Paulo
Here is the result in the image below.
I can see that the rtURL is “https://bec.swstudio.es:32700”.
However, bec.swstudio.es is a subdomain configured in AWS pointing to loadBalancer/targetGroup which is pointing to port 32400.
I’ve checked in ProManager and under Domains/General/Real-Time is has as host bec.swstudio.es and port 32700.
I think this may be the problem.
Shall I create a new subdomain for 32700 and set it in ProManager ?
Thanks again,
Paulo
bec.swstudio.es is a subdomain that points directly to port 32400 in my internal network through loadbalancer/targetgroup (points to console); putting bec.swstudio.es:32700 probably doesn’t work because of it.
In ProManager RTServer is set to port 32700
So, I think this is the problem as it would sort of be host:32400:3270
Hello Mark, Vladimir.
Definetly I’m not explaining myself.
I fully understand what you mentioned.
What I meant was that I had a problem of configuration for the rtserver - going to the wrong port.
Now, I’ve corrected and tested and it no longer gives me timeout.
However it is back to the initial error (“xhr poll error”) as per the image below.
Thanks both for your help,
Paulo