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)
- Handling two JWT signing keys for same iss HOT 3
- Documentation Improvement - Clarify Plugin Compatibility with Kong Versions](https://github.com/Kong/kong/issues/9999 HOT 1
- Error "error loading plugin schemas: on plugin <my-plugin>: <my-plugin> plugin is enabled but not installed" with Python plugin for kong HOT 6
- 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 2
- No ability in plugin schema to have a record with dynamic fields HOT 2
- Changelog md no longer maintained? HOT 2
- Odd Kong startup errors post 2.8.x to 3.7.0 upgrade HOT 5
- Kong can't match routes correctly with the same hosts, paths, and different protocols in the route. HOT 4
- AWS Lambda plugin in Gateway 2.8.4 missing aws_imds_protocol_version support HOT 1
- https over mtls is not working for upstream HOT 1
- Odd logs maybe potential bugs in 3.7.0 trying to wrap my head didn't see on 2.8.x HOT 9
- OTEL plugin: the header_type parameter is deprecated, please update your configuration to use propagation.extract and propagation.inject instead HOT 2
- misdocumented breaking change in v3 HOT 3
- Extra logging in 3.7.0 that should be a [debug] log than [notice] and differs from 2.8.x behavior HOT 7
- Trouble filtering plugins by tags parameter HOT 3
- go plugin excute time >= 60s will cause error (event callback failed; source=plugin_server, event=reset_instances) HOT 8
- Proxy Buffering Settings Cause Issues HOT 1
- Facing build issue on ppc64le architecture HOT 2
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.