Firstsawyou commented on issue #3323: URL: https://github.com/apache/apisix/issues/3323#issuecomment-762155870
> > > > > > You need to make sure whether the traffic-split plugin exists in the `plugins/` directory. If it exists, you need to check whether the plugin has readable permission. > > > > > > > > > > > > > > > 依然报错 > > > > > [root@dev-apisix plugins]# ls -l traffic-split.lua > > > > > -rwxrwxrwx. 1 1000 1000 182298 1月 18 14:26 traffic-split.lua > > > > > [root@dev-apisix plugins]# pwd > > > > > /usr/local/apisix-2.2/apisix/plugins > > > > > > > > > > > > Please check if your local version is 2.2, and I will confirm this issue locally. > > > > > > > > > I confirm that the version is 2.2. > > > [root@dev-apisix apisix-2.2]# ./bin/apisix version > > > 2.2 > > > > > > After trying it, the plug-in can be loaded normally, but the latest traffic-split plugin will have an abnormal problem on the v2.2 version, that is, we cannot upgrade on the v2.2 version. > > ```shell > > [error] 18607#18607: *54079 lua entry thread aborted: runtime error: /home/apisix/apisix/plugins/traffic-split.lua:253: missing argument parent > > ``` > > > > > > However, this abnormal problem has been resolved on the master branch. > > Only the code of the master branch can use the latest traffic-split plugin (allow the request header to have a horizontal line: "—"). > > Do you mean that I can't use the horizontal line in the header of this plugin in version 2.2? Do I need to wait until your major version is updated? Yes. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
