Comments (5)
No, it should work with https out of the box. Could you provide more information about how you called it?
from couchdb-push.
I call push(serverUrl,targetAppPath, function(err, resp) {
if (err) {
console.log(chalk.red.underline("ERROR"))
console.log(chalk.red(JSON.stringify(err)))
} else {
console.log(chalk.green.bold.underline("SUCCESS"))
console.log(resp)
}
})
where serverurl is like https://userId:[email protected]:443/dbName
the error occurs in couchdb-ensure/index.js line 8 in the request function:
module.exports = function configure (url, callback) {
const db = nanoOption(url)
const couch = nanoOption({ url: db.config.url, parseUrl: false })
couch.request({
method: 'HEAD',
db: db.config.db
}, function (error) {
if (!error) return callback(null, existResponse)
if (error.statusCode !== 404) return callback(error)
Hope this helps?
Kind Regards,
Oliver
from couchdb-push.
Thats strange, I took your example and it worked for me.
Do you use the most recent version of couchdb-push (3.1.0
)?
from couchdb-push.
Hi,
devDependencies": {
...
"couchdb-push": "^3.1.0",
...
}
I'm using the version above... I switched back to the http connection and the port 5982 and it worked again.
I will try to set up a seperate project for testing and will ping back when this solves the issue...
Many thanks for looking into it.
Kind Regards,
Oliver
from couchdb-push.
Yeah let me know the outcome, I'm happy to help.
from couchdb-push.
Related Issues (20)
- It does not work with dbnames containing slashes HOT 1
- Update nano
- Calculate the _id from folder names if `_id` file is missing HOT 5
- Support for CommonJS within Couchdb - what am I missing? HOT 3
- Race condition
- Rename Repository
- Idea: Merge Hook
- Unable to use couchdb-push with basic authentication url's HOT 1
- Watch option HOT 1
- Handle database names with `/` in them HOT 5
- Support _bulk_docs format support HOT 1
- Correctly diff user docs
- Beginner issue HOT 6
- Handle replication documents
- Supported node version HOT 2
- support handling json on the api
- here dont must return the other param from couchdb-ensure ?
- more of an help request really...
- How to push a bunch of sample documents?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from couchdb-push.