
7foyb (7foyb) asked a question.
I am having a on-premise provisioning agent deployed in a Oracle Linux 7.9 machine and its status is Live and Operational in Okta console. But I receive "There was an unexpected internal error. Please try again." error when I try to add a SWA application that can be connected from the successfully running on-premise provisioning agent. My SCIM Connector application is in local network to the provisioning agent machine. My SCIM Connection base URL is http://192.168.10.48:9000 . This URL is completely accessible from the provisioning agent machine when I use wget/curl command. The on-premise provisioning agent host is having direct internet access (not behind any proxy, but behind a NAT GW). In order to test, I exposed my SCIM Connector application to internet using ngrok and used the publicly expose ngrok URL as base URL for SWA application that uses the same on-premise provisioning agent. Still I receive the same error. Interesting thing is, when I use the same ngrok URL as base URL and Provisioning is SCIM (not using on-premise provisioning agent), everything works fine.
I do not find any logs in the on-premise provisioning agent service and in the system logs too. I disabled selinux in the on-premise provisioning agent machine as keeping it enabled might cause this kind of problems (learned from my personal experience).
I can't expose my SCIM Connector application to internet. I need the on-premise provisioning agent starts working for my SCIM connector application.

Hi @7foyb (7foyb) , Thank you for reaching out to the Okta Community!
I've been looking into this and according to this post, exposure to the internet might be required.
However, I recommend opening a case to have one of our Support Engineers review the implementation.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Okta Identity Engine (OIE) Ask Me Anything: Get answers from product experts by clicking here.