WindmillWWindmill
Powered by
tl_jacobT
Windmill•5mo ago•
20 replies
tl_jacob

I'm running a Windmill app in an iframe

I'm running a Windmill app in an iframe and using JWT for authentication. The Job logs component renders job output correctly, however the Flow Status UI component isn't working properly. Job updates aren't propagating—the nodes in the flow are completing but the UI isn't updating accordingly.
I'm seeing the following error repeatedly in the console:
Bad request: As a non logged in user, you can only see jobs ran by anonymous users
Bad request: As a non logged in user, you can only see jobs ran by anonymous users

I've configured the app to require user login, so I am confident that the JWT auth is working for everything except the flow status UI component.

Windmill version: v1.554.0
- also doesn't work on 1.552.1

I've also confirmed this works on v1.500.1

Looks like it has to do with windmill's migration to sse vs polling for job status. At least that's the main difference I can tell between 1.500.1 and 1.552.1 / 1.554.0

Edit: The errors manifest with the Job logs component too if the job runs for > 1 second (wrote a simple script with a sleep(1) to test).
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
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 · 5d 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

Hi, I'm trying out Windmill for
andnessAandness / general
3y ago
I'm working on using windmill as our
sledgeSsledge / general
2y ago