Re: [I] help request: Version 3.9.1 apisix proxy rabbitmq access to 404 [apisix]

2025-05-21 Thread via GitHub


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

   If there is still a problem, please open it 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]



Re: [I] help request: Version 3.9.1 apisix proxy rabbitmq access to 404 [apisix]

2025-05-20 Thread via GitHub


Baoyuantop closed issue #12143: help request: Version 3.9.1 apisix proxy 
rabbitmq access to 404
URL: https://github.com/apache/apisix/issues/12143


-- 
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] help request: Version 3.9.1 apisix proxy rabbitmq access to 404 [apisix]

2025-05-20 Thread via GitHub


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

   Problems similar to https://github.com/apache/apisix/issues/7386, this can 
be resolved using the `use_real_request_uri_unsafe` attribute of the 
proxy-rewrite plugin.
   
   The preferred recommendation is to change the RabbitMQ configuration to use 
vhost names that do not contain a '/'.


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



[I] help request: Version 3.9.1 apisix proxy rabbitmq access to 404 [apisix]

2025-04-15 Thread via GitHub


1450793561 opened a new issue, #12143:
URL: https://github.com/apache/apisix/issues/12143

   ### Description
   
   Using port 15672 of the apisix proxy rabbitmq service, the rabbitmq ui page 
cannot be found. The status code is 404. Find out from the access log "GET 
/api/queues/%2FBrokerV3_BOP/q.bop.broker.1052002? 
lengths_age=60&lengths_incr=5&msg_rates_age=60&msg_rates_incr=5&data_rates_age=60&data_rates_incr=5"
 The requested real url becomes "/api/queu 
es/BrokerV3_BOP/q.bop.broker.1052002? 
lengths_age=60&lengths_incr=5&msg_rates_age=60&msg_rates_incr=5&data_rates_age=60&data_rates_incr=5"
   
   The backslash string %2F is escaped
   
   
   https://github.com/user-attachments/assets/ccbb63bf-00e0-40af-bde7-642848fb07f8";
 />
   
   The apisix access logs are as follows
   ```
   
{"http_referer":"http://rabbitmq-web.cbs-public.prod.private.com/","request_method":"GET","request_id":"324f623dc6ae1ceaff24e0eb8a3d4cbc","server_name":"rabbitmq-web.cbs-public.prod.private.com","request_uri":"/api/queues/BrokerV3_BOP/q.bop.broker.1052002?lengths_age=60&lengths_incr=5&msg_rates_age=60&msg_rates_incr=5&data_rates_age=60&data_rates_incr=5","upstream_response_time":0.001,"body_bytes_sent":"49","remote_addr":"10.1.1.102","upstream_header_time":0.001,"args":"lengths_age=60&lengths_incr=5&msg_rates_age=60&msg_rates_incr=5&data_rates_age=60&data_rates_incr=5","time_local":"15/Apr/2025:16:30:52
 
+0800","bytes_sent":388,"http_host":"rabbitmq-web.cbs-public.prod.private.com","upstream":"10.20.37.33:15672","status":404,"http_x_forwarded_for":"10.1.1.102","upstream_response_length":"49","request_time":0.001,"request":"GET
 
/api/queues/%2FBrokerV3_BOP/q.bop.broker.1052002?lengths_age=60&lengths_incr=5&msg_rates_age=60&msg_rates_incr=5&data_rates_age=60&data_rates_incr=5
 HTTP/1.1
 
","@timestamp":"2025-04-15T16:30:52+08:00","upstream_connect_time":0,"http_user_agent":"Mozilla/5.0
 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/135.0.0.0 
Safari/537.36","scheme":"http","route_id":"561630979786015705","server_protocol":"HTTP/1.1"}
 
   ```
   
   ### Environment
   
   - APISIX version (run `apisix version`):3.9.1
   - 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: [email protected]

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