<p>To access the playground, you have to manually turn it out <a href="https://www.gatsbyjs.com/docs/using-graphql-playground/" rel="nofollow noreferrer">using this guide</a>.</p>

CC BY-SA 4.0
2021-05-04T13:31:32.057Z
Thanks Marek, this was helpful!
Mabloq
CC BY-SA 4.0
2021-05-04T06:39:58.490Z
2021-05-04T06:39:58.490Z
Marek Mahut - StakeNuts
<p>I suggest building GraphQL with docker-compose as it includes the appropriate dependencies including the playground. The instructions may change in the future and can always be found on the projects readme [0], however currently these are the commands.</p>
<p>Clone the latest release 4.0.0:</p>
<pre><code>git clone \
  --single-branch \
  --branch 4.0.0 \
  --recurse-submodules \
  https://github.com/input-output-hk/cardano-graphql.git \
  &amp;&amp; cd cardano-graphql
</code></pre>
<p>Run with docker:</p>
<pre><code>docker-compose up -d --build &amp;&amp; docker-compose logs -f
</code></pre>
<p>And this will launch the playground at http://localhost:3100/graphql</p>
<p>[0] <a href="https://github.com/input-output-hk/cardano-graphql" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-graphql</a></p>

CC BY-SA 4.0
2021-05-04T09:50:59.330Z
2021-05-04T09:50:59.330Z
Eddy Schauman-Haigh
<p>I am trying to setup my graphql web UI console as below:
[![enter image description here][1]][1]
Hausra CLI - version=v1.3.3</p>
<p>Hasura GraphQL Engine: v1.3.1-beta1</p>
<p>So when I navigate to :3100 I get &quot;GET query missing&quot; 400 status code response. That is, when I visit port 3100 in browser I don't get a UI. Instead i get plain text &quot;GET query missing&quot;</p>
<p>Edit:
Ok so I learned that it's saying missing query because I did not add query parameter to url below</p>
<pre><code>http://IP:3100/
</code></pre>
<p>If I add a parameter I get a proper response:</p>
<pre><code>http://IP:3100/v1/graphq?query={hello}
</code></pre>
<p>and that nice I guess I can use this for development. But it would be nice to have the playground pictured above
[1]: <a href="https://i.sstatic.net/P6tEN.png" rel="nofollow noreferrer">https://i.sstatic.net/P6tEN.png</a></p>

CC BY-SA 4.0
2021-05-03T23:27:51.160Z
Can you please include in your question, what you are trying to achive?
Marek Mahut - StakeNuts
CC BY-SA 4.0
2021-05-03T23:46:27.900Z
Hi Marek, thanks I have edited my question.
Mabloq
CC BY-SA 4.0
2021-05-04T00:59:38.153Z
How are you running cardano-graphql? Docker? Or from source?
Ben NOBLE
CC BY-SA 4.0
2021-05-04T01:16:15.337Z
Hi Ben, I built it using nix-build so from source.
Mabloq
CC BY-SA 4.0
2021-05-04T01:16:38.500Z
Additionally, are you running cardano-graphql locally, on a separate machine on LAN, or on the cloud?
Ben NOBLE
CC BY-SA 4.0
2021-05-04T01:42:57.330Z
Hi I am running multinode in the cloud. Node1: cardano-node, db-sync, node2:  cardano-node, cardano-graphql. Also edited my answer again please check for additional info.
Mabloq
CC BY-SA 4.0
2021-05-04T06:11:44.537Z
Thanks for the additional info. I suspect there is an issue with networking/ports/firewall, but am not familiar enough with cloud to hazard a guess. Hope somebody can help!
Ben NOBLE
<graphql-engine>
Hasura - Graphql Playground throws "GET query missing" 400 status code response
# Hasura - Graphql Playground throws "GET query missing" 400 status code response

(Asked by: username_0 on 2021-05-03)

I am trying to setup my graphql web UI console as below:
[![enter image description here][1]][1]
Hausra CLI - version=v1.3.3
Hasura GraphQL Engine: v1.3.1-beta1
So when I navigate to :3100 I get "GET query missing" 400 status code response. That is, when I visit port 3100 in browser I don't get a UI. Instead i get plain text "GET query missing"
Edit:
Ok so I learned that it's saying missing query because I did not add query parameter to url below
http://IP:3100/

If I add a parameter I get a proper response:
http://IP:3100/v1/graphq?query={hello}

and that nice I guess I can use this for development. But it would be nice to have the playground pictured above
[1]: https://i.sstatic.net/P6tEN.png

**Tags:** graphql-engine
> **Comments:**
> **username_1**: Can you please include in your question, what you are trying to achive?  
> **username_0**: Hi Marek, thanks I have edited my question.  
> **username_2**: How are you running cardano-graphql? Docker? Or from source?  
> **username_0**: Hi Ben, I built it using nix-build so from source.  
> **username_2**: Additionally, are you running cardano-graphql locally, on a separate machine on LAN, or on the cloud?  
> **username_0**: Hi I am running multinode in the cloud. Node1: cardano-node, db-sync, node2:  cardano-node, cardano-graphql. Also edited my answer again please check for additional info.  
> **username_2**: Thanks for the additional info. I suspect there is an issue with networking/ports/firewall, but am not familiar enough with cloud to hazard a guess. Hope somebody can help!  

---

## 2 answers

### Answer by username_1 on 2021-05-04. Score: 2 | Accepted answer

To access the playground, you have to manually turn it out [using this guide](https://www.gatsbyjs.com/docs/using-graphql-playground/).

> **Comments:**
> **username_0**: Thanks Marek, this was helpful!  

---

### Answer by username_3 on 2021-05-04. Score: 0

I suggest building GraphQL with docker-compose as it includes the appropriate dependencies including the playground. The instructions may change in the future and can always be found on the projects readme [0], however currently these are the commands.
Clone the latest release 4.0.0:
git clone \
  --single-branch \
  --branch 4.0.0 \
  --recurse-submodules \
  https://github.com/input-output-hk/cardano-graphql.git \
  && cd cardano-graphql

Run with docker:
docker-compose up -d --build && docker-compose logs -f

And this will launch the playground at http://localhost:3100/graphql
[0] https://github.com/input-output-hk/cardano-graphql


---

