Console scripting works when accessing the internet but gateway timer scripts dont

here is the log, im trying to read a table from the internet and i see it in script console everything works great unless i use gateway timer scripts i tried doing it on the client side and didn't work either. could this be an IT thing if so how does the script console get access to the internet but the gateway doesn't this is also version 7.9.4

com.inductiveautomation.ignition.common.script.JythonExecException: Traceback (most recent call last): File "", line 4, in IOError: Connection reset

at org.python.core.Py.fromIOException(
at org.python.core.Py.IOError(
at com.inductiveautomation.ignition.common.script.builtin.AbstractNetUtilities.httpGet(
at sun.reflect.GeneratedMethodAccessor764.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.inductiveautomation.ignition.common.script.ScriptManager$
at org.python.pycode._pyx1912.f$0(:31)
at org.python.pycode._pyx1912.call_function()
at org.python.core.Py.runCode(
at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(
at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(
at java.util.TimerThread.mainLoop(
Caused by: org.python.core.PyException: Traceback (most recent call last): File "", line 4, in IOError: Connection reset

The script console is using the internet of whatever machine you're using to run the designer.

The gateway timer script is using the internet of the gateway. I'm assuming your IT is blocking internet access to that PC

1 Like

yea ignition is ran on a computer that doesn't have internet access but im on designer on a rdp that has internet access, is there any other way of making this work?

Not in a gateway timer script. How would you imagine that working? As the name implies, gateway scripts are being evaluated by the gateway.

So, no.

1 Like

Well, what are you trying to do? If it's in a timer script, why; you're trying to pull some data in periodically?
It's a not great idea, and I would recommend against it, but you could have client timer script that runs, pulls data, writes it into a tag. It would only run while a client is open, which is the biggest problem with it, but it's possible.

Well, and then crushes you when a dozen clients are open.

@Elie_Khananya, your gateway needs internet access, to, you know, access the internet.


thats a huge bummer, well thanks!