cloudflare / cloudflare/realtime-examples
echo-datachannels gets internal server error 500
- Dominant language
- TypeScript
- Stars
- 145
- Forks
- 29
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 5
Description
Hi, I'm reaching out because I'm getting an Internal Server Error on the POST datachannels/new request in my app.. It looks like the provided example is throwing the exact same error. Here are the details:
request: {"dataChannels":[{"location":"remote","sessionId":"30562bf4ab2c011f289f6304c8aaf1fb150ba2f7e85a3e24d0aed6b0f292a0a4","dataChannelName":"channel-one"}]}
response:{"errorCode":"internal_error","errorDescription":"Backend error"}
cf-ray:
a1e400a5c8f8c04a-WAW
all started today, 20.07 at 18:00 CEST. all was working perfectly before.
Contributor guide
Research direction
Start by reproducing the POST /datachannels/new request from the provided example with the supplied payload and inspect the 500 response, including the CF-Ray value. Trace whether the failure is in the example or the backend; done means identifying the cause and confirming that the request no longer returns the reported internal error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100