Hi Team , Need help in `data-plane` issue. Our dat...
# support
a
Hi Team , Need help in
data-plane
issue. Our data-plane version - Helm: 0.4.0, AppVersion 1.16.0. See these errors in logs-
Copy code
2023-08-21T08:34:19.222Z INFO gateway gateway/gateway.go:1194 IP: 109.143.195.223 -- /v1/batch -- Response: 500, Failed to read body from request
2023-08-21 10:34:37.068 CEST
2023-08-21T08:34:37.067Z ERROR stats stats/stats.go:165 error while setting statsd client: write udp 127.0.0.1:54511->127.0.0.1:8125: write: connection refused
2023-08-21 10:34:52.820 CEST
2023/08/21 08:34:52 bugsnag/sessions/publisher.publish invalid API key: ''
2023-08-21 10:35:09.655 CEST
2023-08-21T08:35:09.654Z ERROR stats stats/stats.go:165 error while setting statsd client: write udp 127.0.0.1:42957->127.0.0.1:8125: write: connection refused
2023-08-21 10:35:18.172 CEST
2023-08-21T08:35:18.171Z ERROR gateway gateway/gateway.go:791 Error reading request body, 'Content-Length': 1266, partial payload:
Could anyone suggest the right way to debug this further? Kindly advice.
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Palak, which destination are you sending to? The destination seems to be throwing the "Invalid API key Error". Can you check on the RudderStack destination dashboard if you are seeing any errors?
a
We have multiple destinations connected to Google cloud, but I don't see any errors there. Is there a better way to understand from the dashboard, if you can help with that? I am using this - https://app.rudderstack.com/destinations/
m
Hi Palak can you test a sample event using curl? Seem samples here
a
Hey @shy-kite-21035, thanks for your reply! But, could you please help me with -what data_plane_url it expects? Also, is Invalid API Key error can mean that the destination settings( in our case GCP Service Account credentials JSON to publish data to Pub/Sub has issues..?) or, what API key it is referring to here? Could you guide what direction I should debug this? Some new logs:
Copy code
023-08-22T11:10:10.387Z INFO gateway gateway/gateway.go:1194 IP: 77.63.44.113 -- /v1/batch -- Response: 500, Failed to read body from request
2023-08-22 13:10:14.605 CEST
2023-08-22T11:10:14.604Z ERROR stats stats/stats.go:165 error while setting statsd client: write udp 127.0.0.1:56145->127.0.0.1:8125: write: connection refused
2023-08-22 13:10:36.280 CEST
2023-08-22T11:10:36.280Z INFO jobsdb.rt jobsdb/jobsdb.go:1191 [JobsDB] rt_jobs_11271 is full by rows. Count: 100145, Size: 274382848
2023-08-22 13:10:36.282 CEST
2023-08-22T11:10:36.281Z INFO jobsdb.rt jobsdb/jobsdb.go:2767 [[ rt : addNewDSLoop ]]: NewDS
2023-08-22 13:10:36.282 CEST
2023-08-22T11:10:36.282Z INFO jobsdb.rt jobsdb/jobsdb.go:1264 Creating new DS {JobTable:rt_jobs_11272 JobStatusTable:rt_job_status_11272 Index:11272}
2023-08-22 13:10:36.994 CEST
2023-08-22T11:10:36.993Z INFO jobsdb.rt jobsdb/migration.go:92 [[ migrateDSLoop ]]: Migrate from: [{rt_jobs_11271 rt_job_status_11271 11271}]
2023-08-22 13:10:36.994 CEST
2023-08-22T11:10:36.994Z INFO jobsdb.rt jobsdb/migration.go:93 [[ migrateDSLoop ]]: To: {rt_jobs_11271_1 rt_job_status_11271_1 11271_1}
2023-08-22 13:10:36.994 CEST
2023-08-22T11:10:36.994Z INFO jobsdb.rt jobsdb/migration.go:94 [[ migrateDSLoop ]]: Next: {rt_jobs_11272 rt_job_status_11272 11272}
2023-08-22 13:10:37.026 CEST
2023-08-22T11:10:37.026Z INFO jobsdb.rt jobsdb/jobsdb.go:1287 Creating DS {JobTable:rt_jobs_11271_1 JobStatusTable:rt_job_status_11271_1 Index:11271_1}
2023-08-22 13:10:37.080 CEST
2023-08-22T11:10:37.080Z INFO jobsdb.rt jobsdb/migration.go:113 [[ migrateDSLoop ]]: Migrate: {rt_jobs_11271 rt_job_status_11271 11271} to: {rt_jobs_11271_1 rt_job_status_11271_1 11271_1}
2023-08-22 13:10:37.528 CEST
2023-08-22T11:10:37.527Z INFO jobsdb.rt jobsdb/migration.go:124 [[ migrateDSLoop ]]: Total migrated 40 jobs
2023-08-22 13:11:01.292 CEST
2023/08/22 11:11:01 bugsnag/sessions/publisher.publish invalid API key: ''
ERROR gateway gateway/gateway.go:791 Error reading request body, 'Content-Length': 20257, partial payload:
2023-08-22 13:09:08.611 CEST
{"sentAt":"2023-08-22T11:08:58.340Z","batch":......
m
Actually there are 2 errors in the initial logs that you pasted 1. Response: 500, Failed to read body from request - Actual error 2. invalid API key: '' - Can be ignored as this is a bugsnag error For the Data-plane url, 1. If you are using the free tier is will be something like https://**************.dataplane.rudderstack.com . You can find this dataplane url in the connections tab on the RudderStack Dashboard. 2. If you team is self-hosted (I assume it is), then it will be the url where your server is deployed.
a
Hi @shy-kite-21035 Thanks for the details. i could find the URL. Also, we found data was getting loaded again, but not sure why data plane is showing this error. Thanks for your help!
m
Hi Palak, can you share your workspace Id? I am curious if you are using the Self-hosted or cloud version. Thanks for the update.