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

Pyvespa deployment fails #30219

Closed
kkraune opened this issue Feb 8, 2024 · 5 comments
Closed

Pyvespa deployment fails #30219

kkraune opened this issue Feb 8, 2024 · 5 comments
Assignees
Labels
Milestone

Comments

@kkraune
Copy link
Member

kkraune commented Feb 8, 2024

Reported by @Gladiator566 in vespa-engine/pyvespa#663 - error message is

"Value of X-Content-Hash header does not match computed content hash"

This can happen when deploying to Vespa Cloud - see some of the comments in vespa-engine/pyvespa#663 for more details

@jobergum
Copy link
Member

jobergum commented Feb 8, 2024

There is a time component in the hash that might explain this

@kkraune kkraune added this to the soon milestone Feb 14, 2024
@tmaregge
Copy link

It appears the issue might be caused by the uppercase letter "M" present in the application name used by @Gladiator566. When I used the application name "bgeM3", as mentioned in this comment, I also got a content hash mismatch. Changing the name to "bgem3" fixed the issue.

I'm not sure if this is a Pyvespa-specific error or if Vespa simply doesn't support application names containing capital letters. Will investigate further.

@tmaregge
Copy link

Update: Vespa doesn't support uppercase letters in application names. Will add a more appropriate error.

@Gladiator566
Copy link

thanks a lot, lowercase letter like "bgem3" works well

@kkraune
Copy link
Member Author

kkraune commented Feb 28, 2024

Thanks @tmaregge ! Closing this then, will release pyvespa shortly

@kkraune kkraune closed this as completed Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants