Announcement

Collapse
No announcement yet.

%IsConnected% and proxy/firewall functions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • rball
    replied
    Re: %IsConnected% and proxy/firewall functions

    OK thanks
    I've taken out the code and left it to fail in the browser, not great but better this way than the other.

    Russ

    Leave a comment:


  • TJ_Tigger
    replied
    Re: %IsConnected% and proxy/firewall functions

    No I have not gone back to it yet. I have been side tracked on to other projects. I will let you know when I do though. To warn you it won't be for a while.

    tigg

    Leave a comment:


  • rball
    replied
    Re: %IsConnected% and proxy/firewall functions

    Tigger,

    Did you get anywhere with this as I have exactly the same problem?

    Russ

    Leave a comment:


  • kaylward
    replied
    Re: %IsConnected% and proxy/firewall functions

    There's not to much to see in your circumstance (i.e. with a PAC). The issue is that the proxy is stored in the registry as one big string (i.e. Proxy=www.company.com:8080) and you need to extract the proxy server name and port number. It's just a bunch of string maniputlation.

    Leave a comment:


  • TJ_Tigger
    replied
    Re: %IsConnected% and proxy/firewall functions

    I don't have SUF so I don't think I will be able to use the files. Can they be exported to .xml or txt so I could read them?

    Leave a comment:


  • kaylward
    replied
    Re: %IsConnected% and proxy/firewall functions

    FWIW...

    I have SUF60 actions to detect proxy and port from the registry here:

    http://orioninformationsystems.com/d.../isconnect.zip

    I don't remember if they can be imported into AMS... I'm away from my machine... They can be read into SUF60 to see the logic.

    Leave a comment:


  • Brett
    replied
    Re: %IsConnected% and proxy/firewall functions

    We will certainly look at adding download functions that go through the IE interface for a future version. As well, we will take a look at ways to better detect proxy settings. Thanks for the feedback, everyone.

    Leave a comment:


  • TJ_Tigger
    replied
    Re: %IsConnected% and proxy/firewall functions

    Yes we do. So I can use the web browser through AMS but the %IsConnected% and Download Web File actions will not work at this point . . .

    Thanks for sharing your experience kaylward.

    Tigg

    Leave a comment:


  • kaylward
    replied
    Re: %IsConnected% and proxy/firewall functions

    Does your site use a proxy autoconfiguration file? I've never been able to get that to work. I can read the proxy server name and port from the registry, except in cases where a PAC file is used... This of course leads to the IsConnected failing, since I an not detecting and passing the proxy server info. I had to hard code it for a big client... You can open the PAC file with notepad and find the values...

    Leave a comment:


  • TJ_Tigger
    replied
    Re: %IsConnected% and proxy/firewall functions

    Ok, I found the Proxy setting dialog box in the Dialog actions, but am still having trouble with an internet download. The errors that I get are dealing with error code 99, which it states is an unknown error code.

    Any Ideas.

    Leave a comment:


  • TJ_Tigger
    replied
    Re: %IsConnected% and proxy/firewall functions

    Download from Web function does not want to work either. I tried to check what the %Proxy*% variables were returning and they were empty. Are these built in variables, or do I need to run something first (i.e., prompt user) to populate them.

    Leave a comment:


  • TJ_Tigger
    replied
    Re: %IsConnected% and proxy/firewall functions

    I should also mention that the %IsConnected% works with the VPN disconnected but the Web Browser no longer works, unless I disable my proxy. I can't seem to get both of them to work at the same time.

    Leave a comment:


  • TJ_Tigger
    replied
    Re: %IsConnected% and proxy/firewall functions

    It is returning false, but I know that there is internet connectivity. I have tried a few different URLs to see if one would work better (Quicker) than the others. I can use IE to go to the web page just fine but it takes about 20-30 seconds to check the connection and returns FALSE to my screen. It is weird as well, but the ELSE option does not stay on the screen. It flashes and then disappears. Weird actions.

    Like I said, the same script on my Home PC works. There is nothing blocking port 80 outbound and web traffic is still port 80 at home, but my work PC which connects through a VPN and thus a firewall at work does not work. When I disconnect the VPN it does work so it leads me to believe that the %IsConnected% is not dynamic enough to take this type of a work environment into consideration.

    Should I make this a suggestion for a future release of AMS? The ability to use proxy information in the Check Internet Connection.

    Thanks
    Tigg

    Leave a comment:


  • Lorne
    replied
    Re: %IsConnected% and proxy/firewall functions

    I think it has a backup address that it uses if the one you supply fails...

    Leave a comment:


  • Derek
    replied
    Re: %IsConnected% and proxy/firewall functions

    Whats happening with errors Tig - I assume your getting FALSE returned?

    Is there a prob with IsConnected? ... coz mine is returning TRUE whatever address i put in [http://www.qpwoeiruty.com/] ... even if i leave it blank!

    Leave a comment:

Working...
X