Closed Pitpy closed 4 years ago
which url are you connecting to?
which url are you connecting to?
DeepstreamClient ds = new DeepstreamClient("ws://10.0.10.40:6020");
JsonObject credentials = new JsonObject();
credentials.addProperty("user", "admin");
credentials.addProperty("password", "chat@12");
System.out.println(credentials);
LoginResult result = ds.login(credentials);
System.out.println(result);
@yasserf The IP is my organize LAN. It's worked for ds server v3, but not for v4.
Yeah you need to connect to the V3 url
urlPath: /deepstream-v3
OK..., I changed to ds server v5 & use urlPath: /deepstream-v3 now working. Thank you @yasserf
There are no error and nothing after login!