We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since http://sync.couchbasecloud.com service has been down I've been testing running my own instance of the sync_gateway locally. When I run the sync_gateway with the configuration file https://github.com/couchbaselabs/TodoLite-PhoneGap/blob/master/sync-gateway-config.json of the TodoLite-Phonegap app. I get a timeout error on the post to the /todos/_changes document.
here is my sync_gatway log:
deefactorial@triskaideca:~/sync_gateway/bin$ ./sync_gateway ../../git/todo-lite/www/sync-gateway-config.json 16:11:33.714432 Enabling logging: [CRUD REST+ Access] 16:11:33.714517 ==== Couchbase Sync Gateway/1.00 (unofficial) ==== 16:11:33.714557 Configured Go to use all 8 CPUs; setenv GOMAXPROCS to override this 16:11:33.714625 Opening db /todos as bucket "todos", pool "default", server <walrus:> 16:11:33.714719 Opening Walrus database todos on <walrus:> 16:11:33.715529 Reset guest user to config 16:11:33.715733 Starting admin server on 127.0.0.1:4985 16:11:33.720570 Starting server on :4984 ... 16:13:36.677489 Access: Computed channels for "": 16:13:36.677490 Access: Computed channels for "": 16:13:36.854519 Access: Computed roles for "": 16:13:36.854519 Access: Computed roles for "": 16:13:36.854638 HTTP: #001: GET /todos/_session 16:13:36.854731 HTTP: #002: GET /todos/_session 16:13:36.919253 HTTP: #003: POST /todos/_facebook 16:13:36.926844 HTTP: #004: POST /todos/_facebook 16:13:47.296726 Access: Computed channels for "deefactorial@gmail.com": 16:13:47.336553 Access: Computed channels for "deefactorial@gmail.com": 16:13:48.529067 HTTP: #005: GET /todos/_local/fe6ed0c1f337d9f3c548026738336d227da45167 (as deefactorial@gmail.com) 16:13:48.529166 HTTP: #005: --> 404 missing (0.3 ms) 16:13:48.568696 HTTP: #006: GET /todos/_local/f71905fdc95e5bdd80ce59d3feee50aead0b8cc7 (as deefactorial@gmail.com) 16:13:48.568764 HTTP: #006: --> 404 missing (0.2 ms) 16:13:48.594183 HTTP: #007: POST /todos/_changes (as deefactorial@gmail.com) 16:13:48.620773 HTTP: #008: POST /todos/_revs_diff (as deefactorial@gmail.com) 16:13:48.717337 HTTP: #009: POST /todos/_bulk_docs (as deefactorial@gmail.com) 16:13:48.836242 CRUD: Doc "p:deefactorial@gmail.com" in channels "{profiles}" 16:13:48.836300 Access: Doc "p:deefactorial@gmail.com" grants channel access: map[deefactorial@gmail.com:profiles:2] 16:13:48.836531 CRUD: Stored doc "p:deefactorial@gmail.com" / "1-239471b7c1a51eb44c2235552cc69651" 16:13:48.836553 Access: Rev "p:deefactorial@gmail.com"/"1-239471b7c1a51eb44c2235552cc69651" invalidates channels of [deefactorial@gmail.com] 16:13:48.836638 Access: Invalidate access of "deefactorial@gmail.com" 16:13:48.940213 Access: Computed channels for "deefactorial@gmail.com": profiles:2 16:13:48.977365 HTTP: #010: POST /todos/_changes (as deefactorial@gmail.com) 16:13:51.091643 HTTP: #011: PUT /todos/_local/fe6ed0c1f337d9f3c548026738336d227da45167 (as deefactorial@gmail.com) 16:14:49.886170 HTTP: #012: POST /todos/_changes (as deefactorial@gmail.com) 16:15:49.927132 HTTP: #013: POST /todos/_changes (as deefactorial@gmail.com) 16:16:50.321724 HTTP: #014: POST /todos/_changes (as deefactorial@gmail.com) 16:17:51.513516 HTTP: #015: POST /todos/_changes (as deefactorial@gmail.com) 16:18:52.273270 HTTP: #016: POST /todos/_changes (as deefactorial@gmail.com) 16:19:53.516965 HTTP: #017: POST /todos/_changes (as deefactorial@gmail.com) 16:20:55.255329 HTTP: #018: POST /todos/_changes (as deefactorial@gmail.com) 16:21:57.705439 HTTP: #019: POST /todos/_changes (as deefactorial@gmail.com) 16:23:00.865650 HTTP: #020: POST /todos/_changes (as deefactorial@gmail.com) 16:24:04.924742 HTTP: #021: POST /todos/_changes (as deefactorial@gmail.com) 16:25:09.942795 HTTP: #022: POST /todos/_changes (as deefactorial@gmail.com) 16:26:16.010168 HTTP: #023: POST /todos/_changes (as deefactorial@gmail.com)
here is the error log in the android app:
07-22 19:14:46.551: E/ChangeTracker(1974): com.couchbase.lite.replicator.ChangeTracker@b23a4de0: Exception in change tracker 07-22 19:14:46.551: E/ChangeTracker(1974): java.net.SocketTimeoutException 07-22 19:14:46.551: E/ChangeTracker(1974): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:491) 07-22 19:14:46.551: E/ChangeTracker(1974): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46) 07-22 19:14:46.551: E/ChangeTracker(1974): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:220) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:183) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:155) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:159) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.codehaus.jackson.impl.Utf8StreamParser.loadMore(Utf8StreamParser.java:172) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.codehaus.jackson.impl.Utf8StreamParser._skipWSOrEnd(Utf8StreamParser.java:2304) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:438) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.codehaus.jackson.map.deser.std.UntypedObjectDeserializer.mapArray(UntypedObjectDeserializer.java:157) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.codehaus.jackson.map.deser.std.UntypedObjectDeserializer.deserialize(UntypedObjectDeserializer.java:51) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.codehaus.jackson.map.deser.std.MapDeserializer._readAndBind(MapDeserializer.java:319) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:249) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2723) 07-22 19:14:46.551: E/ChangeTracker(1974): at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1900) 07-22 19:14:46.551: E/ChangeTracker(1974): at com.couchbase.lite.replicator.ChangeTracker.run(ChangeTracker.java:319) 07-22 19:14:46.551: E/ChangeTracker(1974): at java.lang.Thread.run(Thread.java:841)
The text was updated successfully, but these errors were encountered:
This is more likely a Couchbase Lite Android bug, I think. Can you have a look, @tleyden?
Sorry, something went wrong.
Closing as duplicate of https://github.com/couchbase/couchbase-lite-android/issues/330
ajres
No branches or pull requests
Since http://sync.couchbasecloud.com service has been down I've been testing running my own instance of the sync_gateway locally. When I run the sync_gateway with the configuration file https://github.com/couchbaselabs/TodoLite-PhoneGap/blob/master/sync-gateway-config.json of the TodoLite-Phonegap app. I get a timeout error on the post to the /todos/_changes document.
here is my sync_gatway log:
here is the error log in the android app:
The text was updated successfully, but these errors were encountered: