Closed mailes closed 2 years ago
Make sure default-private.key and default-public-key are copied to the output directory. yes Make sure Ferrite.Data/LangData is also copied to the output directory. yes When you enter a valid phone number the verification code should be printed to the console. valid phone number,but no verification code
It should generate the verification code at this point. You are able to complete the Auth Key Creation. It means your setup is correct. The server populates the db first time it starts so maybe the first few API responses arrive late. Please try uninstalling and reinstalling the Android App.
It should generate the verification code at this point. You are able to complete the Auth Key Creation. It means your setup is correct. The server populates the db first time it starts so maybe the first few API responses arrive late. Please try uninstalling and reinstalling the Android App.
I obtained the verification code, which was a difficult process. I repeatedly installed the app, restarted the server, deleted the Debug folder, and debugged again to obtain the AuthCode. During the test, I found that the connection between the client and the server often failed. In the same LAN, I don't know what the reason is. Finally, I hope the author can improve the project better. Thank you.
As required, I set up the server. After running successfully, I started the app and changed the IP address of the server. But I was stuck in the stage of obtaining the verification code and could not obtain the verification code on the console.
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt1YElR7/5enRYr788g21 0K6QZzUAmaithnSzmQsKb+XL5KhQHrJwVNMINO17SkB6i4fxG7ydDyFDbLA0Ls6j QZ0mX33Gl8vYWsczPbkbqzs9N6GkOo10dDVoGObvSHRSwT9zkDixGiq/3b+WPhFc pdJ4OY+5ElD89+fXYgUIhskjYoI8P/PJLCf6GLfneJ00N+wDVxAiwOaD6dxvj8ki UDHSwdTXWQ56Nc/Il121fIGbEmho+ShAfzwQPynnEsA0EyTsqtYHle+KowMhnQYp cvK/iv290NXwRjB4jWtH7tNT/PgB5tud1LJ9Ta3FusvnDE35w97G6q+yXltErSpM /QIDAQAB -----END PUBLIC KEY-----
Modulus: 23144026816383085710137756243222382868098501554947919409566757795567787097889084480104693153339123201985549706150246474875274300383457149119227754026296494166520627872548216281033728996053382211921408942905551140777910942060945380345956795013597623723930586138936263120626099839151576764045523443539619764753147394458425824378931132150784093420341866160417249342759791620760963685657822404540218087107585595619377822030985786278116585352832774977533603809275431605812472826696883690624406464247276092994407997200667327428504335444319435549087880705158334258381736446348211093071861670124833009250746108537220528491773 Exponent: 65537 Fingerprint-HEX: 0xB0DE7BE520EC5879 Fingerprint-DECIMAL: -5701983854174381959 Server is listening at 0.0.0.0:5222 New MTProto connection was created. Fetched the tempAuthKey with Id: -6182832312779245233 New MTProto connection was created. Fetched the tempAuthKey with Id: -2300553037202826537 New MTProto connection was created. New MTProto connection was created. Result for req_pq_multi sent. Result for req_pq_multi sent. New MTProto connection was created. New MTProto connection was created. Result for req_pq_multi sent. Result for req_pq_multi sent. Result for req_DH_params sent. Result for req_DH_params sent. Result for set_client_DH_params sent. Result for set_client_DH_params sent. Fetched the tempAuthKey with Id: 4981671567306597222 Fetched the tempAuthKey with Id: -733647123679470838 === 2 = Put Session for Auth Key: -733647123679470838 === === 2 = Put Session for Auth Key: 4981671567306597222 === BindAuthkey Perm:7462637346609247773 Temp:-733647123679470838 BindAuthkey Perm:6883311629321122578 Temp:4981671567306597222 Result for Ferrite.TL.currentLayer.auth.BindTempAuthKey is Ferrite.TL.mtproto.RpcResult Processed with AuthKeyId: -733647123679470838 Result for Ferrite.TL.currentLayer.auth.BindTempAuthKey is Ferrite.TL.mtproto.RpcResult Processed with AuthKeyId: 4981671567306597222 -->Ferrite.TL.mtproto.RpcResult -->Ferrite.TL.mtproto.RpcResult Invoke Ferrite.TL.currentLayer.InitConnection with Layer 140 MessageId: 7163466471756583936 AuthKeyId:-733647123679470838 Invoke Ferrite.TL.currentLayer.InitConnection with Layer 140 MessageId: 7163466471760879616 AuthKeyId:4981671567306597222 === Save App Info for authKey with Id: 4981671567306597222 === Save App Info for authKey with Id: -733647123679470838 Execute Ferrite.TL.currentLayer.help.GetConfig Execute Ferrite.TL.currentLayer.help.GetConfig Result for Ferrite.TL.currentLayer.InvokeWithLayer is Ferrite.TL.mtproto.RpcResult Processed with AuthKeyId: -733647123679470838 Result for Ferrite.TL.currentLayer.InvokeWithLayer is Ferrite.TL.mtproto.RpcResult Processed with AuthKeyId: 4981671567306597222 -->Ferrite.TL.mtproto.RpcResult -->Ferrite.TL.mtproto.RpcResult Invoke Ferrite.TL.currentLayer.InitConnection with Layer 140 MessageId: 7163466472198966272 AuthKeyId:4981671567306597222 Invoke Ferrite.TL.currentLayer.InitConnection with Layer 140 MessageId: 7163466472198966272 AuthKeyId:-733647123679470838 === Save App Info for authKey with Id: 4981671567306597222 === Save App Info for authKey with Id: -733647123679470838 Execute Ferrite.TL.currentLayer.help.GetConfig Execute Ferrite.TL.currentLayer.help.GetConfig Result for Ferrite.TL.currentLayer.InvokeWithLayer is Ferrite.TL.mtproto.RpcResult Processed with AuthKeyId: 4981671567306597222 Result for Ferrite.TL.currentLayer.InvokeWithLayer is Ferrite.TL.mtproto.RpcResult Processed with AuthKeyId: -733647123679470838 -->Ferrite.TL.mtproto.RpcResult -->Ferrite.TL.mtproto.RpcResult ferrite.log