# Network Error: Bad Gateway(502) in mix datasource

**URL:** <https://community.grafana.com/t/network-error-bad-gateway-502-in-mix-datasource/16058>\
**Category:** Configuration\
**Created:** [April 5, 2019, 6:24am UTC](https://community.grafana.com/t/network-error-bad-gateway-502-in-mix-datasource/16058 "2019-04-05T06:24:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanbansa](https://avatars.discourse-cdn.com/v4/letter/t/898d66/32.png) [@tanbansa](https://community.grafana.com/u/tanbansa)\
**Post date:** [April 5, 2019, 6:24am UTC](https://community.grafana.com/t/network-error-bad-gateway-502-in-mix-datasource/16058/1 "2019-04-05T06:24:35Z")

</div>

I have grafana chart which usages “–Mixed–” datasource and add multiple queries using different datasource (all different influxdb ).

In case for a reason, one of the inflxudb datasource is down , I see error “Network Error: Bad Gateway(502)” on Grafana Chart and not able to see any of the working Datasource metrics.

Example -

datasources - DB1, DB2, DB3

now in single chart I have metrics for all 3 datasources and in case DB3 is down, then that chart shows error instead of showing rest active datasources DB1/DB2 metrics on that chart along with error.

Is there anyway to see at least active DB metrics in mixed metrics

![image](https://us1.discourse-cdn.com/grafana/original/2X/b/b34f97cfb65ffd203f20923898bf16b20b3708a3.png)

![image](https://us1.discourse-cdn.com/grafana/original/2X/4/45fc993d7291f64e5dee163f0686c1fd477160e9.png)

---

<div class="post-metadata">

**Author:** ![tanbansa](https://avatars.discourse-cdn.com/v4/letter/t/898d66/32.png) [@tanbansa](https://community.grafana.com/u/tanbansa)\
**Post date:** [April 8, 2019, 4:01am UTC](https://community.grafana.com/t/network-error-bad-gateway-502-in-mix-datasource/16058/2 "2019-04-08T04:01:52Z")

</div>

Is there any solution to fix this ?

---

<div class="post-metadata">

**Author:** ![hamelg](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@hamelg](https://community.grafana.com/u/hamelg)\
**Post date:** [August 30, 2019, 8:56am UTC](https://community.grafana.com/t/network-error-bad-gateway-502-in-mix-datasource/16058/3 "2019-08-30T08:56:08Z")

</div>

Mixed datasource is broken, see this report :

> <https://github.com/grafana/grafana/issues/18088>

---

<div class="post-metadata">

**Author:** ![tanbansa](https://avatars.discourse-cdn.com/v4/letter/t/898d66/32.png) [@tanbansa](https://community.grafana.com/u/tanbansa)\
**Post date:** [September 9, 2019, 6:32am UTC](https://community.grafana.com/t/network-error-bad-gateway-502-in-mix-datasource/16058/4 "2019-09-09T06:32:35Z")

</div>

Thank you @hamelg for sharing it
