gnodet opened a new issue #294: Apihost property not used
URL: https://github.com/apache/incubator-openwhisk-cli/issues/294
 
 
   The following shell excerpt exhibits the problem.
   The `apihost` property has been correctly set along with the auth property, 
but it's not used when invoking the `wsk` command.
   
   {code}
   gnodet•~/work/apps» wsk -i property get                                      
                                                                                
                   [17:20:41]
   whisk API host               openwhisk-openwhisk2.192.168.64.3.nip.io
   gnodet•~/work/apps» wsk -i -d -v package list                                
                                                                                
                   [17:21:04]
   [-go/whisk.addRouteOptions]:051:[Inf] Adding options &{Public:false Limit:30 
Skip:0 Since:0 Docs:false} to route 'packages'
   [-go/whisk.addRouteOptions]:076:[Inf] Returning route options 
'packages?limit=30&skip=0' from input struct &{Public:false Limit:30 Skip:0 
Since:0 Docs:false}
   [k.(*Client).NewRequestUrl]:701:[Inf] basepath: https://172.17.0.1/api, 
version/namespace path: v1/namespaces/_, resource path: packages?limit=30&skip=0
   [k.(*Client).addAuthHeader]:298:[Inf] Adding basic auth header; using authkey
   REQUEST:
   [GET]        https://172.17.0.1/api/v1/namespaces/_/packages?limit=30&skip=0
   Req Headers
   {
     "Authorization": [
       "Basic 
Nzg5YzQ2YjEtNzFmNi00ZWQ1LThjNTQtODE2YWE0ZjhjNTAyOk14SG1yMlFDdExleGN0UnZHZHVWNGNvU04wMDZVdUFoa0RoZEZWUm04UDRFTFRqeXdsa2xRbkp1YXdicTRLMnI="
     ],
     "User-Agent": [
       "OpenWhisk-CLI/1.0 (2018-04-23T21:59:50.116+0000)"
     ]
   }
   [ent-go/whisk.(*Client).Do]:352:[Err] HTTP Do() [req 
https://172.17.0.1/api/v1/namespaces/_/packages?limit=30&skip=0] error: Get 
https://172.17.0.1/api/v1/namespaces/_/packages?limit=30&skip=0: dial tcp 
172.17.0.1:443: i/o timeout
   [sk.(*PackageService).List]:149:[Err] s.client.Do() error - HTTP req 
https://172.17.0.1/api/v1/namespaces/_/packages?limit=30&skip=0; error 'Get 
https://172.17.0.1/api/v1/namespaces/_/packages?limit=30&skip=0: dial tcp 
172.17.0.1:443: i/o timeout'
   [k-cli/commands/package.go]:408:[Err] Client.Packages.List(&{Public:false 
Limit:30 Skip:0 Since:0 Docs:false}) failed: Get 
https://172.17.0.1/api/v1/namespaces/_/packages?limit=30&skip=0: dial tcp 
172.17.0.1:443: i/o timeout
   [main.main                ]:068:[Inf] err object type: *whisk.WskError
   [main.main                ]:072:[Err] Got a *whisk.WskError error: 
&whisk.WskError{RootErr:(*errors.errorString)(0xc420013ff0), ExitCode:3, 
DisplayMsg:true, MsgDisplayed:false, DisplayUsage:false, DisplayPrefix:true, 
ApplicationError:false, TimedOut:false}
   error: Unable to obtain the list of packages for namespace 'default': Get 
https://172.17.0.1/api/v1/namespaces/_/packages?limit=30&skip=0: dial tcp 
172.17.0.1:443: i/o timeout
   {code}

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to