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

asked 2015-04-20 14:51:52 -0500

mayurmadmax gravatar image

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.

edit retag flag offensive close merge delete


Welcome to OpenStack :)

This error looks like a problem with SSL configuration - are you using SSL on an endpoint that doesn't support SSL?

fifieldt gravatar imagefifieldt ( 2015-04-30 03:48:17 -0500 )edit