WindmillWWindmill
Powered by
JieJ
Windmill•11mo ago•
5 replies
Jie

wmill script generate-metadata running into 502 errors

I keep getting this message when i'm trying to generate metadata, even for a single file that has very basic dependencies. this has never happened to me before.

Generating metadata for f/shared/mod_run_structured_data_extraction.py
file:///Users/jiezhoumini/Library/pnpm/global/5/.pnpm/windmill-cli@1.458.4/node_modules/windmill-cli/esm/metadata.js:229
        throw new Error(`Failed to generate lockfile. Status was: ${rawResponse.statusText}, ${responseText}, ${e}`);
              ^
Error: Failed to generate lockfile. Status was: Bad Gateway, 
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>
, SyntaxError: Unexpected token '<', "
<html><hea"... is not valid JSON
    at updateScriptLock (file:///Users/jiezhoumini/Library/pnpm/global/5/.pnpm/windmill-cli@1.458.4/node_modules/windmill-cli/esm/metadata.js:229:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async generateScriptMetadataInternal (file:///Users/jiezhoumini/Library/pnpm/global/5/.pnpm/windmill-cli@1.458.4/node_modules/windmill-cli/esm/metadata.js:141:13)
Generating metadata for f/shared/mod_run_structured_data_extraction.py
file:///Users/jiezhoumini/Library/pnpm/global/5/.pnpm/windmill-cli@1.458.4/node_modules/windmill-cli/esm/metadata.js:229
        throw new Error(`Failed to generate lockfile. Status was: ${rawResponse.statusText}, ${responseText}, ${e}`);
              ^
Error: Failed to generate lockfile. Status was: Bad Gateway, 
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>
, SyntaxError: Unexpected token '<', "
<html><hea"... is not valid JSON
    at updateScriptLock (file:///Users/jiezhoumini/Library/pnpm/global/5/.pnpm/windmill-cli@1.458.4/node_modules/windmill-cli/esm/metadata.js:229:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async generateScriptMetadataInternal (file:///Users/jiezhoumini/Library/pnpm/global/5/.pnpm/windmill-cli@1.458.4/node_modules/windmill-cli/esm/metadata.js:141:13)

Tried updating wmill cli but didn't help
WindmillJoin
3,388Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

wmill script generate-metadata Error: Failed to generate lockfile.
rubenfRrubenf / help
2y ago
wmill script generate-metadata --yes generates new diff every time
NackiNNacki / help
7mo ago
Wmill data tables 500 error when running Python script in IDE
Spencer ChavezSSpencer Chavez / help
2w ago
generate-metadata command failing
immortal3Iimmortal3 / help
2y ago