-
Notifications
You must be signed in to change notification settings - Fork 67
peer-to-peer replication not working #91
Comments
What version of the plugin are you using? and What are two devices that you are syncing? |
@pasin i'm using version 1.3.1 and tested on LG Nexus 5 and MI note 4 and i'm using the swagger-client and couchbase lite spec which i found here i have set the allowed credentials to with sync gateway it works properly, but when i try to replicate p2p i don't see any change or any replication happening |
@hideki could this be fixed in 1.4? |
@nandanshan, |
Thanks for the help. but now,I ran into another issue. The documents which contains images as attachments are not syncing where as documents which do not have attachments are getting synced across peer to peer. After searching for some time I came to know that the router can't handle multipart data, and the issues is still open is there any fix for this? or what can be an alternate solution for this? |
Hi @nandanshan, Let me understand better. Are you developing P2P app between Android and Android? or Android and iOS? |
Hi @sethrosetter, |
It does not at the moment. We have a ticket to implement them couchbaselabs/mobile-testkit#777 |
Hi @hideki, I'm currently developing P2P app between Android to Android As my previous question, is there any solution? |
I don't know any workaround for this issue. We need to reproduce this issue internally first. |
The issue is fixed with 1.4.x release. Also our QA verified it. |
@nandanshan 1.4.0 PhoneGap is not released yet. Please download RC jar files from the following link, and replace the library with the version you are using now. |
I tested peer to peer replication with and without attachments on the latest 1.4 builds. I used net-mono/SQLite and macosx/SQLite as the clients. |
I re-tested peer to peer replication with attachment between net-mono and android device. Without attachment, replication works fine. With attachment, replication does not work. I see the below trace in the logs:
It seems like android listener is not handling the multipart request. |
@raghusarangapani |
Hi @pasin
I'm getting the same problem as #989
The issue seems to be fixed in android but i'm using this phonegap plugin in my ionic app and i'm getting the error
I'm manually typing the IP address of the device to which I'm connecting and replicating, but on the other device I'm getting a 406 and no replication takes place
am I doing anything wrong?
The text was updated successfully, but these errors were encountered: