hsane2001 opened a new issue #2563: WSK CLI network error behind proxy
URL: https://github.com/apache/incubator-openwhisk/issues/2563
   Do NOT share passwords, credentials or other confidential information.
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   Issues can be created for either defects or enhancement requests. If you are 
a committer than please add the labels "bug" or "feature". If you are not a 
committer please make clear in the comments which one it is, so that committers 
can add these labels later.
   If you are reporting a defect, please edit the issue description to include 
   information shown below.
   If you are reporting an enhancement request, please include information on 
what you are trying to achieve and why that enhancement would help you.
   For more information about reporting issues, see
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   ## Environment details:
   * native Ubuntu  
   * Docker version 1.12.0, build 8eab29e, Ubuntu 16.04
   ## Steps to reproduce the issue:
   1.   After openwhisk is installed perform: wsk action list which works fine
   2.   Now add proxy to environment to gain external access
   3.   wsk action list results in timeout and network error
   4.  curl to couchdb address also does not respond after adding proxy, remove 
it and works fine.
   ## Provide the expected results and outputs:
   wsk action list
   hello private
   ## Provide the actual results and outputs:
   Behind proxy:
    wsk action list -v -d
   [isk/whisk.addRouteOptions]:035:[Inf] Adding options &{Limit:30 Skip:0 
Docs:false} to route 'actions'
   [isk/whisk.addRouteOptions]:060:[Inf] Returning route options 
'actions?limit=30&skip=0' from input struct &{Limit:30 Skip:0 Docs:false}
   [isk.(*ActionService).List]:135:[Err] Action list route with options: actions
   [k.(*Client).NewRequestUrl]:517:[Inf] basepath:, version/namespace path: v1/namespaces/_, 
resource path: actions?limit=30&skip=0
   [k.(*Client).addAuthHeader]:203:[Inf] Adding basic auth header; using authkey
   Req Headers
     "Authorization": [
   RESPONSE:Got response with code 503
   Resp Headers
     "Cache-Control": [
     "Connection": [
     "Content-Length": [
     "Content-Type": [
       "text/html; charset=utf-8"
     "Pragma": [
     "Proxy-Connection": [
   Response body size is 787 bytes
   Response body received:
   <TITLE>Network Error</TITLE>
   <FONT face="Helvetica">
   <TABLE border=0 cellPadding=1 width="80%">
   <FONT face="Helvetica">
   <big>Network Error (tcp_error)</big>
   <FONT face="Helvetica">
   A communication error occurred: "Operation timed out"
   <FONT face="Helvetica">
   The Web Server may be down, too busy, or experiencing other problems 
preventing it from responding to requests. You may wish to try again at a later 
   <FONT face="Helvetica" SIZE=2>
   For assistance, contact your network support team.
   [-whisk/whisk.(*Client).Do]:262:[Inf] Response body received (ASCII quoted 
   "<HTML><HEAD>\r\n<TITLE>Network Error</TITLE>\r\n</HEAD>\r\n<BODY>\r\n<FONT 
 border=0 cellPadding=1 width=\"80%\">\r\n<TR><TD>\r\n<FONT 
face=\"Helvetica\">\r\n<big>Network Error 
face=\"Helvetica\">\r\nA communication error occurred: \"Operation timed 
out\"\r\n</FONT>\r\n</TD></TR>\r\n<TR><TD>\r\n<FONT face=\"Helvetica\">\r\nThe 
Web Server may be down, too busy, or experiencing other problems preventing it 
from responding to requests. You may wish to try again at a later 
time.\r\n</FONT>\r\n</TD></TR>\r\n<TR><TD>\r\n<FONT face=\"Helvetica\" 
SIZE=2>\r\n<BR>\r\nFor assistance, contact your network support 
   [/whisk.parseErrorResponse]:334:[Inf] HTTP failure 503 + body
   [/whisk.parseErrorResponse]:352:[Err] HTTP response with unexpected body 
failed due to contents parsing error: 'invalid character '<' looking for 
beginning of value'
   [isk.(*ActionService).List]:149:[Err] s.client.Do() error - HTTP req; error 
'The connection failed, or timed out. (HTTP status code 503)'
   [/commands.actionListError]:708:[Err] client.Actions.List(, 
&whisk.ActionListOptions{Limit:30, Skip:0, Docs:false}) error: The connection 
failed, or timed out. (HTTP status code 503)
   [main.main                ]:068:[Inf] err object type: *whisk.WskError
   [main.main                ]:072:[Err] Got a *whisk.WskError error: 
&whisk.WskError{RootErr:(*errors.errorString)(0xc420269c70), ExitCode:247, 
DisplayMsg:true, MsgDisplayed:false, DisplayUsage:true, DisplayPrefix:true, 
ApplicationError:false, TimedOut:false}
   error: Unable to obtain the list of actions for namespace 'default': The 
connection failed, or timed out. (HTTP status code 503)
   ## Additional information you deem important:
   * issue happens only occasionally or under certain circumstances   
   * changes you did or observed in the environment
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:

With regards,
Apache Git Services

Reply via email to