D2 app development proxy not working

Hello everyone

I am a developing DHIS2 application against a remote instance and whitelisted it aswell. I have specified the remote instance url in the package.json file, and when i do npm run start it shows me that it running on localhost:8080.
Now the problem is when accessing it in my browser, whether microsoft edge, or google chrome it tells me that the page is not working at the moment: Localhost redirected too many time. Checking my network logs the dhis-web-login/ request returns the 302 http status code.

Hi @Yambanso_Kausiwa

Welcome back to the community!

Could you try to connect to a local instance first and see if it’s working or not? If it’s working then there’s some more configuration required either in the remote instance or the app, but it’s also not connecting in the local instance then you will need to compare with a simple one that does connect to a local instance.

What is the environment you’re working on and what is the version of the DHIS2 instance you are connecting to?

Thanks!

So far i have not tried using my local instance, since i don’t have one installed in my local machine but when i try proxying using the play instance every thing seems to be working alright, but not our local dev instance.