Web Connection Closed By Peer

Code : 11001 MSG: Web Socket Connection closed by peer.
I’m getting this message while Push replication to the test drive provided by Couchbase server. I don’t know whether its a bug or something I’m missing in the code. I’m using the sample code provided by the Couchbase docs.
Docs link

What is “the test drive provided by Couchbase server”? Did you set up a Sync Gateway server? That’s what Couchbase Lite connects to.

Test Drive in the sense Couchbase provide free 3 hour GCP server for testing. And yeah I did set up Sync Gateway server like in the docs they have mentioned to add a bucket, security user etc I followed this adding up bucket and security policy.

What is the replication URL you’re using in the app?