Red hat 3scale APIcast fails with the following error in the logs: "(22: Invalid argument) while connecting to upstream"

Solution In Progress - Updated -

Issue

We have seen the errors below in apicast container logs:

2019/12/04 04:00:35 [crit] 29#29: *15451155 connect() to 0.0.0.1:1 failed (22: Invalid argument) while connecting to upstream, client: 1.1.1.1, server: _, request: "GET /path/to/url HTTP/1.1", upstream: "https://0.0.0.1:1/path/to/url", host: "host.example.com"

2019/12/04 04:00:35 [error] 29#29: *15451155 upstream prematurely closed connection while reading response header from upstream, client: 1.1.1.1, server: _, request: "GET /path/to/url HTTP/1.1", upstream: "https://1.1.1.2:443/path/to/url", host: "host.example.com"

2019/12/04 04:00:35 [warn] 29#29: *15451155 upstream server temporarily disabled while connecting to upstream, client: 1.1.1.1, server: _, request: "GET /path/to/url HTTP/1.1", upstream: "https://0.0.0.1:1/path/to/url", host: "host.example.com"

2019/12/04 04:00:29 [warn] 29#29: *15451155 an upstream response is buffered to a temporary file /tmp/path/to/file while reading upstream, client: 1.1.1.1, server: _, request: "GET /path/to/url HTTP/1.1", subrequest: "/transactions/oauth_authrep.xml", upstream: "http://1.1.1.3:3000/path/to/url", host: "host.example.com"

Environment

  • Red Hat 3scale API Management
    • SaaS
    • 2.X On-premises

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content