Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(zerossl): concatenate response body as string instead of table #98

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

szesch
Copy link
Contributor

@szesch szesch commented Dec 5, 2022

I noticed some error messages in the Kong logs lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/resty/acme/eab/zerossl-com.lua:24: attempt to concatenate local 'body' (a table value)

body is a table which was causing the issue so I updated the error messages to use resp.body (string) instead.

@fffonion

@fffonion
Copy link
Owner

fffonion commented Dec 6, 2022

Thank you @szesch !

@fffonion fffonion merged commit 986b1db into fffonion:master Dec 6, 2022
fffonion added a commit to Kong/kong that referenced this pull request Dec 6, 2022
<a name="0.10.1"></a>
## [0.10.1] - 2022-12-06
### bug fixes
- **zerossl:** concatenate response body as string instead of table ([#98](fffonion/lua-resty-acme#98)) [986b1db](fffonion/lua-resty-acme@986b1db)


<a name="0.10.0"></a>
## [0.10.0] - 2022-11-18
### features
- **autossl:** expose function to get cert from LRU cache ([#96](fffonion/lua-resty-acme#96)) [6135d0e](fffonion/lua-resty-acme@6135d0e)
- **autossl:** better cache handling in blocking mode [40f5d2d](fffonion/lua-resty-acme@40f5d2d)
- **autossl:** fix behavior change in non blocking mode [aa484cc](fffonion/lua-resty-acme@aa484cc)
- **autossl:** move chains set condition back inside the main loop [b83a535](fffonion/lua-resty-acme@b83a535)
- **autossl:** add blocking mode [5a623a5](fffonion/lua-resty-acme@5a623a5)
flrgh pushed a commit to Kong/kong that referenced this pull request Dec 8, 2022
<a name="0.10.1"></a>
## [0.10.1] - 2022-12-06
### bug fixes
- **zerossl:** concatenate response body as string instead of table ([#98](fffonion/lua-resty-acme#98)) [986b1db](fffonion/lua-resty-acme@986b1db)


<a name="0.10.0"></a>
## [0.10.0] - 2022-11-18
### features
- **autossl:** expose function to get cert from LRU cache ([#96](fffonion/lua-resty-acme#96)) [6135d0e](fffonion/lua-resty-acme@6135d0e)
- **autossl:** better cache handling in blocking mode [40f5d2d](fffonion/lua-resty-acme@40f5d2d)
- **autossl:** fix behavior change in non blocking mode [aa484cc](fffonion/lua-resty-acme@aa484cc)
- **autossl:** move chains set condition back inside the main loop [b83a535](fffonion/lua-resty-acme@b83a535)
- **autossl:** add blocking mode [5a623a5](fffonion/lua-resty-acme@5a623a5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants