teamgram / teamgram-server

Unofficial open source mtproto server written in golang with compatible telegram client.
https://teamgram.net
Apache License 2.0
1.81k stars 362 forks source link

iOS client not working #104

Open tearfulDalvik opened 2 weeks ago

tearfulDalvik commented 2 weeks ago

The iOS keeps loading when I click continue at the phone number stage.

I used docker-compose for server, and built iOS client as per https://github.com/teamgram/teamgram-server/blob/master/clients/teamgram-ios.md

Here's the error message from /app/logs/gnetway/error.log of the server.

{"@timestamp":"2024-09-16T10:07:23.332Z","caller":"clientinterceptors/durationinterceptor.go:35","content":"fail - direct:/172.20.0.2:20120/session.RPCSession/session_queryAuthKey - auth_key_id:-8267918398851283100 - rpc error: code = Code(401) desc = AUTH_KEY_UNREGISTERED","duration":"1.3ms","level":"error","span":"97f8342eca71b5e3","trace":"a41821c14b302c736bb74bbe0838b3fc"}
{"@timestamp":"2024-09-16T10:07:23.332Z","caller":"gnet/server_gnet.go:313","content":"conn(803158884376@(192.168.0.54:59265-\u003e0.0.0.0:10443)) sessionQueryAuthKey error: rpc error: code = Code(401) desc = AUTH_KEY_UNREGISTERED","level":"error"}
{"@timestamp":"2024-09-16T10:07:23.334Z","caller":"clientinterceptors/durationinterceptor.go:35","content":"fail - direct:/172.20.0.2:20120/session.RPCSession/session_queryAuthKey - auth_key_id:-8267918398851283100 - rpc error: code = Code(401) desc = AUTH_KEY_UNREGISTERED","duration":"0.8ms","level":"error","span":"c41b03b547eb338b","trace":"12256f8972644da22e15a2f60a2e5aac"}
{"@timestamp":"2024-09-16T10:07:23.334Z","caller":"gnet/server_gnet.go:313","content":"conn(798863917079@(192.168.0.54:59264-\u003e0.0.0.0:10443)) sessionQueryAuthKey error: rpc error: code = Code(401) desc = AUTH_KEY_UNREGISTERED","level":"error"}
{"@timestamp":"2024-09-16T10:07:23.579Z","caller":"clientinterceptors/durationinterceptor.go:33","content":"fail - direct:/172.20.0.2:20120/session.RPCSession/session_sendDataToSession - rpc error: code = Code(401) desc = AUTH_KEY_UNREGISTERED","duration":"0.8ms","level":"error","span":"cf54de7550d0f1ba","trace":"461b38da23608caa358be4372dd0d25f"}
{"@timestamp":"2024-09-16T10:07:23.579Z","caller":"gnet/server_gnet.go:249","content":"session.sendDataToSession - error: rpc error: code = Code(401) desc = AUTH_KEY_UNREGISTERED","level":"error"}
KARENKING112 commented 5 days ago

also

wubenqi commented 5 days ago

please use teamgram2 branch

KARENKING112 commented 4 days ago

what what

wubenqi commented 4 days ago

https://github.com/teamgram/teamgram-ios/tree/teamgram2

KARENKING112 commented 4 days ago

and what does it mean

wubenqi commented 4 days ago

If the iOS client still doesn't work, please switch to the teamgram2 branch.