WindmillWWindmill
Powered by
niidaN
Windmill•11mo 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,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

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

henri-c · 6d ago

rubenf

Infrastructure as code

rubenf · 4w 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

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