pouchdb / npm-browser

npm in your browser. Because why not. (UNMAINTAINED)
http://www.npm-browser.com
34 stars 7 forks source link

Sequence Mismatch #15

Open mavericken opened 8 years ago

mavericken commented 8 years ago

Hi, I tried out the npm-browser.com site today and I ran into an error that prevents the replication from finishing in my case.

Here is what it is trying to do: https://nolan.cloudant.com/skimdb-mirror/_changes?timeout=25000&style=all_docs&heartbeat=10000&since=161869&limit=500

And the response: {"error":"bad_request","reason":"Malformed sequence supplied in 'since' parameter."}

The problem appears to be that there is a mismatch between the sequence numbers that my browser has so far and the sequence numbers that the cloudant skimdb-mirror has.

The cloudant sequence numbers are super long and ugly. Here is a working example: https://nolan.cloudant.com/skimdb-mirror/_changes?timeout=25000&style=all_docs&heartbeat=10000&since=506-g1AAAAG3eJzLYWBgYMlgTmFQSklKzi9KdUhJMjTSy83PzyvOyMxL1UvOyS9NScwr0ctLLckBqmVKZEiy____f1YGc2JNLlCA3cI42cTE2JAoE9AsMsBnUZIDkEyqh9pVAbYrLdnQLC3NhChDQHYpwpWZ47MqjwVIMjQAKaBt-xFeMzQ2SEoySyHGHFTbjAnbdgBiG9hzXWDbTEyNE83NjIkxJwsAmUyRgQ&limit=500

nolanlawson commented 8 years ago

Oh yeah I think that's because I migrated from IrisCouch to Cloudant but didn't change the pouchdb-dump files. I should probably migrate back to pure CouchDB 1.x somehow (maybe in a Digital Ocean droplet?)