Thanks..!!
So, I built cblite tool and using it for my intended purpose (using
travel-sample)
./cblite cp ws://localhost:4984/travel-sample
~/Development/couchbase/travel-prebuilt.cblite2
but it is failing as it needs credentials;
...
15:47:10.640818| [WS] WARNING: {C4SocketImpl#1}==>
litecore::repl::C4SocketImpl ws://localhost:4984/travel-sample/_blipsync
@0x7f93ae9040a0
15:47:10.641081| [WS] WARNING: {C4SocketImpl#1} WebSocket closed abnormally
with status 401
15:47:10.641229| [Sync] ERROR: {Repl#1}==> litecore::repl::Replicator
/Users/rupesh.sasne/Development/couchbase/travel-prebuilt.cblite2/
->ws://localhost:4984/travel-sample/_blipsync @0x7f93ae903d68
15:47:10.641260| [Sync] ERROR: {Repl#1} Got LiteCore error: WebSocket error
401 "Unexpected response status 401 Unauthorized"
Completed 0 docs in 0.313241 secs; 0 docs/sec
How do I pass on the credentials?
Also, when I used it in our production environment the command is failing
with the message
[Sync] ERROR: {Repl#1} Got LiteCore error: LiteCore error 26 "SSL is not
initialized"
I'm not getting what does that mean, besides our production sync-gateway is
working perfectly with couchbase 2.1.0 mobile-sdk.
Could you please help me here?
On Saturday, 13 October 2018 21:41:51 UTC+5:30, Priya Rajagopal wrote:
>
> You can use the cblite tool.
> https://github.com/couchbase/couchbase-lite-core/tree/master/tools
>
> Priya
> Sent from my iPhone
>
> On Oct 13, 2018, at 6:14 AM, Rupesh Sasne <[email protected]
> <javascript:>> wrote:
>
> app means the iOS/Android app, right?
>
> we are currently using cblite 1.4.1 & migrating to 2.1.0; according to the
> documentation 2.x SDK supports mobile only. Is there any way by which we
> can generate pre-built database file via command line application
> (non-mobile)?
>
> On Thursday, 31 May 2018 07:06:34 UTC+5:30, Priya Rajagopal wrote:
>>
>> I generated the travel-sample.cblite2 by simply pull syncing the relevant
>> files to a CBL enabled app via the SGW. I located the cblite file and
>> copied it over for future use.
>>
>> On Wednesday, May 30, 2018 at 8:25:18 PM UTC-4, djougue basso wrote:
>>>
>>> "My database" is the one hosted by the couchbase server. So i would i
>>> would like To bundle it within mobile application (couchbase lite). If you
>>> follow for instance travel-sample project, you will remark that there is a
>>> pre built database (travel-sample.cblite2.zip). i would like To know how
>>> they have generated that.
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Couchbase Mobile" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/880f0afd-2a77-4652-87e9-298833ea6e68%40googlegroups.com
>
> <https://groups.google.com/d/msgid/mobile-couchbase/880f0afd-2a77-4652-87e9-298833ea6e68%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> Privacy Policy <https://www.couchbase.com/privacy-policy> | Update
> Marketing Preferences
> <https://info.couchbase.com/unsubscribe-or-manage-preferences>
>
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/4a6e885c-4c0e-4a3a-8520-4db943609453%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.