Dewfy
Dewfy

Reputation: 23614

knative service is unable to open external url by name (explicit IP is ok)

I have followed basic Knative setup recomended by official

So now i have:

After that I have simple python script on top of Flask to listen POST method and access external url like http://example.com

Current observation:

Failed to fetch URL: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7fe471b0a900>: Failed to resolve 'example.com' ([Errno -5] Name has no usable address)"))"

What I have already tried to do:

    metadata:
      annotations:
        features.knative.dev/http-full-duplex: "Enabled"

Upvotes: 0

Views: 12

Answers (0)

Related Questions