Skip to content

Epic Games login fails with "Incorrect response" in Docker on Feiniu NAS (China) #566

@leo-cheung-itlger

Description

@leo-cheung-itlger

Problem Description

I'm encountering persistent login failures when trying to claim Epic Games free games using the Docker version of free-games-claimer. The error message is:

Incorrect response. Please refresh the page.

Even after manually completing the captcha in the VNC browser, the login still fails with the same error.

Environment Details

Deployment Platform

  • NAS Device: Feiniu NAS (飞牛 NAS)
  • OS: FNOS (飞牛操作系统)
  • Location: Mainland China (中国内地)
  • Network: Home network with Clash proxy (port 7890)

Docker Configuration

  • Image: ghcr.io/vogler/free-games-claimer:latest
  • Build Date: Thu, 15 May 2025 22:16:05 +0000
  • Commit: 99c1f05

Hardware

  • CPU: Intel processor
  • GPU: Intel HD Graphics 510 (integrated graphics)
  • GPU Passthrough: Enabled (--device=/dev/dri)

Docker Run Command

docker run -d \
  --name free-games-claimer \
  -p 6080:6080 \
  -v /vol1/1000/docker-leo/free-games-claimer/data:/fgc/data \
  -e [email protected] \
  -e EG_PASSWORD=*** \
  -e SHOW=1 \
  --device=/dev/dri \
  -e HTTP_PROXY=http://192.168.1.201:7890 \
  -e HTTPS_PROXY=http://192.168.1.201:7890 \
  ghcr.io/vogler/free-games-claimer:latest \
  node epic-games

Steps Taken

  1. ✅ Cleared browser data directory (rm -rf /vol1/1000/docker-leo/free-games-claimer/data/browser/*)
  2. ✅ Stopped and removed old container
  3. ✅ Recreated container with GPU passthrough (--device=/dev/dri)
  4. ✅ Verified /dev/dri devices exist and are accessible
  5. ✅ Tried with proxy (Clash on port 7890)
  6. ✅ Tried without proxy
  7. ✅ Tried different proxy nodes (Hong Kong, USA, Japan, Singapore)
  8. ✅ Waited 24+ hours for potential IP ban to expire
  9. ✅ Manually completed captcha in VNC browser (http://192.168.1.201:6080)

Logs

Initial Run (No WebGL disabled message)

Version: https://github.com/vogler/free-games-claimer/tree/99c1f05302aeece21a628797cfdffb561ee38956
Build: Thu, 15 May 2025 22:16:05 +0000
Xvfb display server created screen with resolution 1920x1080
VNC is running on port 5900 (no password!)
noVNC (VNC via browser) is running on http://localhost:6080

2026-01-03 04:18:24.620 started checking epic-games
/fgc/data/browser/prefs.js does not exist yet, will patch it on next run. Restart the script if you get a captcha.
Open http://localhost:6080 to login inside the docker container.
Login timeout is 180 seconds!
Using email and password from environment.

Second Run (WebGL disabled)

2026-01-03 04:22:06.891 started checking epic-games
Adding webgl.disabled to /fgc/data/browser/prefs.js
Open http://localhost:6080 to login inside the docker container.
Login timeout is 180 seconds!
Using email and password from environment.
Please login in the browser!

Not signed in anymore. Please login in the browser or here in the terminal.
Got a captcha during login (likely due to too many attempts)! You may solve it in the browser, get a new IP or try again in a few hours.
Login error: Incorrect response. Please refresh the page.
Incorrect response for captcha!

Key Observations

  1. First run: No "Adding webgl.disabled" message, suggesting WebGL might be working with GPU passthrough
  2. Second run: "Adding webgl.disabled" appears, indicating WebGL is still being disabled
  3. Captcha always fails: Even when manually completed in VNC, Epic Games returns "Incorrect response"
  4. GPU passthrough not effective: Despite using --device=/dev/dri, WebGL still gets disabled on subsequent runs
  5. IP doesn't matter: Tried multiple proxy nodes (HK, US, JP, SG) - all fail with same error
  6. Waited 24+ hours: IP ban timeout doesn't resolve the issue

Browser Configuration

From /fgc/data/browser/prefs.js:

user_pref("webgl.disabled", true);
user_pref("webgl.forbid-software", false);
user_pref("privacy.resistFingerprinting", true);

Questions

  1. Why does WebGL get disabled on the second run even with GPU passthrough?
  2. Is Xvfb compatible with hardware-accelerated OpenGL?
  3. Should I use TurboVNC instead of Xvfb for proper OpenGL support?
  4. Are there any specific configurations needed for Chinese network environment?
  5. Is this a known limitation of Docker deployment?

Additional Context

  • The issue persists regardless of whether proxy is used or not
  • Tried both with and without HTTP_PROXY/HTTPS_PROXY environment variables
  • All claim record files (epic-games.json, prime-gaming.json, gog.json) remain empty
  • Container runs successfully but cannot complete Epic Games login

References

Expected Behavior

User should be able to log in to Epic Games account and claim free games using the Docker container, either automatically or via manual captcha completion in VNC.

Actual Behavior

Login consistently fails with "Incorrect response. Please refresh the page." even after manually completing captcha in VNC browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions