shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

TimeoutException: Did not observe any item or terminal signal within 3000ms in 'peekTerminal' (and no fallback has been configured)

Open wangdazhong001 opened this issue 5 years ago • 7 comments

Question

Version: soul 2.3.0 Frequent requests can cause this problem. Check that the underlying service is complete. This frequently refers to the occurrence of manual clicks. Don't know how to solve this problem at the moment? 090CFE6F-241E-4484-9D4D-7500B0398614

wangdazhong001 avatar Sep 06 '21 11:09 wangdazhong001

#1197

wangdazhong001 avatar Sep 06 '21 11:09 wangdazhong001

can you used apache shenyu 2.4.0?

yu199195 avatar Sep 06 '21 11:09 yu199195

Let me try

wangdazhong001 avatar Sep 07 '21 01:09 wangdazhong001

@wangdazhong001

  1. you can modify this : HttpClientPluginConfiguration.java , like master.
  2. and then if timeout , you can config HttpClientProperties.
shenyu:
#  httpclient:
#    strategy: webClient
#    connectTimeout: 45000
#    readTimeout: 3000
#    writeTimeout: 3000
#    wiretap: false
#    pool:
#      type: ELASTIC
#      name: proxy
#      maxConnections: 16
#      acquireTimeout: 45000
  

yu199195 avatar Sep 07 '21 02:09 yu199195

acquireTimeout

@wangdazhong001

  1. you can modify this : HttpClientPluginConfiguration.java , like master.
  2. and then if timeout , you can config HttpClientProperties.
shenyu:
#  httpclient:
#    strategy: webClient
#    connectTimeout: 45000
#    readTimeout: 3000
#    writeTimeout: 3000
#    wiretap: false
#    pool:
#      type: ELASTIC
#      name: proxy
#      maxConnections: 16
#      acquireTimeout: 45000
  

At present, only shenyu-bootstrap has been upgraded, and it is found to be normal. It is still under continuous observation. If everything goes well, I will inform the result.

wangdazhong001 avatar Sep 07 '21 12:09 wangdazhong001

acquireTimeout

@wangdazhong001

  1. you can modify this : HttpClientPluginConfiguration.java , like master.
  2. and then if timeout , you can config HttpClientProperties.
shenyu:
#  httpclient:
#    strategy: webClient
#    connectTimeout: 45000
#    readTimeout: 3000
#    writeTimeout: 3000
#    wiretap: false
#    pool:
#      type: ELASTIC
#      name: proxy
#      maxConnections: 16
#      acquireTimeout: 45000
  

At present, only shenyu-bootstrap has been upgraded, and it is found to be normal. It is still under continuous observation. If everything goes well, I will inform the result.

After several days of observation, it was basically stable, but there were 2 errors. I don’t know if it has something to do with the server.

wangdazhong001 avatar Sep 09 '21 06:09 wangdazhong001

It has been stable, but occasionally there will be another time, do not rule out server problems, temporarily shut down

wangdazhong001 avatar Sep 15 '21 01:09 wangdazhong001