Skip to content
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

Containers not connecting to the internet while executing functions #372

Closed
RafaelPasCz opened this issue Jan 28, 2025 · 2 comments
Closed

Comments

@RafaelPasCz
Copy link

I was performing a few tests and one of the functions requires an internet connection during its run, it needed to update a thingspeak channel using an http post, however it was not working.
after further investigation it seems the containers do not connect to the internet at all during their run, is this by design or a problem? about a month ago while performing the same test mentioned in the first paragraph, it worked fine.

@alexellis
Copy link
Member

Hi, you'll need to provide a lot more information context than this to get support.

There are no issues or changes in faasd that would affect networking. I'm running the latest version and it works as expected.

It is most likely an issue with your VM or network

$ faas-cli store deploy figlet

$ faas-cli invoke curl <<< "-i -s -S -L  https://google.com"
HTTP/2 301 
location: https://www.google.com/
content-type: text/html; charset=UTF-8
content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-IzoZqOqm6s-H_3KvERnatA' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
date: Thu, 30 Jan 2025 10:30:49 GMT
expires: Sat, 01 Mar 2025 10:30:49 GMT
cache-control: public, max-age=2592000
server: gws
content-length: 220
x-xss-protection: 0
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

HTTP/2 200 
date: Thu, 30 Jan 2025 10:30:49 GMT
expires: -1
cache-control: private, max-age=0
content-type: text/html; charset=ISO-8859-1
content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-RkKSUXMnmLnx8sLo0AqfAA' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
accept-ch: Sec-CH-Prefers-Color-Scheme
p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
server: gws
x-xss-protection: 0
x-frame-options: SAMEORIGIN
set-cookie: AEC=AVcja2e0nAumKTYSVvb0LB2C1zPSzNYlvRuhwTbgGUVTEzEiBnglrdLVVq0; expires=Tue, 29-Jul-2025 10:30:49 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
set-cookie: __Secure-ENID=25.SE=XXwa_PAie1N1GQjWhWCwuAHjoYR0jK1ROVUr4e_zyoCy_bAtSJz83rlN7XTPhbk4dn0ql5AMumcNBEHZsH_39D-aj0RWNrGmDAD3Gz-K36_6rVg5qoUgI2vjOGFCSZTKWIG2wsdb8wQHNNF8xGMgb3Gqzn7aecN424ssCxUlR6rmZtAKjlk9EDIapjoFji_fHIBatRjL4JrJONXDQtybsGQyYL5Q1RpatRe5EFy1RIAqTVvqn-QH; expires=Mon, 02-Mar-2026 02:49:07 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
accept-ranges: none
vary: Accept-Encoding

<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="nl">

....

Why don't you start with the issue template?

https://raw.githubusercontent.com/openfaas/faasd/refs/heads/master/.github/ISSUE_TEMPLATE.md

@alexellis
Copy link
Member

Hi what was the problem then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants