vespa icon indicating copy to clipboard operation
vespa copied to clipboard

Pyvespa deployment fails

Open kkraune opened this issue 1 year ago • 1 comments

Reported by @Gladiator566 in https://github.com/vespa-engine/pyvespa/issues/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 https://github.com/vespa-engine/pyvespa/issues/663 for more details

kkraune avatar Feb 08 '24 13:02 kkraune

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

jobergum avatar Feb 08 '24 14:02 jobergum

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 avatar Feb 20 '24 15:02 tmaregge

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

tmaregge avatar Feb 21 '24 11:02 tmaregge

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

Gladiator566 avatar Feb 22 '24 00:02 Gladiator566

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

kkraune avatar Feb 28 '24 10:02 kkraune