r/FoundryVTT • • 8d ago

Help new version of Foundry caught in refresh loop

[System Agnostic]

Tried to update to Foundry 14.371 for the security update. This is on a Raspberry Pi, so I followed the directions here, and ended up with a refresh loop when I try to access my Foundry server via local ip address and it just keeps refreshing the splash page, but I can access it when I use my external IP. I've tried reinstalling, but it still happens. Any ideas what's going on or what I can do to troubleshoot?

2 Upvotes

7 comments sorted by

3

u/mortiferus1993 GM 8d ago

The latest Foundry version needs a HTTPS connection

2

u/zonker1984 8d ago

How do I fix that locally?

4

u/mortiferus1993 GM 8d ago

You would need to create a certificate for that. I just switched to the external IP

3

u/Fresh_Feesh GM 8d ago

If you're behind a reverse proxy (like Caddy or nginx) you need to make sure to have "proxySSL" = "true" set in your options.json file. Earlier versions of Foundry would quietly accept the misconfiguration while this latest one (properly) errors out.

1

u/AutoModerator 8d ago

System Tagging

You may have neglected to add a [System Tag] to your Post Title

OR it was not in the proper format (ex: [D&D5e]|[PF2e])

  • Edit this post's text and mention the system at the top
  • If this is a media/link post, add a comment identifying the system
  • No specific system applies? Use [System Agnostic]

Correctly tagged posts will not receive this message


Let Others Know When You Have Your Answer

  • Say "Answered" in any comment to automatically mark this thread resolved
  • Or just change the flair to Answered yourself

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/betaINK 12h ago

Faced same issue just now...
not really a computer or netwroking guy, but my current config seems to work...
Like you, I am on a Pi (pi5), myself connect locally but ask my players to join via tailscale, (players have a shared account for tailscale)
But since I also run oneshots for random strangers, I don't want to go through the hassel of installing tailscale...
so I want external link to also be working.
Foundry runs on docker contrainer, (provided by feldy) and this is what my config looks like
http for local and https for external, not sure what it will be for my players when the connect via tailscale as I won't start playing till next year

---
services:
foundry:
image: ghcr.io/felddy/foundryvtt:release
hostname: XXXXX.XXXXX
network_mode: host
user: "0:0"
volumes:
- type: bind
source: /home/pi5/share/foundrydata
target: /data
environment:
- FOUNDRY_PASSWORD=XXXXXXXXXX
- FOUNDRY_USERNAME=XXXXXXXXXX
- FOUNDRY_ADMIN_KEY=XXXXXXXXX
# - CONTAINER_CACHE=/data/container_cache
# - CONTAINER_CACHE_SIZE=
# - CONTAINER_PATCHES=/data/container_patches
# - CONTAINER_PATCH_URLS=
# https://raw.githubusercontent.com/felddy/...
# https://raw.githubusercontent.com/felddy/...
# - CONTAINER_PRESERVE_CONFIG=false
# - CONTAINER_URL_FETCH_RETRY=0
# - CONTAINER_VERBOSE=true
# - FOUNDRY_AWS_CONFIG=
# - |
# FOUNDRY_DEMO_CONFIG={
# "worldName": "demo-world",
# "sourceZip": "/data/demo-world.zip",
# "resetSeconds": 3600
# }
# - FOUNDRY_COMPRESS_WEBSOCKET=true
# - FOUNDRY_HOSTNAME=pi5.tailXXXXXX.ts.net
# - FOUNDRY_HOT_RELOAD=false
# - FOUNDRY_IP_DISCOVERY=
# - FOUNDRY_LANGUAGE=
# - FOUNDRY_LOCAL_HOSTNAME=
# - FOUNDRY_LICENSE_KEY=
# - FOUNDRY_MINIFY_STATIC_FILES=
# - FOUNDRY_PASSWORD_SALT=
# - FOUNDRY_PROTOCOL=
- FOUNDRY_PROXY_PORT=443
- FOUNDRY_PROXY_SSL=flase
# - FOUNDRY_RELEASE_URL=
# - FOUNDRY_ROUTE_PREFIX=
# - FOUNDRY_SSL_CERT=
# - FOUNDRY_SSL_KEY=
- FOUNDRY_TELEMETRY=true
# - FOUNDRY_UPNP=false
# - FOUNDRY_UPNP_LEASE_DURATION=
# - FOUNDRY_VERSION=13.350
- FOUNDRY_WORLD=shadows-over-elsir-vale
ports:
- target: 30000
published: 30000
protocol: tcp
mode: host

these are the new changes
user: "0:0"
- FOUNDRY_PROXY_PORT=443
- FOUNDRY_PROXY_SSL=flase

1

u/betaINK 12h ago

the indents have not come proerly. as i said I have no cs or netwroking experience, but I can still share what is working for me, just DM me