Hello.
I am trying to upload a simple search addon for my website to AMO, but addon automatic validation returnes an error “Your add-on failed validation with 1 error. Received an empty response from the server; status: 0”. After a few attempts to upload an addon, I have also tried other different OpenSearchDescription, but all of them failed with the same messages.
This is an example of the search descriptions, which causes https://addons.mozilla.org/en-US/developers/addon/validate show error message:
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Search YouTube</ShortName>
<Description>Search YouTube</Description>
<Tags>youtube video</Tags>
<Image height="16" width="16" type="image/vnd.microsoft.icon">https://www.youtube.com/favicon.ico</Image>
<Url type="text/html" template="https://www.youtube.com/results?search_query={searchTerms}&page={startPage?}&utm_source=opensearch" />
<Query role="example" searchTerms="cat" />
</OpenSearchDescription>