Open hexagon6 opened 9 months ago
Hi @hexagon6 , thanks for reaching out! I think the core issue here is that the notification protocol implemented by the client library here is pre-specification, so it isn't aligned with the CSS protocol. It is on the roadmap to eventually catch up with the specification, but hasn't been done yet. I'm afraid until this is done, CSS is not supported for notifications.
@NSeydoux How can I help? I've implemented a current-specification for web sockets in my application, which is probably not so trivial to generalize, but I know the steps needed to get it working. Is the roadmap publicly available?
Hi @hexagon6 , thanks for reaching out! I think the core issue here is that the notification protocol implemented by the client library here is pre-specification, so it isn't aligned with the CSS protocol. It is on the roadmap to eventually catch up with the specification, but hasn't been done yet. I'm afraid until this is done, CSS is not supported for notifications.
Hi @hexagon6 ,
Unfortunately, we don't have a public-facing representation of the roadmap. If you want to fork the repository and add support for the latest notifications API, I'll be happy to provide feedback and to see that it can be merged in main.
Also considering that CSS@7.1.0 uses now StreamingHTTPChannel2023¶ instead of WebSocketChannel2023¶ is this also planned?
For the time being, the general plan is to bring ESS and the client libraries up-to-speed with the current spec when we start that effort, so the scope will depend on the timing I reckon.
Search terms you've used
Based on firefox devtools console output
Uncaught (in promise) Error: Unable to fetch protocol negotiation info:
\<redacted URL>returned [201]
Bug description
When using WebsocketNotification and calling .connect(), negotiation fails. The server responds with "201 Created", but execution of the client library stops there.
Debugging in Browser shows me the following Request payload for POSTing to e.g.
https://solid.mydomain.com/storage/
:To Reproduce
Minimal reproduction
Expected result
Do not fail on HTTP Status code 201
Actual result
Fails on HTTP Status code 201
Environment
Additional information