-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FN Flows tutorial appears broken (or I'm doing something dumb :<) #131
Comments
Heh - changed title to be less fiesty. Also, here is an updated function that I made to make the flow as simple as possible. So this works:
But this does not:
And gives the same error as above. I'm very confused as to why this does not work, as this appears to be the simplest possible flow function, and I'm not sure of how to debug further. |
Sounds very similar to what @shaunsmith was seeing. Did you find a solution Shaun? |
The setup script has a hardcoded IP instead of using the SEarVER_IP variable calculated before https://github.com/fnproject/fdk-java/blob/master/examples/async-thumbnails/setup/setup.sh#L89 |
I'm attempting to duplicate the FN flow "first flow" tutorial as described here: https://github.com/fnproject/fdk-java/blob/master/docs/FnFlowsUserGuide.md.
My project follows the "primes" example pretty closely in structure and code:
https://imgur.com/a/3TMdQ
And here are my command line operations;
As you can see I don't include the line
DOCKER_LOCALHOST=$(docker inspect --type container -f '{{.NetworkSettings.Gateway}}' functions)
, because it fails when I try and run it. If functions is a stand in for something please include that in the documentation, I'm not sure what you're referring to.However, I did specify that it should be ok to run this on localhost and I still get a 500 error. Would it be possible to point me to a git repo of this example working or let me know what I'm doing wrong? Feel free to email me at [email protected] or [email protected]. Thanks.
The text was updated successfully, but these errors were encountered: