Skip to content
Discussion options

You must be logged in to vote

The machine can be the server, but phones cannot use a self-signed certificate or a plain http:// address. A release APK talks to its server over https:// only, trusting only the phone's system certificate authorities — ruling out a self-signed certificate or a CA of your own installed on the phone. A LAN address such as http://192.168.1.10:8000 works only in a debug build; debug builds are for development (#202).

What works at home:

  • The server. Run docker compose up -d --build (Option 2). The bot uses long polling, needing no inbound address — only an outbound connection to Telegram.
  • An address for the phones. You need a domain name with a certificate from a public CA. One option is a t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:server for:operator Whoever runs a server or builds and signs an APK of their own
1 participant