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

help request: Can I know which file the error log is printed from? #8847

Closed
syl000 opened this issue Feb 13, 2023 · 9 comments
Closed

help request: Can I know which file the error log is printed from? #8847

syl000 opened this issue Feb 13, 2023 · 9 comments

Comments

@syl000
Copy link

syl000 commented Feb 13, 2023

Description

for some error log,i can find
eg:

2023/02/13 06:38:16 [error] 58#58: *2483679 [lua] config_etcd.lua:631: no healthy etcd endpoint available, next retry after 8s, context: ngx.timer

config_etcd.lua

bug for some error log,i can't
eg:

2023/02/13 04:39:08 [warn] 54#54: *965949 [lua] v3.lua:829: request_chunk(): http://etcd:2379: failed to parse domain: failed to parse domain. Retrying, context: ngx.timer

I can't find v3.lua

Environment

  • APISIX version:3.1.0
  • Operating system:Debian 4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux
  • OpenResty / Nginx version :openresty/1.21.4.1
@tokers
Copy link
Contributor

tokers commented Feb 13, 2023

It's not a module in APISIX itself, it's api7/lua-resty-etcd.

@syl000
Copy link
Author

syl000 commented Feb 13, 2023

It's not a module in APISIX itself, it's api7/lua-resty-etcd.

2023/02/13 04:39:08 [warn] 54#54: *965949 [lua] v3.lua:829: request_chunk(): http://etcd:2379: failed to parse domain: failed to parse domain. Retrying, context: ngx.timer

都是中国人我就直接中文了:)

其实我是想找下为什么会有上面那个warn,etcd和apisix都是使用docker部署,并且使用同一个bridge类型自定义网络,理论上来说可以通过服务名:端口的形式访问到,确实在整个apisix运行期间,也没看到什么异常的情况,只是时不时出现这个warn,让我很是疑惑。

请问下你遇到过这种情况吗?

@huangyutongs
Copy link

+1

@tokers
Copy link
Contributor

tokers commented Feb 15, 2023

@syl000 @Hyt05 This is a known issue. We're still trying to figure out it.

@syl000
Copy link
Author

syl000 commented Feb 15, 2023

This is a known issue. We're still trying to figure out it.

请问下,目前看来会对已知功能带来什么影响吗?或者单纯的只是一个warning?

可以把issue链接贴出来吗?我使用关键字检索没有找到相关信息。

@huangyutongs
Copy link

回退到2.14.1-centos 就可以了

@syl000
Copy link
Author

syl000 commented Feb 15, 2023

回退到2.14.1-centos 就可以了

好的,我试试,谢谢!

@xuchmao
Copy link

xuchmao commented Feb 15, 2023

好像是openresty版本的问题,之前升级的时候遇到过,回退到1.1x版本就好了

@shreemaan-abhishek
Copy link
Contributor

fixed by api7/apisix-build-tools#278

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

No branches or pull requests

5 participants