WindmillWWindmill
Powered by
HybridH
Windmillโ€ข3y agoโ€ข
6 replies
Hybrid

Issues with Golang on selfhosted environment

Hi,
I just installed the selfhosted version a few hours ago, and I currently can't request any variables/resources as I'm getting an Unauthorized access from the API with Golang.
The issue is not present with Python and Bash.
After some digging, it looks like the env WM_WORKSPACE is not populated, and it does not output a correct URI as seen from the logs :
uri=/api/w//variables/get/u%2Fredacteduser%2Fredactedvariable?decrypt_secret=true
uri=/api/w//variables/get/u%2Fredacteduser%2Fredactedvariable?decrypt_secret=true


On Windmill cloud, the
os.Environ()
os.Environ()
function returns a list of WM_* env but not on the selfhosted version.

The setup is pretty standard and I only changed the Postgres default password in the .env file, and the caddy container port.

Any ideas ?
Thanks
image.png
WindmillJoin
3,362Members
Resources

Similar Threads

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

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c ยท 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra ยท 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 ๐Ÿ™‚

henri-c ยท 4w ago

Similar Threads

Issues with Puppeteer - environment config
hershHhersh / help
6mo ago
Multifile Golang script
mat02__Mmat02__ / help
3mo ago
golang execution error
loulz0rLloulz0r / help
17mo ago
Question about air-gapped environment
์˜ค๊ทœ์„ฑ_์‚ฌ๋ž‘์˜ ์€์†Œ๋‚˜์˜ค์˜ค๊ทœ์„ฑ_์‚ฌ๋ž‘์˜ ์€์†Œ๋‚˜ / help
8mo ago