CORS Error when canceling publish on Odysee / LBRY
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 15
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/lbryio/lbry-redux/blob/c31161c41a54f6e05e7a75de54f86629eafec0e0/src/redux/actions/publish.js#L19
This function causes a CORS error client side:

https://spee.ch/api/config/site/publishing 302 redirections to -> https://lbry2.vanwanet.com/speech/api/config/site/publishing
The redirection on spee.ch has proper CORS, however the location at lbry2.vanwanet.com does not have any CORs set.
@tzarebczan suggested removing the check entirely.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/redux/actions/publish.js at the linked line and inspect the function used when canceling a publish. Reproduce the cancellation request if possible and compare the redirect to the CORS behavior described for spee.ch and lbry2.vanwanet.com. Done means canceling a publish no longer triggers the reported client-side CORS error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100