I’m having the exact same issue with the SDK version 5.2.13.
I notice a GET request being repeteadly invoked ( /rt/lookup ) which doesn’t return error code but 200 and a response like “https://rt-app#.backendless.com:50010”.
Sure, I’ll try to be as specific as possible. My project is based on Angular 7 + Ionic 4.
The MessagingService provides a function to post and subscribe to channels.
import {Injectable} from ‘@angular/core’;
import * as Backendless from ‘backendless’;
@Injectable({
providedIn: 'root'
})
export class MessagingService {
public getConversationChannel(channelId): Backendless.ChannelClass {
return Backendless.Messaging.subscribe(channelId);
}
public postMessage(message) {
return Backendless.Messaging.publish('default', message);
}
}
At my page/component layer, only 2 buttons are displayed: Join (subscribes to a channel [NOT WORKING]) and Post (posts into the channel).
actually, the topic title says that issue is in NodeJS env, but you’ve got a problem in Ionic env, so it’s a little different problem
anyways, let’s try to figure out what’s going on here
could you please archive your project (or create another one with minimal code) for reproduce the problem and send it to us support@backendless.com, also please attach instruction how to install/run the app and we will take a look at the issue
and also you can try to enable debug mode, for that just add the next line right after Backendless.initApp(…) Backendless.debugMode = true
maybe, there will be some helpful info
Hi @vladimir-upirov,
I sent an email to support@backendless.com on July 18th but I haven’t received any response yet. Is there any update regarding my ticket?
I have the same issue in an Angular app where I am not receiving any messages.
The message is published (can see it in the backendless dashboard) but the message listener never receives it. There is no console error and I’ve tried the polyfill fix but no luck.
Thanks for the responsive reply @vladimir-upirov,
I’m seeing this in the console now…
addConnectErrorEventListener Cannot read property 'Blob' of undefined
addReconnectAttemptEventListener 1 400
addConnectErrorEventListener io is not a function
addReconnectAttemptEventListener 2 400
addConnectErrorEventListener io is not a function
addReconnectAttemptEventListener 3 400
addConnectErrorEventListener io is not a function
etc...