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

Crashes when parsing or building (some) VAST #17

Closed
birme opened this issue Jan 31, 2025 · 0 comments · Fixed by #18
Closed

Crashes when parsing or building (some) VAST #17

birme opened this issue Jan 31, 2025 · 0 comments · Fixed by #18
Assignees
Labels
bug Something isn't working

Comments

@birme
Copy link
Contributor

birme commented Jan 31, 2025

Requested a 10 sec duration and using Eyevinn Test Adserver and the normalizer fail to parse VAST (or build VAST)

curl -v -H 'Accept: application/json' "https://eyevinnlab-sprintdemo.eyevinn-ad-normalizer.auto.prod.osaas.io/api/v1/vast?dur=10"
2025-01-31T08:33:06.907Z [�[31merror�[39m] : Failed to create asset list parsedVAST.VAST.Ad.map is not a function {"stack":"TypeError: parsedVAST.VAST.Ad.map is not a function\n at createAssetList (/app/src/vast/vastApi.ts:323:46)\n at Reply.serializer (/app/src/vast/vastApi.ts:79:22)\n at preSerializationHookEnd (/app/node_modules/fastify/lib/reply.js:506:40)\n at preSerializationHook (/app/node_modules/fastify/lib/reply.js:494:5)\n at Reply.send (/app/node_modules/fastify/lib/reply.js:174:7)\n at Object.<anonymous> (/app/src/vast/vastApi.ts:97:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"}

It worked with 30 sec

@birme birme added the bug Something isn't working label Jan 31, 2025
@Lunkers Lunkers linked a pull request Feb 5, 2025 that will close this issue
@birme birme closed this as completed in #18 Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants