Skip to content

A server saved by its LAN address offers its public one (GRYT-2007) - #1147

Merged
grytchat merged 1 commit into
mainfrom
claude/GRYT-2007-lan-fallback
Nov 3, 2026
Merged

grytchat merged 1 commit into
mainfrom
claude/GRYT-2007-lan-fallback

Conversation

@grytchat

@grytchat grytchat commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Ingy had Gryt (Beta) saved as <lan-ip>:5010, and on another network the app said it wasn't answering while her phone still got pushes.

  • The app remembers public_host from server:details on the saved server.
  • When that server isn't answering, the screen offers Connect through beta.sivert.io. It adds the public address and removes the LAN one.

Look at: the switch goes through addServer, so the public address is joined and its identity proved and pinned like any server added by hand. Nothing dials the public address under the LAN one's name. That's why this isn't the automatic "LAN first, then public" version: that one has to teach the proof gate that two addresses are one server, which is its own PR.

Server half: Gryt-chat/server#362. Beta config: Gryt-chat/gryt PR to set EXTERNAL_HOST.

🤖 Generated with Claude Code

The app remembers public_host from server:details as the saved server's
publicHost. When that server isn't answering, the screen offers
"Connect through <public host>", which adds the public address and
removes the LAN one. It's joined and proved like any server added by
hand, so its identity check runs as normal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@grytchat
grytchat merged commit f98e31a into main Nov 3, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant