Re: [I] bug: does apisix support sse at now [apisix]

2025-07-09 Thread via GitHub


a1156698162 commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-3051565789

   > > > > [@Cairry](https://github.com/Cairry) 
还有个问题想请教下,在sse场景apisix不需要额外配置(不用配置proxy_buffering)就支持流式输出。不过proxy_buffering默认是on的呀。这块原因您清楚吗?
   > > > 
   > > > 
   > > > 依然选择默认配置就可以,另外buffer可以配置大一些。
   > > 
   > > 
   > > proxy_buffering 
默认是on的。正常如果是on的话,流式响应不会立即返回,而是要等缓冲区满了一块返回。这个我用nginx试过。但是apisix却没有这个问题。不太清楚其中的原因。
   > 
   > 我倒没验证过nginx,目前使用apisix也并没有出现延迟等问题。
   
   是的,apisix没有延迟,就很神奇


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2025-07-09 Thread via GitHub


Cairry commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-3051558646

   > > > [@Cairry](https://github.com/Cairry) 
还有个问题想请教下,在sse场景apisix不需要额外配置(不用配置proxy_buffering)就支持流式输出。不过proxy_buffering默认是on的呀。这块原因您清楚吗?
   > > 
   > > 
   > > 依然选择默认配置就可以,另外buffer可以配置大一些。
   > 
   > proxy_buffering 
默认是on的。正常如果是on的话,流式响应不会立即返回,而是要等缓冲区满了一块返回。这个我用nginx试过。但是apisix却没有这个问题。不太清楚其中的原因。
   
   我倒没验证过nginx,目前使用apisix也并没有出现延迟等问题。


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2025-07-09 Thread via GitHub


a1156698162 commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-3051553225

   > > [@Cairry](https://github.com/Cairry) 
还有个问题想请教下,在sse场景apisix不需要额外配置(不用配置proxy_buffering)就支持流式输出。不过proxy_buffering默认是on的呀。这块原因您清楚吗?
   > 
   > 依然选择默认配置就可以,另外buffer可以配置大一些。
   
   proxy_buffering 
默认是on的。正常如果是on的话,流式响应不会立即返回,而是要等缓冲区满了一块返回。这个我用nginx试过。但是apisix却没有这个问题。不太清楚其中的原因。


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2025-07-09 Thread via GitHub


Cairry commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-3051539879

   > [@Cairry](https://github.com/Cairry) 
还有个问题想请教下,在sse场景apisix不需要额外配置(不用配置proxy_buffering)就支持流式输出。不过proxy_buffering默认是on的呀。这块原因您清楚吗?
   
   依然选择默认配置就可以,另外buffer可以配置大一些。


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2025-07-09 Thread via GitHub


a1156698162 commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-3051529176

   @Cairry 
还有个问题想请教下,在sse场景apisix不需要额外配置(不用配置proxy_buffering)就支持流式输出。不过proxy_buffering默认是on的呀。这块原因您清楚吗?


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2025-07-09 Thread via GitHub


a1156698162 commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-3051520609

   @Cairry 好的,感谢


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2025-07-09 Thread via GitHub


Cairry commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-3051511932

   @a1156698162 把相关的timeout配置久一点


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2025-07-09 Thread via GitHub


a1156698162 commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-3051475016

   > I have the same problem, is there a solution to this problem? When I pass 
through the apisix gateway, the sse request will be interrupted early, as 
follows
   > 
   > https://private-user-images.githubusercontent.com/115769353/422157169-e7de29d8-f9e1-4adc-8777-f3c06d90f783.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTIwNDU5NDEsIm5iZiI6MTc1MjA0NTY0MSwicGF0aCI6Ii8xMTU3NjkzNTMvNDIyMTU3MTY5LWU3ZGUyOWQ4LWY5ZTEtNGFkYy04Nzc3LWYzYzA2ZDkwZjc4My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNzA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDcwOVQwNzIwNDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yMGQwZjFhNjYzZmZjMjgzZDA3OTBkZWM4Y2NmNjYwZGNhMDAwOGRmYjcyZGI0NzUxZmRhOWM3YmE1NTBjMTRlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.2HgVlF2uOu7kquCf-ofWwvSwMH8AJ5vNcFjsN4eI-J4";>
   > Without apisix gateway, everything works fine.
   > 
   > https://private-user-images.githubusercontent.com/115769353/422159149-d31c4097-5c15-4fb2-b643-2b5fc844a20e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTIwNDU5NDEsIm5iZiI6MTc1MjA0NTY0MSwicGF0aCI6Ii8xMTU3NjkzNTMvNDIyMTU5MTQ5LWQzMWM0MDk3LTVjMTUtNGZiMi1iNjQzLTJiNWZjODQ0YTIwZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNzA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDcwOVQwNzIwNDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mODk3MzJhMmE4MDU0NTA4NWZkMzRiOTg0Mzk2NDRiYzY3ZDE0ZTM5YTE3NWYzY2FkOTRmMjBlNDQ2ZmFhOGZlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.cQQ1ziYg-_V-bh9PUUbjB4FM6TAzjMfPzs8gV_KZmTY";>
   
   @Cairry 你好,请问下你们是怎么解决这个问题的?


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2025-03-13 Thread via GitHub


Baoyuantop commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-2723123165

   @Cairry Can you provide some logs or configuration?


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2025-03-12 Thread via GitHub


Cairry commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-2719725523

   I have the same problem, is there a solution to this problem?
   When I pass through the apisix gateway, the sse request will be interrupted 
early, as follows
   
   https://github.com/user-attachments/assets/e7de29d8-f9e1-4adc-8777-f3c06d90f783";
 />
   
   Without apisix gateway, everything works fine.
   
   https://github.com/user-attachments/assets/d31c4097-5c15-4fb2-b643-2b5fc844a20e";
 />


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2023-10-16 Thread via GitHub


github-actions[bot] closed issue #10030: bug: does apisix support sse at now
URL: https://github.com/apache/apisix/issues/10030


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2023-10-16 Thread via GitHub


github-actions[bot] commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-1764134163

   This issue has been closed due to lack of activity. If you think that is 
incorrect, or the issue requires additional review, you can revive the issue at 
any time.


-- 
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]



Re: [I] bug: does apisix support sse at now [apisix]

2023-10-12 Thread via GitHub


github-actions[bot] commented on issue #10030:
URL: https://github.com/apache/apisix/issues/10030#issuecomment-1759308082

   Due to lack of the reporter's response this issue has been labeled with "no 
response". It will be close in 3 days if no further activity occurs. If this 
issue is still relevant, please simply write any comment. Even if closed, you 
can still revive the issue at any time or discuss it on the 
[email protected] list. Thank you for your contributions.


-- 
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]