compile and run server 3.0.0,android client access stop auth

Posted in Customization by xiaoling.ma Wed Nov 09 2016 11:55:31 GMT+0000 (UTC)·Viewed 40 times

console log prompt akka.io.TcpListener akka.tcp://actor-server@127.0.1.1:2552/system/IO-TCP/selectors/$a/0 New connection accepted 11:39:46.533UTC DEBUG i.actor.server.frontend.TcpFrontend$ TcpFrontend$(akka://actor-server) New TCP connection from /192.168.20.188:9070 11:39:47.008UTC DEBUG akka.actor.ActorSystemImpl akka.actor.ActorSystemImpl(actor-server) Closing connection conn-tcp-1 I debug code in actor-platform/actor-server/actor-frontend/src/main/scala/im/actor/server/frontend/AuthorizationManager.scala response handleRequestStartAuth(randomId) to android client,then There is no longer sending a message to the server. Here is my server.conf profile,Is the client and “server-keys” related,xcuse me, what is the reason, thank you! http { interface: "192.168.20.188" port: 9090 base-uri: "https://192.168.20.188" } public-endpoints: [ "tcp://192.168.20.188:9070", #mobile clients "ws://192.168.20.188:9080", # web client "http://192.168.20.188:9090" # http api ] endpoints: [ { type: tcp interface: "192.168.20.188" port: 9070 }, { type: websocket interface: "192.168.20.188" port: 9080 } ] modules: { security { server-keys: [ { public: "/home/maxl/download/java/actor/actor-platform/actor-server/target/universal/actor3/conf/keys/actor-key.pub" private: "/home/maxl/download/java/actor/actor-platform/actor-server/target/universal/actor3/conf/keys/actor-key.private" } ] } } project-name: pekall-msg secret: tSSiyWCbkA2oULLdijYS services { postgresql { host: 192.168.20.148 db: actor user: actor password: pekall1234 } # actor-activation { # auth-token: <token> # } file-storage { # provide your own path to directory with read and write permissions for user `actor` #location: "/home/maxl/download/java/actor/actor-platform/actor-server/target/universal/actor3/conf/files" location: "conf/files" } # Service used for sending activation codes activation { # Define code providers. look im.actor.server.activation for full provider list providers { internal: im.actor.server.activation.internal.InternalCodeProvider # sms: im.actor.server.activation.gate.ActorGateSmsProvider smtp: im.actor.server.activation.smtp.SMTPProvider # call: im.actor.server.activation.telesign.TelesignProvider } # Allow client to repeat code sending after this interval repeat-limit: 1m # Time and attempt to expire sms/email activation code code-expiration: 1 day code-attempts: 3 # Email template for email code activation email { template: templates/activation-email-template.html } # Setting for internal activation(aka via actor bot) internal { sender-user-id: 10 online-time-window: 10m message-template: "Your Actor activation code: $$CODE$$" } } email { sender { address:"pekall@pekall.com" name: "pekall@pekall.com<pekall@pekall.com>" # Mail theme prefix # prefix: <put_mail_theme_prefix_here> } # SMTP server configuration smtp { host: smtp.pekall.com port: 25 username: pekall password: asdsafsfsdfsdga # Is TLS required # tls: true } } }
  
Markdown is allowed