Multicast firewall-proxy issues?

Hi all,
Are there any firewall issues I should keep in mind when deploying a multicasting application?
Thanks in advance,
Kind regards

Maybe I'm naive, but why would you write a multicasting application going onto a public network? Or put another way, where would you encounter a firewall unless you were trying to multicast onto a public network?

Similar Messages

  • Firewall/Proxy Server Issue

    I'm testing a new Flex/CF app. From my location it runs well
    on the production server. But from another location that is behind
    a Symantec firewall/proxy server, it runs unusably slowly. I'm
    using Flex remote object calls (Flash remoting) to communicate with
    CF. I don't know if the problem is related to that or simply
    something to do with Flash Player. Has anyone experienced this
    problem? I'm not a network administrator and am not familiar with
    Symantec firewalls so I'm not sure what to ask their network admin
    to try. Any advice would be greatly appreciated. Thanks.

    Did you add a new library in the project to include weblogic.jar from the WebLogic 6.1?
    What kind of a client is it?
    You can also try using the setting in the menu
    Tools | Preferences | Web Browser/Proxy
    to enable disable the proxy.

  • IWork '09 startup hang...proxy issue?

    iWork hangs at startup anytime that I launch the applications when I'm behind a firewall. I can reproduce this problem very easily by successfully starting up the application on home home network and encountering problems anytime I launch the applications under a VPN connection or at the office.
    Is iWork trying to check in with iwork.com at launch? If so, is there any way to disable this behavior or transparently handle the proxy issue without my having to edit preferences every time I switch network settings?
    Thanks for reading this!
    -Jamie

    I was able to eliminate the iWork '09 startup hang by properly configuring my global HTTP proxy. I ran "netstat -an" from the console during the hang and found that iWork was attempting to connect to one of the iWork.com servers at startup.
    Here's what I saw:
    hostname:~ username$ netstat -an
    Active Internet connections (including servers)
    Proto Recv-Q Send-Q Local Address Foreign Address (state)
    tcp4 0 0 192.168.0.194.52595 17.250.248.128.80 SYN_SENT
    tcp4 0 0 192.168.0.194.52594 17.250.248.105.443 SYN_SENT

  • Web Service authentication and PROXY Issue

    HI All,
    Recently I developed an application in Flex 2 which uses
    webservices to access remote data.One more point to be noted, that
    these webservices are secured( i.e they need username and password
    to access)
    I got a production server ( say
    myProduction server) and all my webservices are deployed on
    it. We have a SAP portal running on this server. I have created a
    PAR file of my applications .SWF file and hosted it on the portal.
    When I run my application from myProduction, it runs fine, no
    issues with it.
    Now, I have a proxy server ( say
    myProxy server), which is used to make my application
    available on the internet.
    This proxy redirects all the requests to myProduction server.
    When I try to run my application from myProxy Server, I am
    getting the following error:
    [RPC Fault faultString="Security error accessing url"
    faultCode=
    Channel.Security.Error"
    faultDetail="Unable to load WSDL". If currently online,
    please verify the URI and/or format of the WSDL (
    http://myProduction:50000/WS_Resource/Config1?wsdl&style=rpc_enc)"
    at mx.rpc.soap::WSDLParser/::dispatchFault()
    at mx.rpc.soap::WSDLParser/
    http://www.adobe.com/2006/flex/mx/internal::httpFaultHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at ::DirectHTTPMessageResponder/securityErrorHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
    Do I need any configuration files to be maintained? How do I
    resolve this proxy issue??
    myProxy server is not able to load the WSDL from
    myProduction.I am not usinfgFlex Data Services. I am directly
    accessing the services.
    If anyone knows about this issue please help me. Any help
    would be greatly appreciated.
    This issues has been unresolved since 15 days now.
    Thanks in advance

    Hi,
    I am not sure if what I am suggesting may be the source for
    the problem, but it could be that you will need a
    crossdomain.xml file deployed on your production server, so
    that it can accept the requests from the Portal. Also, I guess you
    will be using a
    flex-config.xml or
    services-config.xml. Just make sure that all server paths
    have been properly mapped to the values entered in the destination
    attributes of the WebService tags.
    I hope that helps.

  • Firewall / Proxy

    Hello, i'm new of this forum :-)
    I have a question about firewall/proxy tunnelling.
    I have build a little application with Socket Client on port 80,
    but it do not work on system that have firewall or proxy.
    So I have to convert my application to have the ability of work with firewall and proxy.
    To do it I have read more documentation about SPI,
    and I have decided to use URLConnection.
    If I open Socket and send content-type 'application/zip',
    and after that i send a ZIPPED version of "traffic" I think that my Socket
    can work with firewall and proxy.
    It's correct ?
    Thank you,
    darez

    From what I've read, although I've never had to use it, you can tell the JVM to use a proxy by using the -D parameter and passing values when you run you're program e.g for an web/http proxy you'd do something like .
    java -Dhttp.proxySet=true -Dhttp.proxyHost=192.168.1.100 -Dhttp.proxyPort=8888 myjavaprogram
    You can also save these settings in a properties file and read them from there apparently. As for being behind/confronted by a firewall - don't thing there's much you can do about that if it isn't going to let you through.

  • Openbox and proxy issues[Solved]

    I am using openbox as my wm. I am facing a proxy issue.
    I have added two functions in my .bashrc (based on https://wiki.archlinux.org/index.php/Proxy_settings):
    function proxyon(){
    echo -n "username:"
    read -e username
    echo -n "password:"
    read -es password
    export http_proxy="http://$username:$password@proxyserver:8080/"
    export ftp_proxy="http://$username:$password@proxyserver:8080/"
    echo -e "\nProxy environment variable set."
    function proxyoff(){
    unset HTTP_PROXY
    unset http_proxy
    unset FTP_PROXY
    unset ftp_proxy
    echo -e "\nProxy environment variable removed."
    but after login when i run the command 'proxyon' and then launch firefox from openbox menu, firefox doesn't pick up the env variables but if I launch firefox from the same shell where i run 'proxyon' command firefox picks up the variables perfectly.
    I have tried adding:
    export http_proxy="http://$username:$password@proxyserver:8080/"
    export ftp_proxy="http://$username:$password@proxyserver:8080/"
    to .bashrc directly still launching firefox from openbox menu doesn't pickup proxy settings.
    Also I want to know how do I add proxy exception for a perticular url.
    Last edited by jaideep_jdof (2011-01-31 11:00:05)

    Try adding them to .bash_profile. I think .bashrc is only read when launching a shell.
    Edit .bash_profile, then log out and log back in to test it.
    If nothing else works, you can write your own wrapper script for Firefox and launch it via the script in Openbox, e.g.
    #!/bin/bash
    export http_proxy="http://$username:$password@proxyserver:8080/"
    export ftp_proxy="http://$username:$password@proxyserver:8080/"
    firefox "$@"
    It might not be the most elegant solution, but it's the first thing that came to mind.

  • Java won't work - possible proxy issues?

    I was informed that one of our computers suddenly (from what I was told about 2 months ago) developed problems with Java. Said computer is on our dirty internet connection, so it's not readily checked or even updated. My colleagues looked at it, and evertually escalated the issue to me, since they couldn't figure it out. One specific website needs Java for some examinations, and it turned out Java just would present an error to the site.
    After spending an afternoon at the location, testing with the Java verification applet on the Java website, and finding myself unable to correct the problem, I build myself a small test machine to see if I could recreate the problem on something local. Turns out, I can, which makes testing a lot easier. Do note: We want another site (which requires a heap of logins) to work, so I'm using the Java verification applet to get me a quicker and easier way to verify if Java works.
    So, Got a clean install of Windows XP SP3, and updated to IE8. The machine is connected to the Internet through a proxy server based on FreeProxy which listens to port 2244 (note: this proxy has had NO changes in the aforementioned 2 months that I know of, or can trace within the proxy configuration). I can browse without any problems. Installed Java (7r51) on the system, and tried to verify the Java version.
    Unable to verify if Java is installed and activated on your browser.
    Ran all the Windows Updates (for XP, IE, .NET whatever version, and whatever more was available) Microsoft offers, just to make sure it's not in any of those. Still no go. Installed Google Chrome and Firefox to exclude the browser as a source of problems. None of the three browsers works with the Java verification applet, all resulting in the same message as stated above. Verified that Java is available in the browsers, and it is shown as available and active.
    Deinstalled Java, reinstalled. Used JavaRA to remove and then reinstall. Pulled the security down to medium. Wiped the local cache files. There is no virusscanner installed, so that can't be it. Disabled the Windows Firewall to exclude that as a cause. Used a second machine with Windows 7 just to exclude the OS as a culprit. Verified the 'Enable Java in web browser' setting in the Java control applet. Played with the proxy settings and the security settings in IE and under the Java control panel. Wiped Java out, manually ran through the registry to kill references, and wiped all the Sun folders from all profiles, aswell as the Java install folder before reinstalling. Installed Java 6r43 just to make sure. Nothing helped.. The error keeps coming back, and the Java verification keeps failing.
    The Java console which can help troubleshoot, seems to open while the Java icon shows up in the systemtray, but it quite rapidly (30 or 45 seconds) closes again, taking the Java console along with it, thus not giving me any logging to further see what's wrong here. So it seems Java is working, but runs into some problems along the way. About the only quick problems I spotted when I did manage to grab a copy of the log:
    network: Cache entry not found [url:http://www.java.com/en/download/JavaDetection_applet.jnlp, version: null]
    and
    java.io.IOException: Server returned HTTP response code: 403 for URL: https://java.com/en/download/JavaDetection_applet.jnlp
    My colleague noted that it did work on the other proxied network through the same proxy (just that that proxy is on a different NIC and listens to port 8080). We tried changing the proxy port for the network to 8080 on the actual PC on location, and found the problem remained. Just to make sure it worked on the other network, I reattached the PC to the other network, altered the proxy settings both under the IE options and Java control panel applet, only to see it exhibit the exact same behavior. So I'm dismissing my colleague, and assuming it has never really worked.
    Most of the internet solutions I can find refer to changing the code of the applet, but since I'm using a sanctioned Oracle applet, and Oracle software, I suppose I can assume it's been programmed well, and tested properly. Besides that, as a user of Java I have no direct influence on the actual code being used, so all those solutions aren't really helping me any.
    So I turn to this forum to see if anyone wants to have a guess at what is wrong here, and what I can do to either
    1) Solve the issue
    2) Provide some means to keep the Java console open or log to a file
    3) Think of anything I haven't tried yet, that may have a positive impact on the issue.
    Thanks in advance for your time, effort and help. Know that every response is already highly appreciated.

    Thanks for the response...
    I had a look about more logging on the proxy, and although http://www.handcraftedsoftware.org/index.php?page=faq&op=read&id=25 hints at a different program I might need to use (which has been removed of what I can see), the link http://www.handcraftedsoftware.org/index.php?page=faq&op=read&id=54 hints at there being some native logging I can use to verify what happens.
    As such I located the log settings, and fired up the test system to see if I could determine some more from the logs (and exactly what those logs would entail). The log does provide some insight in what it pulls from the Java website, but doesn't show much in regards to what is going wrong:
    Website:'www.java.com' URL:'/' From Client: 538 bytes To Client: 254 bytes
    Website:'www.java.com' URL:'/nl/' From Client: 586 bytes To Client: 2514 bytes
    Website:'www.java.com' URL:'/css/screen.css' From Client: 508 bytes To Client: 208 bytes
    Website:'www.java.com' URL:'/css/print.css' From Client: 506 bytes To Client: 205 bytes
    Website:'www.java.com' URL:'/css/ie.css' From Client: 502 bytes To Client: 207 bytes
    Website:'www.java.com' URL:'/js/popUp.js' From Client: 503 bytes To Client: 152 bytes
    Website:'www.java.com' URL:'/js/s_code_remote.js' From Client: 511 bytes To Client: 152 bytes
    Website:'www.java.com' URL:'/images/jv0_search_btn.gif' From Client: 516 bytes To Client: 182 bytes
    Website:'www.java.com' URL:'/js/global.js' From Client: 504 bytes To Client: 152 bytes
    Website:'www.java.com' URL:'/js/subtlePager.js' From Client: 510 bytes To Client: 152 bytes
    Website:'www.java.com' URL:'/images/jv0h.jpg' From Client: 509 bytes To Client: 185 bytes
    Website:'www.java.com' URL:'/images/jv0h_greenfoot.jpg' From Client: 518 bytes To Client: 184 bytes
    Website:'www.java.com' URL:'/images/jv0h_academy.jpg' From Client: 516 bytes To Client: 185 bytes
    Website:'www.java.com' URL:'/images/jv0h_java.jpg' From Client: 513 bytes To Client: 185 bytes
    Website:'www.java.com' URL:'/im/a.gif' From Client: 499 bytes To Client: 182 bytes
    Website:'www.java.com' URL:'/images/jv0h_alice.jpg' From Client: 514 bytes To Client: 185 bytes
    Website:'www.java.com' URL:'/images/jv0h_javamag.jpg' From Client: 516 bytes To Client: 185 bytes
    Website:'www.java.com' URL:'/images/jv0h_bluej.jpg' From Client: 514 bytes To Client: 185 bytes
    Website:'www.java.com' URL:'/images/jv0dl_a.png' From Client: 511 bytes To Client: 184 bytes
    Website:'www.java.com' URL:'/images/jv0_oracle.gif' From Client: 513 bytes To Client: 183 bytes
    Website:'www.java.com' URL:'/js/metrics_group1.js' From Client: 514 bytes To Client: 153 bytes
    Website:'oracle.112.2o7.net' URL:'/b/ss/sunjava/1/H.19.4/s98129805908124' From Client: 872 bytes To Client: 663 bytes
    Website:'www.java.com' URL:'/nl/download/installed.jsp' From Client: 881 bytes To Client: 2961 bytes
    Website:'www.java.com' URL:'/im/ic_tipblue20x20.png' From Client: 776 bytes To Client: 183 bytes
    Website:'www.java.com' URL:'/images/jv0_sidebar_bg.gif' From Client: 779 bytes To Client: 183 bytes
    Website:'www.java.com' URL:'/images/jv0_sidebar_subhead.gif' From Client: 784 bytes To Client: 183 bytes
    Website:'oracle.112.2o7.net' URL:'/b/ss/sunjava/1/H.19.4/s97891718594365' From Client: 1156 bytes To Client: 663 bytes
    Website:'www.java.com' URL:'/nl/download/installed.jsp' From Client: 989 bytes To Client: 3657 bytes
    Website:'oracle.112.2o7.net' URL:'/b/ss/sunjava/1/H.19.4/s98995092053347' From Client: 1247 bytes To Client: 662 bytes
    Website:'www.java.com' URL:'/nl/download/installed.jsp' From Client: 947 bytes To Client: 2866 bytes
    Website:'oracle.112.2o7.net' URL:'/b/ss/sunjava/1/H.19.4/s96218056013586' From Client: 1088 bytes To Client: 663 bytes
    At around that same time I got the following notice in the connection log, which does seem to hint at a problem somewhere:
    #11004: WSANO_DATA: Valid name, no data record of requested type.  H:02424 F:'HCSNTSocket_ResolveHostName' A:'gethostbyname' T:'Return=11004.'
    Other then that I have not received any other logs (despite me enabling all of them, or any other notice that may indicate the cause of the problem. I will be leaving the settings in the proxy in regards of logging, just to see if any other logs are going to crop up.
    I did post this to the Proxy-forum too to see if someone could help in determining what exactly the log is saying.

  • Send a request using Http(s)URLConnection through proxy issue

    Hi all,
    Here are system environment,
    OS: Ubuntu 12.04
    Java version: 1.6.0_27
    OpenJDK Runtime Environment (IcedTea6 1.12.4) (6b27-1.12.4-1ubuntu1)
    OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
    There are 3 roles introduction as below:
    1. A https client: It can not direct connect to https server. Because it is restricted in a enclosed network environment just like intranet(ip is 10.100.11.8).The only way out is proxy server.
    2. A proxy server: Locate between https client and https server. It have two network interfaces(ip are 10.100.11.10 and 192.168.11.10)
    3. A https server: It is on extranet(ip is 192.168.11.123) and it also cannot connect to https client directly.
    The other network environment setup is: There is no DNS server on https client network environment.
    The following is part of https client code section:
            public static void main(String args[]){
               String proxyIp ="10.100.11.10";// proxy server IP
               testConn(proxyIp);
            private static void testConn(String proxyIp){
                    String httpsURL="https://192.168.11.123:8443/httpsServices";
                    setSSLContext();// I thought this is not root cause so I do not post on
                    try{
                      InetAddress intIPAdd= InetAddress.getByAddress(convStrToByte(proxyIp));
                      InetSocketAddress proxyInetAddr = new InetSocketAddress(intIPAdd,80);
                      Proxy proxy = new Proxy(Proxy.Type.HTTP, proxyInetAddr);
                      URL httpsUrl = new URL(httpsURL);
                      HttpsURLConnection httpsCon = (HttpsURLConnection) httpsUrl.openConnection(proxy);
                      httpsCon.setDoOutput(true);
                      httpsCon.setDoInput(true);
                      httpsCon.setRequestMethod("POST");
                      httpsCon.setDefaultUseCaches(true);   
                      httpsCon.setUseCaches(true);
                      System.out.println("Get OutPutStream start!");
                      OutputStream out = httpsCon.getOutputStream(); // or httpsCon.connect();
                      System.out.println("Get OutPutStream done!");
                      OutputStreamWriter owriter = new OutputStreamWriter(out);
                      owriter.write("<request>test</request>");
                      owriter.flush();
                      owriter.close();
            private static byte[]  convStrToByte(String ip){
            String str[] = ip.split("\\.");
            byte[] ipAry = new byte[str.length];
              for(int i=0;i<str.length;i++){
                ipAry[i] = (byte) Integer.parseInt(str, 10);
    return ipAry;
    All right, my problem is, while print out "Get OutPutStream start" untill "Get OutPutStream done", it always takes about 5 secs.
    No Error or exception. It was just hanging there approx 5 secs.
    I observed the packets flow with wireshark.
    Found out that hang time is to send a multicast to ask MDNS the proxy IP. No one reply this message. It would ask 3 times and then send request to proxy.
    About https trust and authentication issue. I use *All Trust* solution. because https server use self-signed CA by myself.
    If need, I would update this post with code section of setSSLContext() part.
    I wondering to know that I create proxy object using *InetSocketAddress(InetAddress addr, int port)*, or I create proxy ip instance using *public static InetAddress getByAddress(byte[] addr)* why it would ask to MDNS for proxy ip?
    On normal concept, I give an ip address and it do not need to resolve this ip for domain name.
    Check InetAddress getByAddress(byte[] addr) of JAVA SE6 API:
    It says: 'This method doesn't block, i.e. no reverse name service lookup is performed.'
    What can I do to let https client don't need to ask MDNS?
    Thank you guys so much.
    Edited by: 1002346 on 2013/4/29 上午 12:05                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Java does reverse DNS lookups for security reasons. Not sure you can disable it but if you can it will be described on the Networking Properties page.

  • Proxy Issue in Ipad

    Hello Everyone,
    I bought an Ipad2 around a month back and it was working absolutely fine on my wifi at home, till I joined the university. Here in my university we have proxy settings in place for the internet. I successfully managed to set up the proxy settings on ipad. But the issue is that I can just browse Internet on Safari and cannot do anything else.
    For instance, when I open Maps, it works fine but doesn;t give me my location giving the error "Cannot determine location". Earlier, without proxy settings it was working fine.
    When I open Mail, it says that "imap.google.com is not responding" ,while this was working fine too without proxy settings at home.
    Also, when i acess the App Store, it works fine but when I download any app it gives the error "Cannot connect to Itunes store"
    I tried to google this problem alot, but couldnt find a suitable answer. Please help me solvce this problem as Ipad is totally useless if mail, maps and appstore do not work
    Mohsin

    I don't know if you read this support/troubleshooting article from Apple ....
    iTunes: Advanced iTunes Store Troubleshooting
    http://support.apple.com/kb/ts3297
    But with a very quick read in the first part of the article - it seems like it may be a firewall issue .... I am by no means an expert on this and my knowledge on this is very limited but I think this makes a certain amount of sense in your case - at least with regard to the iTunes Store.
    This may be an issue that you need to resolve with your IT department at the university
    Isolate the issue: (Mac OS X, Windows, iOS)
    Make sure the issue is with the iTunes Store only. (You need an Internet connection to access the iTunes Store).Open a secure website to test if you are online as is necessary for the iTunes Store. This also tests if the main ports 80 and 443 are accessible. If the website works but the iTunes Store does not, it is most likely a firewall blocking the iTunes software or servers. If this is the case, follow the steps in the "Blocked by software firewall" section below.

  • Flash behind corporate Firewall/proxy

    Hello,
    I work for part of the NHS in Scotland.  we are having issues with some flash content, bbc news website being an example.  We proxy all requests, and the bbc website flash content isnt being displayed.  My network guys have checked the proxy logs, and we see a direct connection out to the internet, which fails at the firewall.
    From what I read, this is normal for flash, that it doesnt use the system proxy settings.  Whats confusing us is that the proxy logs show in some cases a direct connect request which fails, followed by a request for the same content via the proxy. 
    I'm trying to explain to customers why we cant get certain content, and the above seems inconsistent. 
    Is anyone able to explain the above behaviour?  Why does some content pass via the proxy, and some fail?
    Many thanks.
    Scott

    Cotton_Pete please point your I.T. department to the Adobe Creative Cloud Service Access Documentation for IT section at    http://www.adobe.com/devnet/creativesuite/enterprisedeployment.html.  They can find documentation which will allow your I.T. department to properly configure your network for Adobe subscription and perpetual products.

  • ABAP Inbound Proxy issue

    Hi All,
    I have a file to ABAP Inbound proxy scenario for creating vendor in SAP.
    When I execute from SPROXY test tab, vendor is created in SAP.
    But when i test end to end i.e by feeding the file adapter with the vendor file i don't see the vendor creating in SAP.
    The message is successful in PI moni and in ABAP moni. Cant see any errors
    Appreciate your inputs in this solving this please
    Keerthi

    >
    Keerthika R wrote:
    > The message is successful in PI moni and in ABAP moni. Cant see any errors
    Hello Keerthi,
    I was facing the same issue. I found that we can use SXMB_MONI and SMQ2 in the SAP side as well (Backend ABAP System where the Server Proxy is created). If you are able to see the messages in SXMB_MONI of the ERP system then your proxy is working fine however, have problems in ERP System. Follow through the error message it will be easy for you to perform error analysis.
    You can ignore if you have already done it!
    Thanks & Regards,
    Anand Patil

  • HTTPS with Applet over Proxy Issue

    An applet using HttpURLConnection within a Java Applet. The Connection is formulated as follows:
    HttpURLConnection urlConn = (HttpURLConnection)destURL
                             .openConnection( );
    urlConn.setDoOutput( true );
    urlConn.setDoInput( true );
    urlConn.setUseCaches( false );
    urlConn.setAllowUserInteraction( false );
    urlConn.setRequestProperty( "Content-type","multipart/form-data" );
    urlConn.setRequestProperty( "Content-length","" + parameters.length( );This works fine with numerous proxy servers and other network
    topologies, except one. The issue I am told occurs when we are trying to
    connect over https. For background, my understanding is this causes the Java Plug-in to :
    * invoke the http CONNECT command
    * wait for the 200 OK indicating that the secure tunnel is established
    * then send the request securely.
    Doing a packet trace shows that the headers set in the code are
    actually being included with the CONNECT. However the Java Plug
    (1.4.2_06) does not sent the body with the CONNECT. I am told this
    causes the proxy to wait for an entity that never arrives, because, on
    the other end, the plug-in is waiting for 200 OK. After 8 secs the
    plug-in resets the connection and fails.
    Packet traces on other proxies show the same content-length header being
    included, but they decide ignore it. From Googling I note some folks
    claim that this is expected, because CONNECT is non-entity enclosing.
    Doc's are scant on the CONNECT command. In some cases they seem to imply
    that no data should go with the CONNECT (making it non-entity
    enclosing), but later they state it supports data-pipelining, making the
    content-length relevant, as the CONNECT may well contain an entity.
    Moreover, is the intent of Applet Framework to insulate the programmer
    from having to worry about issues like this? For example this Applet can
    and does connect to a myriad of HTTP/1.1 or 1.0 server through a proxy
    or not; in the case of no proxy or non secure proxy, the content-length
    header is valid as the request goes out in one go with associated
    headers. So writing the code as above, does not seem to be inherently
    flawed, IMO. <-- And that is a question too :).
    I note there is an isProxy() method, but this can only be determined
    after connection (obviously) and parameters cannot be changed once the
    connection is made. So creating a dummy connection first is possible I
    suppose, but it seems a slippery slope to start coding for exceptions
    like this, unless absolutely necessary.
    On the face of it, it could be argued that this appears to be a bug in
    the plug-in but with very little hits in google I am doubtful. To that
    end, does anyone have any thoughts or experience with either working
    around the problem (it would seem to be a pity to have to have a setting
    per client), or whether in fact this proxy server is being too draconian
    in its interpretation.
    Thanks in advance,
    Gary
    Refs:
    RFC2616
    http://www.web-cache.com/Writings/Internet-Drafts/draft-luotonen-web-proxy-tunneling-01.txt

    Pardon my ignorance about proxies, but how do you tell the plug-in that there is a proxy in between you and the destination?
    The reason I ask is because with the https protocol, the first thing that happens is that an SSL connection is set up between the endpoints, and only after, through this secure tunnel, is the GET request or whatever sent. The proxy never gets to see any of the HTTP headers.

  • 10.1.3.3 JDev web service client proxy: Issue with XSD:anySimpleType

    Hi,
    One of our Web services XSD elementss has "anySimpleType" as the type:
    <xsd:element name="Value" type="xsd:anySimpleType" minOccurs="0" nillable="true"/>
    The client proxy is generated using JDev 10.1.3.3. We observed that the corresponding Java object is created with "String" data type:
    protected java.lang.String value;
    exp.setValue("100");
    We need to be able to pass arguments with other simple types as well (E.g. Decimal). We tried changing the auto generated code, but weren't successful.
    Any pointers in this regard are much appreciated.
    Thanks,
    Phani

    Hi all,
    can anyone please respond to my issue. Its sort of urgent.
    thanks,

  • WEB Proxy issue after Mountain Lion Update

    I had MAC OS X 10.6.8 on  my Mac mini before I updated it with MAC OS X 10.8. To connect to Internet we have some proxy setting in our company for which secure web proxy server is mentioned for web proxy and secure web proxy options in advanced setting of network preferences. Now after update I can only access safari web browser. For other browsers like Chrome and Firefox popup asking for authentication keep on popping up even after entering correct details. It's become quite irritating not to be able to surf on chrome. Please tell me how to solve it.

    Hi no real idea on this, but many Network connectivity issues have been solved by this...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    Click OK.
    Also, turn off IPv6:
    System Preferences » Network » AirPort » TCP/IP tab » Configure IPv6
    Or whatever Interface you use.

  • Mail.app in 10.4.7: SOCKS proxy issues again...

    Hi,
    Today I've updated my PowerBook to MacOS X 10.4.7. All the process was fine, but Mail didn't connect to any server. After reading some posts in this forum I've unmarked the SOCKS proxy settings in the Network pref. pane, and I've recovered the 10.4.6 functionallity. So at least I can work.
    When I'm at office, we have an Exchange server with direct access in the network ( is because this that proxy is not needed ). Also a proxy server controls the Internet access.
    What is not working in Mail ( or I don't know how to use it ) now is the following:
    - Local access to Exchange server is only possible using a POP account. An Exchange account doesn't work because is always asking the password.
    - I need to disable the SOCKS proxy to be able to access the local mail server. So the 'Bypass proxy settings' in the Network preference pane seems to not work ( I've tried all kind of syntaxs: *.domain, server.domain, IP address, etc. )
    - With the SOCKS proxy settings active in my corporate network, I cannot access external mail accounts in external servers. I've tried IMAP and POP accounts with the same result: nothing. This is the same issue than in previous version of Mail.app.
    So waiting again for a Mail patch...
    Regards,
    Joan B. Altadill
    PowerBook 17   Mac OS X (10.4.6)   10.4.7 !!!!!
    PowerBook 17   Mac OS X (10.4.6)   10.4.7 !!!!!

    Hi,
    Today I've updated my PowerBook to MacOS X 10.4.7. All the process was fine, but Mail didn't connect to any server. After reading some posts in this forum I've unmarked the SOCKS proxy settings in the Network pref. pane, and I've recovered the 10.4.6 functionallity. So at least I can work.
    When I'm at office, we have an Exchange server with direct access in the network ( is because this that proxy is not needed ). Also a proxy server controls the Internet access.
    What is not working in Mail ( or I don't know how to use it ) now is the following:
    - Local access to Exchange server is only possible using a POP account. An Exchange account doesn't work because is always asking the password.
    - I need to disable the SOCKS proxy to be able to access the local mail server. So the 'Bypass proxy settings' in the Network preference pane seems to not work ( I've tried all kind of syntaxs: *.domain, server.domain, IP address, etc. )
    - With the SOCKS proxy settings active in my corporate network, I cannot access external mail accounts in external servers. I've tried IMAP and POP accounts with the same result: nothing. This is the same issue than in previous version of Mail.app.
    So waiting again for a Mail patch...
    Regards,
    Joan B. Altadill
    PowerBook 17   Mac OS X (10.4.6)   10.4.7 !!!!!
    PowerBook 17   Mac OS X (10.4.6)   10.4.7 !!!!!

Maybe you are looking for