AmruthPillai / Reactive-Resume

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
https://rxresu.me
MIT License
25.67k stars 2.62k forks source link

[Bug] running the app locally doesn't work anymore: I get a "Unauthorized" error #1801

Open AndreaPi opened 8 months ago

AndreaPi commented 8 months ago

Is there an existing issue for this?

Product Variant

Self-Hosted

Current Behavior

After git fetch/ git pull to the latest version, and building the Docker image again, self-hosted doesn't work anymore. I run

docker compose -f tools/compose/development.yml up -d

I navigate to

http://localhost:8080/

And I get

image

Expected Behavior

I would expect to see the frontend running at http://localhost:8080/

Steps To Reproduce

  1. docker compose -f tools/compose/development.yml up -d
  2. navigate to http://localhost:8080/
  3. Get Unauthorizedresponse

What browsers are you seeing the problem on?

Chrome

What template are you using?

None

Anything else?

Docker Desktop logs:

2024-03-08 22:45:26 2024-03-08T21:45:26.409Z browserless:server Using configuration: 
2024-03-08 22:45:26 2024-03-08T21:45:26.412Z browserless:server {
2024-03-08 22:45:26   CONNECTION_TIMEOUT: 10000,
2024-03-08 22:45:26   MAX_CONCURRENT_SESSIONS: 10,
2024-03-08 22:45:26   QUEUE_LENGTH: 10,
2024-03-08 22:45:26   SINGLE_RUN: false,
2024-03-08 22:45:26   CHROME_REFRESH_TIME: 1800000,
2024-03-08 22:45:26   KEEP_ALIVE: true,
2024-03-08 22:45:26   DEFAULT_BLOCK_ADS: false,
2024-03-08 22:45:26   DEFAULT_HEADLESS: 'new',
2024-03-08 22:45:26   DEFAULT_LAUNCH_ARGS: [],
2024-03-08 22:45:26   DEFAULT_IGNORE_DEFAULT_ARGS: false,
2024-03-08 22:45:26   DEFAULT_IGNORE_HTTPS_ERRORS: false,
2024-03-08 22:45:26   DEFAULT_DUMPIO: false,
2024-03-08 22:45:26   DEFAULT_STEALTH: false,
2024-03-08 22:45:26   DEFAULT_USER_DATA_DIR: undefined,
2024-03-08 22:45:26   PREBOOT_CHROME: false,
2024-03-08 22:45:26   PREBOOT_QUANTITY: 0,
2024-03-08 22:45:26   PRINT_GET_STARTED_LINKS: true,
2024-03-08 22:45:26   PRINT_NETWORK_INFO: true,
2024-03-08 22:45:26   DEBUG: 'browserless*',
2024-03-08 22:45:26   DISABLED_FEATURES: [],
2024-03-08 22:45:26   ENABLE_CORS: false,
2024-03-08 22:45:26   ENABLE_API_GET: false,
2024-03-08 22:45:26   TOKEN: 'chrome_token',
2024-03-08 22:45:26   ENABLE_HEAP_DUMP: false,
2024-03-08 22:45:26   ALLOW_FILE_PROTOCOL: false,
2024-03-08 22:45:26   DISABLE_AUTO_SET_DOWNLOAD_BEHAVIOR: false,
2024-03-08 22:45:26   FUNCTION_BUILT_INS: [ 'url' ],
2024-03-08 22:45:26   FUNCTION_ENV_VARS: [],
2024-03-08 22:45:26   FUNCTION_ENABLE_INCOGNITO_MODE: false,
2024-03-08 22:45:26   FUNCTION_EXTERNALS: [ 'lighthouse', 'node-pdftk', 'sharp' ],
2024-03-08 22:45:26   WORKSPACE_DIR: '/usr/src/app/workspace',
2024-03-08 22:45:26   WORKSPACE_DELETE_EXPIRED: false,
2024-03-08 22:45:26   WORKSPACE_EXPIRE_DAYS: 30,
2024-03-08 22:45:26   FAILED_HEALTH_URL: null,
2024-03-08 22:45:26   QUEUE_ALERT_URL: null,
2024-03-08 22:45:26   REJECT_ALERT_URL: null,
2024-03-08 22:45:26   TIMEOUT_ALERT_URL: null,
2024-03-08 22:45:26   ERROR_ALERT_URL: null,
2024-03-08 22:45:26   SESSION_CHECK_FAIL_URL: null,
2024-03-08 22:45:26   PRE_REQUEST_HEALTH_CHECK: true,
2024-03-08 22:45:26   EXIT_ON_HEALTH_FAILURE: true,
2024-03-08 22:45:26   MAX_CPU_PERCENT: 99,
2024-03-08 22:45:26   MAX_MEMORY_PERCENT: 99,
2024-03-08 22:45:26   METRICS_JSON_PATH: null,
2024-03-08 22:45:26   HOST: '0.0.0.0',
2024-03-08 22:45:26   PORT: 3000,
2024-03-08 22:45:26   SOCKET_CLOSE_METHOD: 'http',
2024-03-08 22:45:26   PROXY_URL: undefined,
2024-03-08 22:45:26   MAX_PAYLOAD_SIZE: '5mb'
2024-03-08 22:45:26 }
2024-03-08 22:45:26 2024-03-08T21:45:26.412Z browserless:server 
2024-03-08 22:45:26 
2024-03-08 22:45:26 Running on port 3000
2024-03-08 22:45:26     Localhost        ws:localhost:3000
2024-03-08 22:45:26     Local network    ws:172.19.0.4:3000
2024-03-08 22:45:26 2024-03-08T21:45:26.412Z browserless:server 
2024-03-08 22:45:26 Get started at       https://www.browserless.io/docs/start
2024-03-08 22:45:26 Get a license at     https://www.browserless.io/sign-up?type=commercial
2024-03-08 22:45:26 Get support at       https://www.browserless.io/contact
2024-03-08 22:45:26 
2024-03-08 22:45:26 Happy coding!
2024-03-08 22:45:26 
2024-03-08 22:50:26 2024-03-08T21:50:26.426Z browserless:server Health check stats: CPU 3%, MEM: 21%,
2024-03-08 22:50:26 2024-03-08T21:50:26.427Z browserless:server Current period usage: {"date":1709934326409,"error":0,"rejected":0,"successful":0,"timedout":0,"totalTime":0,"maxTime":0,"minTime":0,"meanTime":0,"maxConcurrent":0,"units":0}
Himal-Marasini commented 6 months ago

I think it's already fixed now.