[GH-ISSUE #5887] Bug: Avatars fail to load on remote LAN devices #3250

Closed
opened 2026-10-21 06:01:12 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @scavru on GitHub (Sep 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5887

Originally assigned to: @SpicyMarinara on GitHub.

Describe the bug

When accessing the Marinara Engine server from another device within the same local network (LAN), avatar images fail to load.

At the same time, other assets like backgrounds and storyboards load perfectly fine since they use relative paths or correct network IPs.

To Reproduce

  1. Run Marinara Engine stable on a host machine (e.g., IP 192.168.31.43).
  2. Access the Web UI from another device in the same LAN using http://192.168.31.43:7800.
  3. Open a chat or NPC list where avatars should be visible.
  4. Backgrounds and storyboards render correctly, but avatars are broken.
  • Broken avatar URL fetched by the remote client:
    http://127.0.0
  • Expected avatar URL for the remote client:
    http://192.168.31

local http://127.0.0.1:7800/api/avatars/npc/aSw416sZ5tzfnqd3UvQZ8/unknown-voice-b0797221.png?v=1788691175788
remote https://192.168.31.43:7800/api/avatars/file/fe84d600-6b5e-46d6-bd7a-1afe60c4e9ad.png?mariAvatarRevision=1788692001105-6

Originally created by @scavru on GitHub (Sep 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5887 Originally assigned to: @SpicyMarinara on GitHub. ### Describe the bug When accessing the Marinara Engine server from another device within the same local network (LAN), avatar images fail to load. At the same time, other assets like backgrounds and storyboards load perfectly fine since they use relative paths or correct network IPs. ### To Reproduce 1. Run Marinara Engine stable on a host machine (e.g., IP `192.168.31.43`). 2. Access the Web UI from another device in the same LAN using `http://192.168.31.43:7800`. 3. Open a chat or NPC list where avatars should be visible. 4. Backgrounds and storyboards render correctly, but avatars are broken. ### Link examples observed in the browser * **Broken avatar URL fetched by the remote client:** `http://127.0.0` * **Expected avatar URL for the remote client:** `http://192.168.31` local http://127.0.0.1:7800/api/avatars/npc/aSw416sZ5tzfnqd3UvQZ8/unknown-voice-b0797221.png?v=1788691175788 remote https://192.168.31.43:7800/api/avatars/file/fe84d600-6b5e-46d6-bd7a-1afe60c4e9ad.png?mariAvatarRevision=1788692001105-6
bsakaguchi 2026-10-21 06:01:12 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 7, 2026):

Owner: @SpicyMarinara (Codex). Tracing Game NPC portrait URLs over LAN in draft #5935.

<!-- gh-comment-id:5574382651 --> @SpicyMarinara commented on GitHub (Sep 7, 2026): Owner: @SpicyMarinara (Codex). Tracing Game NPC portrait URLs over LAN in draft #5935.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 7, 2026):

Landed on staging in #5935 after the full regression matrix and CodeRabbit review passed. Included focused regression coverage for the reported behavior; main is unchanged.

<!-- gh-comment-id:5575778650 --> @SpicyMarinara commented on GitHub (Sep 7, 2026): Landed on staging in #5935 after the full regression matrix and CodeRabbit review passed. Included focused regression coverage for the reported behavior; main is unchanged.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3250
No description provided.