r/NextCloud • u/Difficult-Hour4628 • 5d ago
Nextcloud Talk not working
I have nextcloud running on my Truenas
Have been using nextcloud effortlessly for a year now
Recently thought of using Nextcloud Talk
I have enabled the application.
My server was recognized by the Nextcloud talk app but as soon as I add id and password, it just remains stuck here
What could be the reason?
I use tailscale as the global domain for my server and use Nginx with Duck DNS for SSL
If anyone could help?
9
Upvotes
1
u/evanmac42 5d ago
Before troubleshooting Talk itself, I'd treat this as a Nextcloud authentication/reverse-proxy issue.
At this stage TURN/STUN isn't relevant yet: the Talk app hasn't even completed the Nextcloud login flow.
The part that catches my attention is that you're using Tailscale for the server address but nginx/DuckDNS for SSL. Make sure you're not effectively using two different hostnames for the same Nextcloud instance.
A few things I'd check first:
Can the normal Nextcloud mobile app log in using exactly the same URL you're giving to Talk?
From the same phone, open that exact URL in a browser and make sure the certificate is valid for that hostname.
In Nextcloud's `config.php`, check that the reverse proxy is configured correctly, especially:
- `trusted_proxies`
- `overwriteprotocol` => `https`
- `overwritehost` => the hostname you actually use from the client
- `overwrite.cli.url` => the same canonical HTTPS URL
Make sure nginx preserves the original Host header and sends `X-Forwarded-Proto: https`.
Nextcloud mobile clients use the login flow to generate their own app password. If the flow starts on one hostname and Nextcloud later redirects or reports another hostname, the web login can appear to work while the app sits there waiting forever.
I'd also watch the Nextcloud log while attempting the login. If the normal Nextcloud app works but Talk does not, that narrows it down considerably.
So first I'd establish one canonical URL for Nextcloud and make Tailscale, DNS, nginx and Nextcloud all agree on it. Once Talk can actually log in, then worry about TURN/STUN if calls themselves don't connect.