Skip to main content
John D Herzog
Inspiring
Aug 3, 2023 5:06 PM UTC
Question

Cannot pull information from internal server with UXP plugin

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.

"host": [
{
"app": "ID",
"minVersion": "18.5.0"
}
],
"manifestVersion": 5,
"requiredPermissions": {
"network": {
"domains": [
]
}
},

Is doing a pull from an IP address not allowed or am I doing something else wrong?

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Community Expert
Aug 4, 2023 4:55 AM UTC

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/"
      ]
    }
  }
}




Translate
John D Herzog
Inspiring
Aug 4, 2023 3:54 PM UTC

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.

 

Translate
Community Expert
Aug 4, 2023 5:06 PM UTC
  1. SO changing domain to sites didn't work?
Translate