Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to use pkgcloud ? I am not able to get auth token.

I have installed node.js. I am using package for pkgcloud. Now I am creating client

 client = require('pkgcloud').compute.createClient({
        provider: 'openstack',
        username: 'uname',
        password: 'password',
        authUrl: 'https://ip:port'

But I am not geitng any token, so I am not able to use any other API. When I use this :

    console.log("err:",e," ver:",v);

I am getting error on console:

 err: [Error: 154776:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:766:                                             ]  ver: undefined

any Idea, I am new to openStack.