# Error accessing local environment

**URL:** <https://community.forestadmin.com/t/error-accessing-local-environment/4789>\
**Category:** Help me!\
**Created:** [June 10, 2022, 1:41pm UTC](https://community.forestadmin.com/t/error-accessing-local-environment/4789 "2022-06-10T13:41:17Z")\
**Posts on this page:** 5\
**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:** [June 10, 2022, 1:41pm UTC](https://community.forestadmin.com/t/error-accessing-local-environment/4789/1 "2022-06-10T13:41:17Z")

</div>

Hi there,  
We have lost the capability to work locally on forest.  
I have pulled my forest backend locally, ran `forest init` and started the server. My forest env points to [http://localhost:3310](http://localhost:3310) and I have set up the AUTH env variables.  
I am getting an authentication error in the front. All other remote environment work fine.  
See screenshot for the error.  
How can I make it work locally ?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/0/0a2373bf20da6978b995c55c2106b21776db356d.png)  
Thanks  
jy

---

<div class="post-metadata">

**Author:** ![shohanr](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/shohanr/32/4999_2.png) [@shohanr](https://community.forestadmin.com/u/shohanr)\
**Post date:** [June 10, 2022, 2:14pm UTC](https://community.forestadmin.com/t/error-accessing-local-environment/4789/2 "2022-06-10T14:14:01Z")

</div>

Hi @Jean-Yves_Poilleux 👋

To help you I will need :

- your project name
- the liana that you are using
- the version of the liana

I will also need your network console, your console logs if you have any, and same for your agent logs if you have any error messages.

Kind regards,

Shohan

---

<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:** [June 10, 2022, 3:27pm UTC](https://community.forestadmin.com/t/error-accessing-local-environment/4789/3 "2022-06-10T15:27:07Z")

</div>

Hi

- folk
- forest-express-sequelize
- liana 8

Actually, it seems that the reason is that the forest front end is trying to perform a callback in https while m local server runs http. So it’s not finding anything.

I’ve already had a conversation about developping locally in http (instead of https) here : [Lost possibility to develop locally since migrating to the new development workflow - #10 by Sliman\_Medini](https://community.forestadmin.com/t/lost-possibility-to-develop-locally-since-migrating-to-the-new-development-workflow/4690/10)

It seems forest doesn’t allow me to locally work without https even though my environment is local and my endpoint is set as http.

Can you confirm?  
jy

---

<div class="post-metadata">

**Author:** ![anon39940173](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@anon39940173](https://community.forestadmin.com/u/anon39940173)\
**Post date:** [June 13, 2022, 9:16am UTC](https://community.forestadmin.com/t/error-accessing-local-environment/4789/4 "2022-06-13T09:16:44Z")

</div>

You should be able to develop locally using HTTP only.

Can you check that:

- The frontend is served over http (if not check you are not using an extension like “EFF HTTPS Everywhere”)
- In your agent configuration, the APPLICATION\_URL environment variable points to a HTTP endpoint

If that does not fix it, I would love a screenshot from the request which is failing in chrome inspector

---

<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:** [June 15, 2022, 9:33am UTC](https://community.forestadmin.com/t/error-accessing-local-environment/4789/6 "2022-06-15T09:33:26Z")

</div>

Great! APPLICATION\_URL was indeed over https. That solved the issue. Thanks !  
Jean-Yves
