zhangyiyou5 opened a new issue #5796:
URL: https://github.com/apache/apisix/issues/5796
### Issue description
config:
```
{
"disable": false,
"rules": [
{
"match": [
{
"vars": [
[
"arg_name",
"==",
"1"
]
]
}
],
"weighted_upstreams": [
{
"upstream": {
"name": "upstream_gray",
"nodes": {
"127.0.0.1:8080": 1
},
"type": "roundrobin"
}
}
]
}
]
}
```
### Environment
- apisix version (cmd: `apisix version`): 2.11
- OS (cmd: `uname -a`):
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):OpenResty
- etcd version, if have (cmd: run `curl
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
- apisix-dashboard version, if have:
- the plugin runner version, if the issue is about a plugin runner (cmd:
depended on the kind of runner):
- luarocks version, if the issue is about installation (cmd: `luarocks
--version`):
### Steps to reproduce
null
### Actual result
page error
### Error log
/usr/local/apisix/apisix/script.lua:34: failed to load script: [string
"route#378538034242519755"]:10: ')' expected (to close '(' at line 9) near '}'
### Expected result
_No response_
--
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]