mscb402 commented on issue #8207:
URL: https://github.com/apache/apisix/issues/8207#issuecomment-1296810378

   
   Mabe you should change `pass_host` to `rewrite`
   
   > @tokers Here is the config that raises the error.
   > 
   > ```json
   > {
   >   "uri": "/*",
   >   "name": "authnapi",
   >   "methods": [
   >     "GET",
   >     "POST",
   >     "PUT",
   >     "DELETE",
   >     "PATCH",
   >     "HEAD",
   >     "OPTIONS",
   >     "CONNECT",
   >     "TRACE"
   >   ],
   >   "upstream": {
   >     "nodes": [
   >       {
   >         "host": "authnapi.idmelon.com",
   >         "port": 443,
   >         "weight": 1
   >       }
   >     ],
   >     "timeout": {
   >       "connect": 6,
   >       "send": 6,
   >       "read": 6
   >     },
   >     "type": "roundrobin",
   >     "scheme": "https",
   >     "pass_host": "pass",
   >     "keepalive_pool": {
   >       "idle_timeout": 60,
   >       "requests": 1000,
   >       "size": 320
   >     }
   >   },
   >   "status": 1
   > }
   > ```
   
   Hello. This look like an SNI error. Maybe it's because it passes the 
client's host to the Upstream, Please change ` "pass_host": "pass",` to ` 
"pass_host": "rewrite",`. And try again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to