Skip to content

Conversation

rkistner
Copy link
Contributor

#258 improved auth errors in general, but it was not correctly propagated for websocket connections, resulting in a generic "[PSYNC_S2106] Authentication required" message. This fixes it to correctly propagate the token errors, same as for http streams.

@rkistner rkistner requested a review from stevensJourney June 26, 2025 07:33
Copy link

changeset-bot bot commented Jun 26, 2025

🦋 Changeset detected

Latest commit: cde1757

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 11 packages
Name Type
@powersync/service-core Patch
@powersync/service-image Patch
@powersync/service-core-tests Patch
@powersync/service-module-core Patch
@powersync/service-module-mongodb-storage Patch
@powersync/service-module-mongodb Patch
@powersync/service-module-mysql Patch
@powersync/service-module-postgres-storage Patch
@powersync/service-module-postgres Patch
test-client Patch
@powersync/service-schema Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rkistner rkistner merged commit e8cb8db into main Jun 26, 2025
22 checks passed
@rkistner rkistner deleted the fix-websocket-auth-errors branch June 26, 2025 08:13
rkistner added a commit that referenced this pull request Jul 9, 2025
* Correctly propagate auth errors for websockets.

* Add changeset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants