GithubHelp home page GithubHelp logo

Comments (9)

JCMais avatar JCMais commented on July 22, 2024

Unfortunately I cannot test this, since this protocol is such a black box from Microsoft, and I didn't found any packages for node.js that could emulate it (that is the motive there are no tests for it).

Can you post the output of curl -v -V? And if possible, the output of running the above command, but with the verbose flag (showing both correct and wrong requests).

from node-libcurl.

kevinhikaruevans avatar kevinhikaruevans commented on July 22, 2024

Here you go:

curl 7.32.0 (x86_64-pc-linux-gnu) libcurl/7.32.0 OpenSSL/1.0.1e zlib/1.2.8 libidn/1.28 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP

from node-libcurl.

JCMais avatar JCMais commented on July 22, 2024

Can you enable set FORBID_REUSE to true and check if the issue persists?

curl.setOpt( 'FORBID_REUSE', true );

from node-libcurl.

kevinhikaruevans avatar kevinhikaruevans commented on July 22, 2024

Hmm, that doesn't seem to work at all with that.

With that enabled, I end up getting this error: Unhandled rejection Error: Couldn't connect to server

from node-libcurl.

JCMais avatar JCMais commented on July 22, 2024

Try using libcurl >= 7.38, a bug was fixed in this version about the error you've received.

NTLM: ignore CURLOPT_FORBID_REUSE during NTLM HTTP auth

from node-libcurl.

sridharspeaks avatar sridharspeaks commented on July 22, 2024

Hi,

I am also getting a similar error and seriously got strucked here.

npm WARN package.json [email protected] No repository field.
npm WARN engine [email protected]: wanted: {"node":">= 0.8.0 && < 0.11.0"} (current: {"node":"0.10.36","npm":"1.4.28"})

[email protected] install /usr/local/node/ayla/node_modules/node-libcurl
node tools/retrieve-win-deps && node tools/generate-stubs && node-gyp rebuild

Cannot find curl's header file.

npm ERR! [email protected] install: node tools/retrieve-win-deps && node tools/generate-stubs && node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the node-libcurl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node tools/retrieve-win-deps && node tools/generate-stubs && node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls node-libcurl
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-431.17.1.el6.x86_64
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "node-libcurl"
npm ERR! cwd /usr/local/node/ayla
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

Just wanted to check if there is any solution available. Also may be due to this erorr, I am unable to do npm install node-curl.

Here is my curl version details
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

from node-libcurl.

JCMais avatar JCMais commented on July 22, 2024

@sridharspeaks your issue is not related to this one, create a new issue, and post the output of running npm install with the flag --loglevel set to verbose. npm install --loglevel verbose

from node-libcurl.

sridharspeaks avatar sridharspeaks commented on July 22, 2024

I have placed it as a separate request. Here is the link for below.
#10

Thanks for looking into the issue.

from node-libcurl.

JCMais avatar JCMais commented on July 22, 2024

Timing out.

from node-libcurl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.