WindmillWWindmill
Powered by
niidaN
Windmill•10mo ago•
3 replies
niida

can't save WSS trigger URL, too long.

1. URI-based authentication works, but URI is too long to save configuration to database

When I try to save Static URL with wss://ws.axis.prioris.jp/socket?token=<TOKEN>
SqlErr: error returned from database: value too long for type character varying(255) @websocket_triggers.rs:267:5
SqlErr: error returned from database: value too long for type character varying(255) @websocket_triggers.rs:267:5

the token length was 305

---

2. is there a correct format for initial message?
static Url used:
wss://ws.axis.prioris.jp/socket
wss://ws.axis.prioris.jp/socket

initial message I tried:
{
  "headers": {
    "Authorization": "Bearer <JWT_TOKEN>"
  }
}
{
  "headers": {
    "Authorization": "Bearer <JWT_TOKEN>"
  }
}

The third party hosting the websocket server had an example client implementation with node.js. It was using the above json so I thought it would work.
I tried some other formats, but none worked...

I just started trying out Windmill today with docker and was loving the flexibility and feature set unlike others, appreciate your work!
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 · 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

Flow can't be save
EntVlEEntVl / help
14mo ago
Unable to save Azure OAuth resource. database: value too long for type character varying(1500)
fnxFfnx / help
8mo ago
Use a table action to trigger a long running flow
amararamaAamararama / help
2y ago
Email trigger
MaryMMary / help
11mo ago