I have installed fission and created
- Package
- Env
- function hello world
- tested and running fine
But When i tried to run custom functions like finding a max number.
if x > y:
return x
return #y
def max_of_three( x, y, z ):
return max_of_two( x, max_of_two( y, z ) )
print(max_of_three(3, 6, -5))
it gives a error
Error querying logs: Internal error - 502 Bad @Gateway%
Also when i try to check logs the same error reflecting
I have used custom functions in Python on Fission and they work fine. I followed this blog post as is and it worked without any issue.
Also, have you checked the following:
fission pkg list
fission route list
fission function test
with--verbosity=2
to test your function locally, post your output hereI found these above steps mentioned for a similar error in their slack channel.