# Lost possibility to develop locally since migrating to the new development workflow

**URL:** <https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690>\
**Category:** Help me!\
**Created:** [May 17, 2022, 2:38pm UTC](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690 "2022-05-17T14:38:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Yves\_Poilleux](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/jean-yves_poilleux/32/2241_2.png) [@Jean-Yves\_Poilleux](https://community.forestadmin.com/u/Jean-Yves_Poilleux)\
**Post date:** [May 17, 2022, 2:38pm UTC](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690/1 "2022-05-17T14:38:09Z")

</div>

Hi Forest Support,  
We have upgraded to the new development workflow and unfortunately lost the capability to develop locally. We were running a local backend on our laptop on [http://localhost:3310](http://localhost:3310).  
Since the migration, we cannot do so anymore as we need to locally run on https. I’ve set up a server to run as https but it just doesn’t work anymore.  
Not really convenient.  
What can I do to be able to develop locally again ?  
Thanks  
Jean-Yves

---

<div class="post-metadata">

**Author:** ![anon37903635](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@anon37903635](https://community.forestadmin.com/u/anon37903635)\
**Post date:** [May 17, 2022, 3:06pm UTC](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690/2 "2022-05-17T15:06:42Z")

</div>

Hello @Jean-Yves_Poilleux 👋 and welcome to our community!

I’m going to be spitballing some questions so that we can get our heads around the problem okay?  
First off, I’ll need the followings:

- What is your project name?
- What is your environment name?
- What are your agent type & version?
- When did you perform (exactly if possible) the migration?

---

<div class="post-metadata">

**Author:** ![Jean-Yves\_Poilleux](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/jean-yves_poilleux/32/2241_2.png) [@Jean-Yves\_Poilleux](https://community.forestadmin.com/u/Jean-Yves_Poilleux)\
**Post date:** [May 17, 2022, 4:50pm UTC](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690/3 "2022-05-17T16:50:43Z")

</div>

- What is your project name?  
folk
- What is your environment name?  
local
- What are your agent type & version?  
sequelize v8
- When did you perform (exactly if possible) the migration?  
May 11th

Thanks!

---

<div class="post-metadata">

**Author:** ![anon37903635](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@anon37903635](https://community.forestadmin.com/u/anon37903635)\
**Post date:** [May 18, 2022, 7:43am UTC](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690/4 "2022-05-18T07:43:07Z")

</div>

Hey @Jean-Yves_Poilleux, thanks for the information 👌

The migration should have removed all your development environments and created a new one prefixed with "Development | ". This new environment has been created 🆗 .

What we suggest 📋:

- Get the secrets from the newly created environment called **Development | anXXXXXXXrd**
- Set these secrets in your agent

Waiting for your feedback 💪

---

<div class="post-metadata">

**Author:** ![Jean-Yves\_Poilleux](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/jean-yves_poilleux/32/2241_2.png) [@Jean-Yves\_Poilleux](https://community.forestadmin.com/u/Jean-Yves_Poilleux)\
**Post date:** [May 19, 2022, 3:06pm UTC](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690/6 "2022-05-19T15:06:31Z")

</div>

Hi,  
I think I was not clear about my problem because I don’t have issues with authentication. Let me rephrase.

Before the migration, we were able to run our backend server on our laptops and perform tests on a dedicated environment pointing to [http://localhost:3310](http://localhost:3310) (as configured). This was working fine.

Now after the migration, I try to do the same thing but the forest front-end does not allow me to point to an http endpoint. I need to set up an https endpoint (https VS http). I’ve tried running my backend server as https but this proved to be unsuccessful. We are not able to develop our forest backend locally. We need to code and ship it to our test environment to validate our changes. Far from ideal.

How can we fix this ?  
Thanks in advance  
Jean-Yves

---

<div class="post-metadata">

**Author:** ![Jean-Yves\_Poilleux](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/jean-yves_poilleux/32/2241_2.png) [@Jean-Yves\_Poilleux](https://community.forestadmin.com/u/Jean-Yves_Poilleux)\
**Post date:** [May 23, 2022, 8:56am UTC](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690/7 "2022-05-23T08:56:56Z")

</div>

Hi,  
Any thoughts about this?  
Thanks  
jy

---

<div class="post-metadata">

**Author:** ![Sliman\_Medini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sliman_medini/32/19_2.png) [@Sliman\_Medini](https://community.forestadmin.com/u/Sliman_Medini)\
**Post date:** [May 23, 2022, 10:18am UTC](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690/8 "2022-05-23T10:18:23Z")

</div>

Hi @Jean-Yves_Poilleux,

Here is your environment list:

- Development | antoinec\*\*\* - type: dev
- local - type: remote
- new-develop - type: remote
- Develop - type: remote
- production - type: production

`remote` environments are HTTPS only, while dev can be HTTP.  
`remote` environments are made to run on servers.  
I think these environments were turned into remote instead of `development` ones when you migrate to DWO.

Now you should re-create new development environments, these one should be dropped.

- drop these environments from the UI under `project settings` → `environments` tab.
- create again your development environment using the `forest init` command from your laptop
- important: remove the `FOREST_ENV_SECRET` from your .env to get a new one.

Regards

---

<div class="post-metadata">

**Author:** ![Jean-Yves\_Poilleux](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/jean-yves_poilleux/32/2241_2.png) [@Jean-Yves\_Poilleux](https://community.forestadmin.com/u/Jean-Yves_Poilleux)\
**Post date:** [May 25, 2022, 7:08am UTC](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690/9 "2022-05-25T07:08:12Z")

</div>

Hi and thank you for the advice,

I did what you suggested and now I can see my environment. A good step forward! My server is running locally and has the correct endpoint with the correct port.  
Now I’m getting a authentication issue. I’ve looked at the doc but couldn’t find anything about this error. Could you please help me out ? See screenshot

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/6/65403932efe2444f26afea56d61b0725c19b82a7.png)

Thanks in advance!  
Jean-Yves

---

<div class="post-metadata">

**Author:** ![Sliman\_Medini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sliman_medini/32/19_2.png) [@Sliman\_Medini](https://community.forestadmin.com/u/Sliman_Medini)\
**Post date:** [May 30, 2022, 9:12am UTC](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690/10 "2022-05-30T09:12:07Z")

</div>

Hi @Jean-Yves_Poilleux,

Sorry for the delay, and sorry for this not answering answer too but, can you please ask a new question about this new topic?  
I am not up-to-date with auth-related questions, you will be re-routed there.

Regards
