Comments (8)
We need to check some updating on yaml or route validation between 2.8 and 3.4 later.
from kong.
In PR #9607 we bump lyaml from 6.2.7 to 6.2.8, perhaps it causes some behaviors change.
from kong.
I did a simple test:
-- resty ./t.lua
local lyaml = require "lyaml"
local contents = [[
services:
- name: local-sso
url: https://localhost
routes:
- name: sso-native
paths: [/:login, /api/frm/sso, /actuator/health]
]]
local pok, table, err = pcall(lyaml.load, contents)
assert(pok)
print(require("inspect")(table))
It works well, so I think that it is not lyaml's reason.
@lubw7 could you try the same test?
from kong.
from kong.
Could you give us a minimal test script to re-produce it?
from kong.
I try it in docker.io/library/kong 3.6.0, it work well.
But it failed in the image built by our team through Dockerfile.
I have checked the lyaml source code of these two images and code is identical.
So I feel puzzled why the same source code can get different running results.
I did a simple test:
-- resty ./t.lua local lyaml = require "lyaml" local contents = [[ services: - name: local-sso url: https://localhost routes: - name: sso-native paths: [/:login, /api/frm/sso, /actuator/health] ]] local pok, table, err = pcall(lyaml.load, contents) assert(pok) print(require("inspect")(table))
It works well, so I think that it is not lyaml's reason.
@lubw7 could you try the same test?
from kong.
This issue is marked as stale because it has been open for 14 days with no activity.
from kong.
Dear contributor,
We are automatically closing this issue because it has not seen any activity for three weeks.
We're sorry that your issue could not be resolved. If any new information comes up that could
help resolving it, please feel free to reopen it.
Your contribution is greatly appreciated!
Please have a look
our pledge to the community
for more information.
Sincerely,
Your Kong Gateway team
from kong.
Related Issues (20)
- Optional capture groups are broken with the request-transformer plugin and traditional_compatible router HOT 4
- Error in logs: failed to run timer HOT 3
- Database migration failed while using helm chart HOT 2
- JWT Plugin bypasses validation process occasionally on frequent requests HOT 4
- TLS SNI Route not work HOT 7
- Kong info, notice, inspect logs are all getting logged as error in GCP(google cloud platform) HOT 2
- Cannot use kong.db
- http-log plugin: Host header not including port HOT 3
- Every time request localhost:8001/metrics, kong-cp-kong-pod will prompt a license-related error HOT 2
- Dataplane not getting information from the ControlPlane in Hybrid mode HOT 3
- go plugin error, worker-events: event callback failed; source=plugin_server, event=reset_instance HOT 1
- Error: attempt to index local 'ssl' (a nil value) for Kong >= 3.6.0 when KONG_PG_SSL=on HOT 6
- Handling two JWT signing keys for same iss
- Documentation Improvement - Clarify Plugin Compatibility with Kong Versions](https://github.com/Kong/kong/issues/9999
- Error "error loading plugin schemas: on plugin <my-plugin>: <my-plugin> plugin is enabled but not installed" with Python plugin for kong HOT 5
- Where is kong 3.7.0 container image ? Can't find it on Dockerhub HOT 2
- Hola
- Inconsistent Rate Limiting Behavior Under High Load HOT 1
- No ability in plugin schema to have a record with dynamic fields HOT 1
- Changelog md no longer maintained? HOT 1
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.
from kong.