Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

receive content is empty #515

Open
1sting opened this issue Aug 10, 2022 · 5 comments
Open

receive content is empty #515

1sting opened this issue Aug 10, 2022 · 5 comments

Comments

@1sting
Copy link

1sting commented Aug 10, 2022

13:49:17 [DEBUG] (1) sky_core_report::reporter::grpc: keep alive register true
13:49:17 [DEBUG] (1) sky_core_report::reporter::grpc: keep alive instance InstancePingPkg { service: "user-service", service_instance: "[email protected]", layer: "" }
13:49:17 [DEBUG] (1) tower::buffer::worker: service.ready=true message=processing request
13:49:17 [DEBUG] (4) h2::codec::framed_write: send frame=Headers { stream_id: StreamId(159), flags: (0x4: END_HEADERS) }
13:49:17 [DEBUG] (4) h2::codec::framed_write: send frame=Data { stream_id: StreamId(159) }
13:49:17 [DEBUG] (4) h2::codec::framed_write: send frame=Data { stream_id: StreamId(159), flags: (0x1: END_STREAM) }
13:49:17 [DEBUG] (2) h2::codec::framed_read: received frame=Ping { ack: false, payload: [0, 0, 0, 0, 0, 0, 4, 210] }
13:49:17 [DEBUG] (2) h2::codec::framed_write: send frame=Ping { ack: true, payload: [0, 0, 0, 0, 0, 0, 4, 210] }
13:49:17 [DEBUG] (2) h2::codec::framed_read: received frame=Headers { stream_id: StreamId(159), flags: (0x4: END_HEADERS) }
13:49:17 [DEBUG] (2) h2::codec::framed_read: received frame=Data { stream_id: StreamId(159) }
13:49:17 [DEBUG] (2) h2::codec::framed_read: received frame=Headers { stream_id: StreamId(159), flags: (0x5: END_HEADERS | END_STREAM) }
13:1349::20 49[ERROR] :receive err receive content is empty20
[DEBUG] (7) sky_core_report: sky_core_report_ipc_send ok

@heyanlong
Copy link
Member

Under what circumstances?

@1sting
Copy link
Author

1sting commented Aug 11, 2022

version: '3.3'
services:
skywalking-oap:
image: apache/skywalking-oap-server
container_name: skywalking-oap
restart: always
ports:
- 11800:11800
- 12800:12800
environment:
SW_STORAGE: h2
skywalking-ui:
image: apache/skywalking-ui:8.0.1
container_name: skywalking-ui
depends_on:
- skywalking-oap
links:
- skywalking-oap
restart: always
ports:
- 8989:8080
environment:
SW_OAP_ADDRESS: skywalking-oap:12800
使用了如上的 docker-compose,然后 php也是在另外一个docker内的。
php.ini是如下配置
[skywalking]
extension=skywalking.so
skywalking.enable = 1
skywalking.service = user-service
skywalking.oap_version = 9.0.0
skywalking.grpc_address = docker.for.mac.host.internal:11800
skywalking.log_level = debug
skywalking.log_path = /var/log/dnmp/skywalking-php.log
skywalking.curl_response_enable = 1

然后每次请求接口,都返回了这个错误,请问下是配置有什么问题吗,还是遗漏掉了什么。

还有一个问题是想请教下,如果我用php的 zipkin来进行上报到skywalking,应该如何处理呢。

@heyanlong
Copy link
Member

需要确保在容器内访问docker.for.mac.host.internal:11800是正常的

@Norbinliu
Copy link

我也遇到了相同报错,我的skywalking server 地址,我验证了下还没有问题的,这个问题还有什么其他地方能排查吗

@1sting
Copy link
Author

1sting commented Sep 8, 2022

是没问题的。 可以ping通。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants