Copy link to clipboard
Copied
I am trying to pull information from our companies internal server and I am getting the error: Permission denied to the url http://192.168.100.100/info.php. Manifest entry not found.
This is what I have in the manifest.
Is doing a pull from an IP address not allowed or am I doing something else wrong?
Copy link to clipboard
Copied
Would it be possible that the URL is not correctly listed under the "requiredPermissions" section in the manifest file.
It might also on server settings, firewalls, security policies, etc. Make sure that the server at 192.168.100.100 is configured to allow incoming requests from where your UXP script is.
For example:
{
"host": [
{
"app": "ID",
"minVersion": "18.5.0"
}
],
"manifestVersion": 5,
"permissions": {
"network": {
"sites": [
"http://192.168.100.100/"
]
}
}
}
Copy link to clipboard
Copied
I made sure I did not mistype the url by copying and pasting it over from the index.js to the manifest. I can click on the link in the error message and the url comes up. I have tried all types of configurations of having the file listed, just the base folder, using "all'. I have now tried using permissions instead of requiredPermissions, it did not like that either. It wants requiredPermissions.
I have not had an issue of running the php on its own in a web browser or in my previous version of my plugin that is CEP. I am fairly certain is not the server side.
I can swap out this website for it and it will run. It looks to be that is going to an ip address and not to a url.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
No. requiredPermissions needs domains under network. Sites works under permissions but uxp wants a requiredPermissions and not a permissions. I can get it to work as long as I have a domain name and not an IP address. Tested that with a domain name/IP group that I know. I've gone to my IT guy at this point to see if we have a domain name for this server.
Copy link to clipboard
Copied
I got the domain name from IT, put it in instead of the IP, and it worked. It looks like IP addresses are not allowed with the UXP data transfers.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now