Forums

Schedular is not able to access Openapi.5paisa.com

All of my scheduled tasks failed today. These tasks were trying to access external api (Openapi.5paisa.com). I am using a paid account , so these should not have failed. Even for free account it should have worked as Openapi.5paisa.com is in whitelisted URLS.

By the way, I am able to run the same scripts from console without any problem. Also, all of these scheduled tasks were working fine till last week. Can you please look into it? Its really critical for me.

Thanks, Manoj

Check that content that you are getting back from the service. There will probably be some indication in there about why the request failed.

When accessed from scheduler, it is not returning anything. But when I am executing the exact same python script from Console, it is working fine.

what exactly do you mean by "content that you are getting back from the service"?

Do scheduled tasks runs under any separate user? If yes, then can the permissions have been revoked for this seperate user account.

Thanks, Manoj

"content that you are getting back from the service" is what you get when you make a request to that api. Scheduled tasks are running as the same user.