cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Installing Custom Application in two Environments - Dynatrace Toolkit

MaximilianoML
Helper

Hello guys!

How are you all?

So, I'm with an interesting problem... Let me introduce you to the context.

I developed a Custom Synthetic Application using the Dynatrace Toolkit, and it worked perfectly on one of ours Tenants (We've two PT and BR).

And for my surprise, I changed all the Tokens and Environment URLs to the correct ones, on dev mode the App runs well, I performed the Deploy and it makes with no problem. But when we try to open the App via Tenant, it stays on infinite loading, like if there's no response from the API (It's called via App Functions to the Dynatrace APIs following the docs). I've checked all the Tokens permissions and User Permissions; the permissions and Policies are the same in both.

The main question here is, why it works only in one if it's all the same config in both? Maybe some environment config? 🤔

 

Kinda regards,

Maximiliano Lopes

 

Fullstack developer | Tech Lover
3 REPLIES 3

haris
Dynatrace Mentor
Dynatrace Mentor

Hi Maximiliano,

could you share app config file for both? Also, could you try temporarily removing app functions usage and putting placeholder code instead to see if that's only thing affecting it?

 

imsingh
Dynatrace Advisor
Dynatrace Advisor

Hi @MaximilianoML 

Do you have browser logs that you can share with us where the app isn't running? Thanks

AntonioSousa
DynaMight Guru
DynaMight Guru

This was a tough one. I worked with @MaximilianoML on it, and a clue on what we had done before, got us through: we had to follow the procedure described in https://developer.dynatrace.com/develop/app-functions/allow-outbound-connections/ as the app was making API calls to the environment:

AntonioSousa_0-1749064704885.png

Please note that before it was available through Settings > Preferences > Limit outbound connections
Not sure why it disappeared from Settings Classic; trying to figure it out... 

Antonio Sousa

Featured Posts