Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 500: [object ReadableStream] when generating availability with app #2

Open
pheyvaer opened this issue Apr 12, 2023 · 3 comments

Comments

@pheyvaer
Copy link

Hi!

When I use the app to set up the orchestrator I get the following error in the final step:

error - Error: 500: [object ReadableStream]
    at Object.getProperError (/Users/pheyvaer/Development/calendar-orchestrator/app/node_modules/next/dist/lib/is-error.js:25:12)
    at DevServer.run (/Users/pheyvaer/Development/calendar-orchestrator/app/node_modules/next/dist/server/dev/next-dev-server.js:734:39)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async DevServer.handleRequest (/Users/pheyvaer/Development/calendar-orchestrator/app/node_modules/next/dist/server/base-server.js:322:20)

Everything seems to be configured fine up until that point:

image

@renyuneyun
Copy link
Owner

Hi.
That's strange... It did not happen to me with my test just now.

It looks like an error related to the UI. When did it happen? (Almost) Immediately when you came to this step, or after clicking something there?

@pheyvaer
Copy link
Author

I happens when I click on "Confirm & generate availability".

@renyuneyun
Copy link
Owner

renyuneyun commented Jun 3, 2023

Hi Pieter. With an accidental discovery from some others, we were finally able to produce the same error message. (Not entirely sure if it was the same issue you had.)
In our case, it was because the calendar data is not correctly parsed by the orchestrator. A field is not recognized correctly. I still need to investigate/understand how the relevant parsing code was doing.
At least, Google's ics calendar works. The not-working case for us was https://www.calendarlabs.com/ical-calendar/ics/75/UK_Holidays.ics

To make it easier, I have updated/refactored the code. The error message should be more usable now.

Please let me know if the error message changes now when you have time to test.

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

No branches or pull requests

2 participants