Support Topics Documentation Slack YouTube Blog

Try to login in as user and I'm not getting the positive response from the backendless server

Hey everyone,

I’m trying to login in my application, I got the following from backendless also I tried invoking here and the same, this happened just after we started a new billing yesterday.

{"headers":{"access-control-allow-origin":"*","date":"Thu, 06 Aug 2020 18:29:25 GMT","content-length":"7817","connection":"close","content-type":"text/plain; charset=UTF-8","access-control-allow-methods":"POST, GET, OPTIONS, PUT, DELETE, PATCH"},"message":"Backendless encountered an error while handling the request. An internal trouble ticket with ID 4CDDD6BD-01C4-8148-FF40-FBC05D752D00 has been created and we will be investigating the issue.\nredis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'exists' command\njava.lang.RuntimeException: redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'exists' command\n\tat com.backendless.redis.JedisManager.execute(JedisManager.java:150)\n\tat com.backendless.old.security.authorization.AuthorizationOperations.countExistedTokens(AuthorizationOperations.java:62)\n\tat com.backendless.old.security.authorization.AuthorizationUserManager.countLoggedInUsers(AuthorizationUserManager.java:203)\n\tat com.backendless.old.security.Authorization.countLoggedInUsers(Authorization.java:118)\n\tat com.backendless.services.users.services.UserLogin.handleLogoutPolicy(UserLogin.java:296)\n\tat com.backendless.services.users.services.UserLogin.login(UserLogin.java:130)\n\tat com.backendless.services.users.services.UserLogin.login(UserLogin.java:70)\n\tat com.backendless.services.users.impl.UserService.login(UserService.java:181)\n\tat com.backendless.services.users.impl.CustomLogicDecorator.lambda$login$0(CustomLogicDecorator.java:89)\n\tat com.backendless.servercode.codeModel.ModelCodeExtender.performActionWithValidationUnsafe(ModelCodeExtender.java:143)\n\tat com.backendless.servercode.codeModel.ModelCodeExtender.performActionWithValidation(ModelCodeExtender.java:98)\n\tat com.backendless.servercode.codeModel.ModelCodeExtender.performActionWithValidation(ModelCodeExtender.java:85)\n\tat com.backendless.services.users.impl.CustomLogicDecorator.performActionWithValidation(CustomLogicDecorator.java:82)\n\tat com.backendless.services.users.impl.CustomLogicDecorator.login(CustomLogicDecorator.java:89)\n\tat com.backendless.services.users.impl.UserServiceClientsProxyOrigin.login(UserServiceClientsProxyOrigin.java:247)\n\tat com.backendless.inject.interceptors.GoogleAnalyticInterceptor.invoke(GoogleAnalyticInterceptor.java:28)\n\tat com.backendless.inject.interceptors.AbstractApiCallInterceptor.lambda$invoke$0(AbstractApiCallInterceptor.java:47)\n\tat com.backendless.services.RunnerService.executeApiCall(RunnerService.java:56)\n\tat com.backendless.inject.interceptors.AbstractApiCallInterceptor.invoke(AbstractApiCallInterceptor.java:44)\n\tat com.backendless.gamification.AbstractGamificationInterceptor.invoke(AbstractGamificationInterceptor.java:60)\n\tat controllers.Users.login(Users.java:247)\n\tat router.Routes$$anonfun$routes$1.$anonfun$applyOrElse$1003(Routes.scala:14461)\n\tat play.core.routing.HandlerInvokerFactory$$anon$8.resultCall(HandlerInvoker.scala:146)\n\tat play.core.routing.HandlerInvokerFactory$$anon$8.resultCall(HandlerInvoker.scala:145)\n\tat play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$3$$anon$4$$anon$5.invocation(HandlerInvoker.scala:111)\n\tat play.core.j.JavaAction$$anon$1.call(JavaAction.scala:119)\n\tat play.http.DefaultActionCreator$1.call(DefaultActionCreator.java:33)\n\tat com.backendless.old.security.OriginAction.call(OriginAction.java:48)\n\tat com.backendless.old.security.ApplicationExistenceAndUseAction.call(ApplicationExistenceAndUseAction.java:39)\n\tat com.backendless.old.security.ConsiderApiCallAction.call(ConsiderApiCallAction.java:29)\n\tat com.backendless.TimeOutAction.call(TimeOutAction.java:28)\n\tat com.backendless.old.security.SuperScalingAction.lambda$call$0(SuperScalingAction.java:26)\n\tat com.backendless.services.billing.superscaling.PolicyChain$ChainElement.call(PolicyChain.java:61)\n\tat com.backendless.services.billing.superscaling.PolicyChain$ChainElement.call(PolicyChain.java:61)\n\tat com.backendless.services.billing.superscaling.PolicyChain.call(PolicyChain.java:29)\n\tat com.backendless.services.billing.superscaling.SuperScalingManager.applyWithPolicies(SuperScalingManager.java:51)\n\tat com.backendless.old.security.SuperScalingAction.call(SuperScalingAction.java:26)\n\tat com.backendless.ApiCallLimitAction.call(ApiCallLimitAction.java:26)\n\tat com.backendless.ApiCallAction.call(ApiCallAction.java:15)\n\tat com.backendless.StaticHttpResponseHeadersAction.call(StaticHttpResponseHeadersAction.java:22)\n\tat com.backendless.StackOverflowHandlerAction.call(StackOverflowHandlerAction.java:21)\n\tat com.backendless.CloseEntityManagerAction.call(CloseEntityManagerAction.java:36)\n\tat com.backendless.CurrentRequestsNumberAction.call(CurrentRequestsNumberAction.java:31)\n\tat com.backendless.old.security.ValidateApplication.call(ValidateApplication.java:75)\n\tat play.core.j.JavaAction.$anonfun$apply$8(JavaAction.scala:175)\n\tat scala.concurrent.Future$.$anonfun$apply$1(Future.scala:659)\n\tat scala.util.Success.$anonfun$map$1(Try.scala:255)\n\tat scala.util.Success.map(Try.scala:213)\n\tat scala.concurrent.Future.$anonfun$map$1(Future.scala:292)\n\tat scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)\n\tat scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)\n\tat play.core.j.HttpExecutionContext.$anonfun$execute$1(HttpExecutionContext.scala:63)\n\tat play.api.libs.streams.Execution$trampoline$.execute(Execution.scala:70)\n\tat play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:58)\n\tat scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:72)\n\tat scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete(Promise.scala:372)\n\tat scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete$(Promise.scala:371)\n\tat scala.concurrent.impl.Promise$KeptPromise$Successful.onComplete(Promise.scala:379)\n\tat scala.concurrent.impl.Promise.transform(Promise.scala:33)\n\tat scala.concurrent.impl.Promise.transform$(Promise.scala:31)\n\tat scala.concurrent.impl.Promise$KeptPromise$Successful.transform(Promise.scala:379)\n\tat scala.concurrent.Future.map(Future.scala:292)\n\tat scala.concurrent.Future.map$(Future.scala:292)\n\tat scala.concurrent.impl.Promise$KeptPromise$Successful.map(Promise.scala:379)\n\tat scala.concurrent.Future$.apply(Future.scala:659)\n\tat play.core.j.JavaAction.apply(JavaAction.scala:176)\n\tat play.api.mvc.Action.$anonfun$apply$4(Action.scala:82)\n\tat scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)\n\tat scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)\n\tat akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)\n\tat akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:92)\n\tat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)\n\tat scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85)\n\tat akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:92)\n\tat akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:47)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:834)\nCaused by: redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'exists' command\n\tat redis.clients.jedis.Protocol.processError(Protocol.java:132)\n\tat redis.clients.jedis.Protocol.process(Protocol.java:166)\n\tat redis.clients.jedis.Protocol.read(Protocol.java:220)\n\tat redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:318)\n\tat redis.clients.jedis.Connection.getIntegerReply(Connection.java:260)\n\tat redis.clients.jedis.Jedis.exists(Jedis.java:195)\n\tat com.backendless.old.security.authorization.AuthorizationOperations.lambda$countExistedTokens$5(AuthorizationOperations.java:62)\n\tat com.backendless.redis.JedisManager.execute(JedisManager.java:145)\n\t... 79 more\n","body":"Backendless encountered an error while handling the request. An internal trouble ticket with ID 4CDDD6BD-01C4-8148-FF40-FBC05D752D00 has been created and we will be investigating the issue.\nredis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'exists' command\njava.lang.RuntimeException: redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'exists' command\n\tat com.backendless.redis.JedisManager.execute(JedisManager.java:150)\n\tat com.backendless.old.security.authorization.AuthorizationOperations.countExistedTokens(AuthorizationOperations.java:62)\n\tat com.backendless.old.security.authorization.AuthorizationUserManager.countLoggedInUsers(AuthorizationUserManager.java:203)\n\tat com.backendless.old.security.Authorization.countLoggedInUsers(Authorization.java:118)\n\tat com.backendless.services.users.services.UserLogin.handleLogoutPolicy(UserLogin.java:296)\n\tat com.backendless.services.users.services.UserLogin.login(UserLogin.java:130)\n\tat com.backendless.services.users.services.UserLogin.login(UserLogin.java:70)\n\tat com.backendless.services.users.impl.UserService.login(UserService.java:181)\n\tat com.backendless.services.users.impl.CustomLogicDecorator.lambda$login$0(CustomLogicDecorator.java:89)\n\tat com.backendless.servercode.codeModel.ModelCodeExtender.performActionWithValidationUnsafe(ModelCodeExtender.java:143)\n\tat com.backendless.servercode.codeModel.ModelCodeExtender.performActionWithValidation(ModelCodeExtender.java:98)\n\tat com.backendless.servercode.codeModel.ModelCodeExtender.performActionWithValidation(ModelCodeExtender.java:85)\n\tat com.backendless.services.users.impl.CustomLogicDecorator.performActionWithValidation(CustomLogicDecorator.java:82)\n\tat com.backendless.services.users.impl.CustomLogicDecorator.login(CustomLogicDecorator.java:89)\n\tat com.backendless.services.users.impl.UserServiceClientsProxyOrigin.login(UserServiceClientsProxyOrigin.java:247)\n\tat com.backendless.inject.interceptors.GoogleAnalyticInterceptor.invoke(GoogleAnalyticInterceptor.java:28)\n\tat com.backendless.inject.interceptors.AbstractApiCallInterceptor.lambda$invoke$0(AbstractApiCallInterceptor.java:47)\n\tat com.backendless.services.RunnerService.executeApiCall(RunnerService.java:56)\n\tat com.backendless.inject.interceptors.AbstractApiCallInterceptor.invoke(AbstractApiCallInterceptor.java:44)\n\tat com.backendless.gamification.AbstractGamificationInterceptor.invoke(AbstractGamificationInterceptor.java:60)\n\tat controllers.Users.login(Users.java:247)\n\tat router.Routes$$anonfun$routes$1.$anonfun$applyOrElse$1003(Routes.scala:14461)\n\tat play.core.routing.HandlerInvokerFactory$$anon$8.resultCall(HandlerInvoker.scala:146)\n\tat play.core.routing.HandlerInvokerFactory$$anon$8.resultCall(HandlerInvoker.scala:145)\n\tat play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$3$$anon$4$$anon$5.invocation(HandlerInvoker.scala:111)\n\tat play.core.j.JavaAction$$anon$1.call(JavaAction.scala:119)\n\tat play.http.DefaultActionCreator$1.call(DefaultActionCreator.java:33)\n\tat com.backendless.old.security.OriginAction.call(OriginAction.java:48)\n\tat com.backendless.old.security.ApplicationExistenceAndUseAction.call(ApplicationExistenceAndUseAction.java:39)\n\tat com.backendless.old.security.ConsiderApiCallAction.call(ConsiderApiCallAction.java:29)\n\tat com.backendless.TimeOutAction.call(TimeOutAction.java:28)\n\tat com.backendless.old.security.SuperScalingAction.lambda$call$0(SuperScalingAction.java:26)\n\tat com.backendless.services.billing.superscaling.PolicyChain$ChainElement.call(PolicyChain.java:61)\n\tat com.backendless.services.billing.superscaling.PolicyChain$ChainElement.call(PolicyChain.java:61)\n\tat com.backendless.services.billing.superscaling.PolicyChain.call(PolicyChain.java:29)\n\tat com.backendless.services.billing.superscaling.SuperScalingManager.applyWithPolicies(SuperScalingManager.java:51)\n\tat com.backendless.old.security.SuperScalingAction.call(SuperScalingAction.java:26)\n\tat com.backendless.ApiCallLimitAction.call(ApiCallLimitAction.java:26)\n\tat com.backendless.ApiCallAction.call(ApiCallAction.java:15)\n\tat com.backendless.StaticHttpResponseHeadersAction.call(StaticHttpResponseHeadersAction.java:22)\n\tat com.backendless.StackOverflowHandlerAction.call(StackOverflowHandlerAction.java:21)\n\tat com.backendless.CloseEntityManagerAction.call(CloseEntityManagerAction.java:36)\n\tat com.backendless.CurrentRequestsNumberAction.call(CurrentRequestsNumberAction.java:31)\n\tat com.backendless.old.security.ValidateApplication.call(ValidateApplication.java:75)\n\tat play.core.j.JavaAction.$anonfun$apply$8(JavaAction.scala:175)\n\tat scala.concurrent.Future$.$anonfun$apply$1(Future.scala:659)\n\tat scala.util.Success.$anonfun$map$1(Try.scala:255)\n\tat scala.util.Success.map(Try.scala:213)\n\tat scala.concurrent.Future.$anonfun$map$1(Future.scala:292)\n\tat scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)\n\tat scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)\n\tat play.core.j.HttpExecutionContext.$anonfun$execute$1(HttpExecutionContext.scala:63)\n\tat play.api.libs.streams.Execution$trampoline$.execute(Execution.scala:70)\n\tat play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:58)\n\tat scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:72)\n\tat scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete(Promise.scala:372)\n\tat scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete$(Promise.scala:371)\n\tat scala.concurrent.impl.Promise$KeptPromise$Successful.onComplete(Promise.scala:379)\n\tat scala.concurrent.impl.Promise.transform(Promise.scala:33)\n\tat scala.concurrent.impl.Promise.transform$(Promise.scala:31)\n\tat scala.concurrent.impl.Promise$KeptPromise$Successful.transform(Promise.scala:379)\n\tat scala.concurrent.Future.map(Future.scala:292)\n\tat scala.concurrent.Future.map$(Future.scala:292)\n\tat scala.concurrent.impl.Promise$KeptPromise$Successful.map(Promise.scala:379)\n\tat scala.concurrent.Future$.apply(Future.scala:659)\n\tat play.core.j.JavaAction.apply(JavaAction.scala:176)\n\tat play.api.mvc.Action.$anonfun$apply$4(Action.scala:82)\n\tat scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)\n\tat scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)\n\tat akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)\n\tat akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:92)\n\tat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)\n\tat scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85)\n\tat akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:92)\n\tat akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:47)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:834)\nCaused by: redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'exists' command\n\tat redis.clients.jedis.Protocol.processError(Protocol.java:132)\n\tat redis.clients.jedis.Protocol.process(Protocol.java:166)\n\tat redis.clients.jedis.Protocol.read(Protocol.java:220)\n\tat redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:318)\n\tat redis.clients.jedis.Connection.getIntegerReply(Connection.java:260)\n\tat redis.clients.jedis.Jedis.exists(Jedis.java:195)\n\tat com.backendless.old.security.authorization.AuthorizationOperations.lambda$countExistedTokens$5(AuthorizationOperations.java:62)\n\tat com.backendless.redis.JedisManager.execute(JedisManager.java:145)\n\t... 79 more\n","status":500}

Hello,
We’ve just released a fix.
Could you please check if it works now?

Regards,
Olha

Going on to try it right now.
I’ll let you updated.

Yup it is fixed!
Thanks for that.