Trying to make httpGet work, as simply as a button with script:

[code]# This code would return the source for Google’s homepage

source =“”)

print source[/code]

Running the client on a windows 7 64bit with internet connectivity (machine I run designer on). I can use a browser to get to the url, yet when I attempt, I get everytime:

[quote]Traceback (most recent call last):
File “event:actionPerformed”, line 1, in
IOError: Connection timed out: connect

Ignition v7.5.2 (b1146)
Java: Oracle Corporation 1.7.0_04[/quote]

I’ve tried it as a gateway script as well with no success.

Are you connected to the internet or behind a firewall?

Part of that error message is a connection timeout. I ran the exact same script and it returned the source of

That means that Ignition cannot communicate with the website. You probably don’t have internet connection from where you are running the code.

Solved: Was firewalled, miscommunication with IT.