Questions tagged [fn]

Questions related to the Fn project, a container-native serverless platform

FN is container native, cloud agnostic serverless platform.

Site: http://fnproject.io

Github: https://github.com/fnproject/fn

34 questions
0
votes
0 answers

FN Lock in Flutter

I was designing an desktop application with Flutter-Desktop and was wondering if there was a function or other Widget that I could use to lock the 'fn' key. Currently I have not found anyway to do so, let me know if there is anything I can…
Rhino773
  • 21
  • 2
0
votes
0 answers

Fn function terminates before timeout

I have set the timeout in func.yaml to 300 seconds (5 minutes) but the function only runs for 2 minutes and then terminates with error code 502. Error invoking function. status: 502 message: error receiving function response There is a github issue…
Nakash Kumar
  • 60
  • 1
  • 7
0
votes
0 answers

FN Hello World App 8080 Connection Issues

I'm following the Introduction to Fn with Python Tutorial here. I'm on Mac Catalina 10.15.7. When I run the command "fn create app pythonapp" in my terminal, I receive the error Fn: Post "http://127.0.0.1:8080/v2/apps": dial tcp 127.0.0.1:8080:…
user1781500
  • 171
  • 10
0
votes
3 answers

Minimise / eradicate initial FN spin up delay for OCI API GW authorisation

We are using an FN Function for OCI API Gateway authorisation (https://docs.cloud.oracle.com/en-us/iaas/Content/APIGateway/Tasks/apigatewayusingauthorizerfunction.htm). We're finding that there is a slight delay in the auth process when it hasn't…
Alex D.
  • 41
  • 5
0
votes
0 answers

Discord.js - Why __.cache.get() codes didn't work and an error alert "fn is not a function" appeared in the Command Prompt?

Hello there and thank you so much for your visit to the question :D. Here is a piece of code I've written: for (let i = 0; i < game.channels.length; i++) { let channel = msg.guild.channels.cache.find(game.channels[i]); //Line number 249 …
0
votes
1 answer

Including own project code in fnproject function

I'm working with Fn Project as part of Oracle Cloud Functions and I'm looking to include some helper functions that I wrote myself that are currently used in a few other programs. I'd like to include these functions without having to copy and paste…
Ash Oldershaw
  • 302
  • 2
  • 13
0
votes
2 answers

How can I delete a pod via a Oracle Function?

I have a cluster with some deployments / services / etc... inside an OKE, which I usually connect to via kubectl from my pc. The question is: is it possible to delete a pod inside that cluster from a Oracle Function? What I want to do is build a…
0
votes
0 answers

How to retrieve request date + timestamp in an Fn function

is there a way to obtain the date and timestamp when the request is received by Fn server before triggering the mapped function? It appears that HTTPGatewayContext.getInvocationContext().getRequestHeaders() contain an attribute Fn-Deadline, which…
0
votes
0 answers

Getting CORS Issue when Connecting to Java FN from Angular UI

I am currently trying to resolve a CORS issue that we are having when we query a database using a FN project function that is called from Angular. The FN function is written in Java (fnproject/fn-java-fdk:1.0.83), and the UI is in Angular 7.…
0
votes
1 answer

Q: Deployment options for FN Project Cluster

I was fooling around with FN and so far it looks pretty need. Just one thing I couldn't really find in the documentation concerns the deployment to a production cluster. I saw that a normal function deployment would be done via fn deploy. This would…
INsanityDesign
  • 141
  • 1
  • 10
0
votes
1 answer

How to change driver from Docker to Mocker

I'm just kinda curious if there is a way to use the mocker driver alongside or instead of the docker one? How does fn even decide which one to use if there is more than one? The reason would be that if it's possible I might try to implement another…
David K.
  • 5
  • 5
0
votes
1 answer

How to create a fn function via API?

I'd like to create a fn function via API. In the official document, There are only some endpoint for creating app, routes and call. any idea?
Meysam Mahmoodi
  • 433
  • 5
  • 19
0
votes
0 answers

"fn run" command giving error on MAC OS

I'm getting this error while using 'fn run' command on Mac. Error during build. Run with --verbose flag to see what went wrong. eg: fn --verbose CMD
0
votes
1 answer

Configuring nginx cache post URL API FN Serverless

I'm trying configure nginx to cache my api post result, but not work yet. Below the steps I did: 1 - I installed nginx 2 - I create the configuration file: "worker_processes 1; events { worker_connections 1024; } http { proxy_cache_path …
0
votes
1 answer

Lambda vs container services?

I was wondering since the fn project is based on docker, We can deploy our functions as docker images but this has a handicap... we won't be able to use real lambda functions offer by cloud providers since the moment we will have to use container…