kong-plugin-header-based-upstream's People
kong-plugin-header-based-upstream's Issues
Attempt to concatenate field 'name' (a nil value)
Hello:
set:
{"total":1,"data":[{"created_at":1516573313000,"config":{"mappings":["headers[1]=X-Market-ID:POL1","headers[2]=X-ApiVersion:v1","name=PL-v1","upstream_url=http://demo1"]},"id":"40bc86c9-02fc-440b-aad5-3050460b0e5c","enabled":true,"api_id":"442b95b4-ea93-4ba6-9034-32f56db98c68","name":"header-based-upstream"}
request error:
2018/01/21 22:21:06 [error] 19#0: *686 lua entry thread aborted: runtime error: ./kong/plugins/header-based-upstream/handler.lua:25: attempt to concatenate field 'name' (a nil value)
stack traceback:
coroutine 0:
./kong/plugins/header-based-upstream/handler.lua: in function 'find_matching_mappings'
./kong/plugins/header-based-upstream/handler.lua:73: in function 'access'
/usr/local/share/lua/5.1/kong/init.lua:350: in function 'access'
access_by_lua(nginx-kong.conf:87):2: in function <access_by_lua(nginx-kong.conf:87):1>, client: 10.129.210.210, server: kong, request: "GET /file.txt HTTP/1.1", host: "demo3.com:8000"
kong version:
v0.11.1
help,thanks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.