-
Notifications
You must be signed in to change notification settings - Fork 105
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
Exception 500 when invoking generators on Vorto dev system #2168
Comments
Hi @kolotu |
Hi @aedelmann, |
@kolotu |
I'm pretty sure it has smth to do with the caching. Unfortunately I cannot reproduce it locally yet. I'll look into it. |
Maybe it has sth to do with the missing config for privileged user on dev system. Just an idea |
Telling from the logs, it looks like the generator lambda is called, but the generator doesn't respond within 3 seconds, which leads to a timeout and the following exception. So I'd assume that the issue is more related to the generators. |
…-vorto#2168" Signed-off-by: kolotu <[email protected]>
Thanks to @somesh-kumar I've finally found the root cause for this error. The Lambda GeneratorExecutionHandler sets the filename in the Content-Disposition header and adds quotation marks before and after the filename. When deserializing, this is interpreted as an additional quotation mark at the end of the filename (i.e. filename.json" or filename.zip"). That causes the attachment validation in the Vorto Repository to fail. |
…-vorto#2168" (eclipse-vorto#2176) Signed-off-by: kolotu <[email protected]>
Steps taken:
Expected: Generated code can be downloaded successfully
Actual : 500 Internal Error
The text was updated successfully, but these errors were encountered: