Hi,
I’ve deployed a custom event (it’s an afterCreate event) on your server, where I send a push notification to another user.
This worked fine until this morning, then I started getting back this exception:
BackendlessException{ code: ‘Server.Processing’, message: ‘java.lang.RuntimeException: redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out’ }
Debugging locally with codeRunner I noticed that the problem is on Backendless.Messaging.publish() method.
In details:
DeliveryOptions deliveryOptions = new DeliveryOptions();
deliveryOptions.addPushSinglecast(deviceId);
deliveryOptions.setPushPolicy(PushPolicyEnum.ONLY);
PublishOptions publishOptions = new PublishOptions();
publishOptions.putHeader( “android-ticker-text”, ticker);
publishOptions.putHeader( “android-content-title”, title);
publishOptions.putHeader( “android-content-text”, text);
Backendless.Messaging.publish(channel, message, publishOptions, deliveryOptions);
Any suggestion about this?
Thanks in advance.
Mirko