You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Alan-MQ (via GitHub)" <gi...@apache.org> on 2023/08/23 10:50:12 UTC
[GitHub] [apisix] Alan-MQ opened a new issue, #10078: help request: Just getting started, got Header or Cookie Too large Error.
Alan-MQ opened a new issue, #10078:
URL: https://github.com/apache/apisix/issues/10078
### Description
https://apisix.apache.org/docs/apisix/getting-started/configure-routes/
I did exactly what this documentation said
first I install this apisix like they said in the website
```sh
curl -sL https://run.api7.ai/apisix/quickstart | sh
```
and I test it
```sh
curl "http://127.0.0.1:9080" --head | grep Server
```
it goes like this
<img width="1503" alt="image" src="https://github.com/apache/apisix/assets/109934126/ae6f931f-143c-4a18-923d-49aac6b73232">
And everything looks great even after I add this route like this
```sh
curl -i "http://127.0.0.1:9180/apisix/admin/routes" -X PUT -d '
{
"id": "getting-started-ip",
"uri": "/ip",
"upstream": {
"type": "roundrobin",
"nodes": {
"httpbin.org:80": 1
}
}
}'```
but when I wan to access this new route /ip I got something like this
<img width="1495" alt="image" src="https://github.com/apache/apisix/assets/109934126/50df03bb-7d11-40aa-abbd-8fcd29ec50f6">
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
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: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Revolyssup commented on issue #10078: help request: Just getting started, got Header or Cookie Too large Error.
Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1735876059
@Alan-MQ Do you have some relevant APISIX error/access logs when you send this request that may have more details.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Alan-MQ commented on issue #10078: help request: Just getting started, got Header or Cookie Too large Error.
Posted by "Alan-MQ (via GitHub)" <gi...@apache.org>.
Alan-MQ commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1692816941
> @Alan-MQ Are you still getting this error consistently?
yep, still getting this error, and I'm curious if I'm using `curl "http://127.0.0.1:9080" --head | grep Server` running everything in new container, and doing exactly as the website document said, then we should have a same enviroment right? why just me getting this? I'm on macbook if it helps~~
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] yuluo-yx commented on issue #10078: help request: Just getting started, got Header or Cookie Too large Error.
Posted by "yuluo-yx (via GitHub)" <gi...@apache.org>.
yuluo-yx commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1690953927
You can try a few more times, the service of httpbin.org is not very stable, there may be errors.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: Just getting started, got Header or Cookie Too large Error. [apisix]
Posted by "yidashi (via GitHub)" <gi...@apache.org>.
yidashi commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1874817448
一样的问题,并没有解决
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] qihaiyan commented on issue #10078: help request: Just getting started, got Header or Cookie Too large Error.
Posted by "qihaiyan (via GitHub)" <gi...@apache.org>.
qihaiyan commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1736718997
> > add 2 space before `http_configuration_snippet` , and this snippet should be added before `deployment` @Alan-MQ
> > just like this:
> > ```
> > # hooks. Only administrators should have
> > http_configuration_snippet: |
> > proxy_buffer_size 128k;
> > proxy_buffers 4 256k;
> > proxy_busy_buffers_size 256k; # write access to this file for security.
> >
> > deployment: # Deployment configurations
> > role: traditional # Set deployment mode: traditional, control_plane, or data_plane.
> > role_traditional:
> > config_provider: etcd # Set the configuration center.
> > ```
>
> I got it , http_configuration_snippet should under the apisix the same level with `control` right ? thank you for your help, but still the same error message.
try add ```large_client_header_buffers 4 8k;``` in the ```http_configuration_snippet``` @Alan-MQ
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: Just getting started, got Header or Cookie Too large Error. [apisix]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #10078: help request: Just getting started, got Header or Cookie Too large Error.
URL: https://github.com/apache/apisix/issues/10078
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: Just getting started, got Header or Cookie Too large Error. [apisix]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1764134327
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] qihaiyan commented on issue #10078: help request: Just getting started, got Header or Cookie Too large Error.
Posted by "qihaiyan (via GitHub)" <gi...@apache.org>.
qihaiyan commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1693464508
add 2 space before ```http_configuration_snippet``` @Alan-MQ
> > http_configuration_snippet: |
> > proxy_buffer_size 128k;
> > proxy_buffers 4 256k;
> > proxy_busy_buffers_size 256k;
>
>  still the same error after I modified the config.yaml and restart the container
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: Just getting started, got Header or Cookie Too large Error. [apisix]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1759308223
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 dev@apisix.apache.org 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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Alan-MQ commented on issue #10078: help request: Just getting started, got Header or Cookie Too large Error.
Posted by "Alan-MQ (via GitHub)" <gi...@apache.org>.
Alan-MQ commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1692826154
> http_configuration_snippet: |
> proxy_buffer_size 128k;
> proxy_buffers 4 256k;
> proxy_busy_buffers_size 256k;

still the same error after I modified the config.yaml and restart the container
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: Just getting started, got Header or Cookie Too large Error. [apisix]
Posted by "rohitkrishna094 (via GitHub)" <gi...@apache.org>.
rohitkrishna094 commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1894790830
Its still not working. Their own docs are not working on multiple VMs. Opened another issue [here](https://github.com/apache/apisix/issues/10078)
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: Just getting started, got Header or Cookie Too large Error. [apisix]
Posted by "geokal (via GitHub)" <gi...@apache.org>.
geokal commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1943677144
Having exactly the same issue, trying to follow the tutorial on [](https://apisix.apache.org/blog/2022/07/06/use-keycloak-with-api-gateway-to-secure-apis/#workflow)
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Revolyssup commented on issue #10078: help request: Just getting started, got Header or Cookie Too large Error.
Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1691193249
@Alan-MQ Are you still getting this error consistently?
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Alan-MQ commented on issue #10078: help request: Just getting started, got Header or Cookie Too large Error.
Posted by "Alan-MQ (via GitHub)" <gi...@apache.org>.
Alan-MQ commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1694222271
> add 2 space before `http_configuration_snippet` , and this snippet should be added before `deployment` @Alan-MQ
>
> just like this:
>
> ```
> # hooks. Only administrators should have
> http_configuration_snippet: |
> proxy_buffer_size 128k;
> proxy_buffers 4 256k;
> proxy_busy_buffers_size 256k; # write access to this file for security.
>
> deployment: # Deployment configurations
> role: traditional # Set deployment mode: traditional, control_plane, or data_plane.
> role_traditional:
> config_provider: etcd # Set the configuration center.
> ```
I got it , http_configuration_snippet should under the apisix the same level with `control` right ? thank you for your help, but still the same error message.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] qihaiyan commented on issue #10078: help request: Just getting started, got Header or Cookie Too large Error.
Posted by "qihaiyan (via GitHub)" <gi...@apache.org>.
qihaiyan commented on issue #10078:
URL: https://github.com/apache/apisix/issues/10078#issuecomment-1692621955
try adding this in config.yaml @Alan-MQ
```
http_configuration_snippet: |
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
```
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org