JiaYueHuang commented on issue #6034:
URL: https://github.com/apache/apisix/issues/6034#issuecomment-1011055040
> > 1. Does the `stream_proxy` (tcp proxy) is a short connection?
>
> AFAIK, not short connection by default. pls show the stream proxy
configuration in `nginx.conf`.
>
> This error, from your description, APISIX disconnected connection? cc
@spacewander the stream proxy has timeout configuration in the upstream, I
think it has something to do with the timeout?
configuration sample:
```
apisix:
node_listen:
- ip: 176.76.8.246
port: 9080
- ip: 176.76.8.246
port: 35357
- ip: 176.76.8.246
port: 5000
- ip: 176.76.8.246
port: 9292
- ip: 176.76.8.246
port: 9191
- ip: 176.76.8.246
port: 8776
- ip: 176.76.8.246
port: 8774
- ip: 176.76.8.246
port: 9696
- ip: 176.76.8.246
port: 8786
- ip: 176.76.8.246
port: 8778
- ip: 176.76.8.246
port: 8777
- ip: 176.76.8.246
port: 6666
- ip: 176.76.8.246
port: 8780
- ip: 176.76.8.246
port: 8779
enable_tcp_pp: true
enable_tcp_pp_to_upstream: true
stream_proxy:
only: false
tcp:
- "176.76.8.246:3306"
- "176.76.8.246:11211"
allow_admin:
#- 127.0.0.0/24
#- 0.0.0.0/24
- 0.0.0.0/0
admin_key:
- name: admin
key: edd1c9f034335f136f87ad84b625c8f1
role: admin
router:
http: radixtree_uri_with_parameter
etcd:
host:
- "http://176.76.8.165:2379"
- "http://176.76.8.181:2379"
```
--
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]