Skip to content

Got error sending request to function while doing fission fn test --name kp and page browsing #14

@qihandeng2

Description

@qihandeng2

Dear,
After all steps executed successfully, I got fission fn list below:

**_fission fn list_**
NAME           ENV    EXECUTORTYPE MINSCALE MAXSCALE MINCPU MAXCPU MINMEMORY MAXMEMORY TARGETCPU SECRETS CONFIGMAPS
count          java   newdeploy    1        2        0      0      0         0         80                
data           java   newdeploy    1        2        0      0      0         0         80                
flushcachedata java   newdeploy    1        2        0      0      0         0         80                
fuelavg        java   newdeploy    1        2        0      0      0         0         80                
hello          nodejs poolmgr      0        0        0      0      0         0         0                 
iot-web        python newdeploy    1        1        0      0      0         0         80                
iotstats       java   newdeploy    1        2        0      0      0         0         80                
kc             java   newdeploy    1        10       100m   200m   0         0         70                
kp             java   newdeploy    1        10       100m   200m   0         0         70                
speedavg       java   newdeploy    1        2        0      0      0         0         80 

When I try the last step, fission fn test --name kp, but got the error below:

$ fission fn test --name kp
Warning: The environment variable FISSION_ROUTER is no longer supported for this command
Error: Error calling function kp: 502; Please try again or fix the error: error sending request to function
Error: Error getting function logs from controller: error getting logs from controller, status code: '500'. Try to get logs from log database.
Error: error getting function response

I got the similar error while I am browsing the page http://$FISSION_ROUTER/iot/index.html
And page shows only: error sending request to function.

Looking forward to your help, thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions