Your start hash is wrong. Use HashedVersion.versionZero(waveletName). Or, if
you have implemented your own code, you need to use the URI encoded wavelet
name as the hash.
So in your case the start-version-hash should probably have been "wave://
wavesandbox.com/w+1r9hB3GwV/conv".

Look at HashedVersionZeroFactoryImpl.createVersionZero().

-Tad

On Wed, May 12, 2010 at 3:45 PM, jesus salas <[email protected]> wrote:

> Hi,
>
> I'm federating to wavesandbox.com and when receiving first delta for
> wavelet is version 5.
>
> So I try to request 0 to 5 (tried 1 to 5 also), to wavesandbox.com to
> have complete delta list on my server using:
>
> <iq type="get" id="historyHash1" from="wave.wavevs.net"
> to="wave.wavesandbox.com">
>  <pubsub xmlns="http://jabber.org/protocol/pubsub";>
>    <items node="wavelet">
>      <delta-history xmlns="http://waveprotocol.org/protocol/0.2/
> waveserver"
>             start-version="0"
>             start-version-hash="AAAAAAAAAAAAAAAAAAAAAAAAAAA="
>             end-version="11"
>             end-version-hash="sZggTUDwdv84saKc5h7Oq3X2wl8="
>             response-length-limit="300000"
>             wavelet-name="wave://wavesandbox.com/w+1r9hB3GwV/conv
> +root"/>
>    </items>
>  </pubsub>
> </iq>
>
> wavesandbox just reply:
>
> <iq type="error" id="historyHash1" from="wave.wavesandbox.com"
> to="wave.wavevs.net" xmlns="jabber:server">
>  <pubsub xmlns="http://jabber.org/protocol/pubsub";>
>    <items node="wavelet">
>      <delta-history
>          start-version="0"
>          start-version-hash="AAAAAAAAAAAAAAAAAAAAAAAAAAA="
>          end-version="11"
>          end-version-hash="sZggTUDwdv84saKc5h7Oq3X2wl8="
>          response-length-limit="300000"
>          wavelet-name="wave://wavesandbox.com/w+1r9hB3GwV/conv+root"
>          xmlns="http://waveprotocol.org/protocol/0.2/waveserver"; />
>    </items>
>  </pubsub>
>  <error code="503" type="cancel">
>    <service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /
> >
>  </error>
> </iq>
>
>
> some ideas?
>
> jesus
>
> --
> You received this message because you are subscribed to the Google Groups
> "Wave Protocol" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<wave-protocol%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/wave-protocol?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.

Reply via email to