You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using nano to access couchdb, and my couchdb installation use https with a non-verified SSL. In "nano" I can change the request options through "request_defaults". I couldn't find how to do it in "follow", maybe I missed somewhere in documentation. I keep getting DEPTH_ZERO_SELF_SIGNED_CERT error.
I've tried to change line 111 follow.js to:
var req = request({'uri':self.db, 'headers':headers, 'strictSSL':false}, db_response)
But it still returns the same error. I guess there is another request object somewhere that I'm missing or I'm misunderstanding the error.
I dont know if post an issue for that is the best way to ask those questions. If not, I'm sorry please tell me the best way to do it. I couldnt find nothing on google.
Thanks
The text was updated successfully, but these errors were encountered:
I didn't browse the code very well, or the code have changed. I find out that the requests parameters are supported. You only have to specify it at follow: (NOTE, I am using nano)
var feed = nanoDB.follow({feed:"continuous",since:"now",request:{strictSSL:false}});
I'm using nano to access couchdb, and my couchdb installation use https with a non-verified SSL. In "nano" I can change the request options through "request_defaults". I couldn't find how to do it in "follow", maybe I missed somewhere in documentation. I keep getting DEPTH_ZERO_SELF_SIGNED_CERT error.
I've tried to change line 111 follow.js to:
But it still returns the same error. I guess there is another request object somewhere that I'm missing or I'm misunderstanding the error.
I dont know if post an issue for that is the best way to ask those questions. If not, I'm sorry please tell me the best way to do it. I couldnt find nothing on google.
Thanks
The text was updated successfully, but these errors were encountered: