# Unable setup development enviroment(docker) as DiscourseConnect provider

**URL:** https://meta.discourse.org/t/unable-setup-development-enviroment-docker-as-discourseconnect-provider/188886
**Category:** Development
**Created:** [May 2, 2021, 11:39am UTC](https://meta.discourse.org/t/unable-setup-development-enviroment-docker-as-discourseconnect-provider/188886 "2021-05-02T11:39:24Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [May 2, 2021, 11:39am UTC](https://meta.discourse.org/t/unable-setup-development-enviroment-docker-as-discourseconnect-provider/188886/1 "2021-05-02T11:39:24Z")

</div>

When the consumer redirect to Discourse:

 ![Screenshot from 2021-05-02 19-21-26](https://global.discourse-cdn.com/meta/original/3X/6/6/662fd6278ad9d375c5c57cfcf44f827fd1e00ed8.png)

Logs:

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/b/db5a35e139f5c0caddd35ece832f160b51dc5ac3.png)

I was test fine on my production Discourse instance. I guess it’s a Ember CLI problem?

My development enviroment installaction step: [Install Discourse for development using Docker - #160 by hawm](https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009/160)

Thanks.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [May 3, 2021, 10:26pm UTC](https://meta.discourse.org/t/unable-setup-development-enviroment-docker-as-discourseconnect-provider/188886/2 "2021-05-03T22:26:48Z")

</div>

I have run into the same issue myself, but haven’t spent time yet on sorting it out. I’ll do that early this week and report what I find here, unless someone solves the issue for you before then.

---

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [May 5, 2021, 6:55am UTC](https://meta.discourse.org/t/unable-setup-development-enviroment-docker-as-discourseconnect-provider/188886/3 "2021-05-05T06:55:03Z")

</div>

Disable Ember CLI make it work for now, I guess the problem is hightly relate to the Ember CLI what unable handle external redirection.

> [@Install Discourse for development using Docker](https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009/162):
>
> Yes this will have to be updated. In the meantime you can disable that by setting the NO\_EMBER\_CLI environment variable to 1.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 5, 2021, 6:58am UTC](https://meta.discourse.org/t/unable-setup-development-enviroment-docker-as-discourseconnect-provider/188886/4 "2021-05-05T06:58:30Z")

</div>

FYI not Docker but I’m using Ember CLI with a non-docker dev setup in the cloud

All I had to do was redirect calls to port 4200 (in my case using nginx) which connects to the ember server which in turn connects to the Rails server on 3000 (no change there)

This suggests for docker you probably just need to run the container with a port mapping to send incoming calls to 4200 to get it to work with ember CLI?

---

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [May 5, 2021, 7:15am UTC](https://meta.discourse.org/t/unable-setup-development-enviroment-docker-as-discourseconnect-provider/188886/5 "2021-05-05T07:15:32Z")

</div>

Actually I get Ember CLI work now as you said([Install Discourse for development using Docker - #160 by hawm](https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009/160)), but not work with [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) provider.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 5, 2021, 7:17am UTC](https://meta.discourse.org/t/unable-setup-development-enviroment-docker-as-discourseconnect-provider/188886/6 "2021-05-05T07:17:43Z")

</div>

Nice. Got it. One more level of complexity … apologies was clearly solving only the part you’d already solved! 🙂
