niidaN
Windmillโ€ข9mo 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

the token length was 305

---

2. is there a correct format for initial message?
static Url used: wss://ws.axis.prioris.jp/socket
initial message I tried:
{
  "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!
Was this page helpful?