Setting the proxy in the JRE
Hello all,
I was just wondering how I can set the proxy I use in the JRE. If possible how I can set the auto configuration script but failing that setting the proxy server and port number would be fine.
Thanks
You can set the properties http.proxyHost and http.proxyPort (see http://java.sun.com/j2se/1.4/docs/guide/net/properties.html). If you need to authenticate take a look at http://www.developer.com/java/other/article.php/1551421
Similar Messages
-
Where do I put the proxy in the setting of Mail?
I am usine internet on my working office, nad I cannot get my mails with Mail, because I need to add a proxy. So I add the proxy in the set up but the port 993 SSL is not ok. What should I put? thanks
if (slotnumber1 == slotnumber2 && slotnumber2 == slotnumber3)
System.out.println("All of the numbers are the same!");
else
if (slotnumber1 == slotnumber2 || slotnumber2 == slotnumber3)
System.out.println ("2 of the numbers are the same.");
else
if (slotnumber1 != slotnumber2 || slotnumber1 != slotnumber2 || slotnumber2 != slotnumber3)
System.out.println("None of the numbers are the same");Sorry i saw the mistake in my code for this bit.
Fixed that...still confused about ethe loop + how to run it again if the user puts y/n to run again...
Thanks, ps2cho -
Detect the proxy and the port number automatically
Hello,
Can someone provide me with an example how to detect the proxy host name and the port automatically?
Thanks in advance,Hello,
If you create different desktop, phone and tablet sites in Muse, then they redirect automatically to the appropriate site when accessed from different devices, nothing needs to be done to make them redirect correctly.
Hope this helps.
Cheers
Parikshit -
How to set a proxy in the KNetworkManager?
Hey!
In the university, I usually to connect in a wi-fi network that has a proxy to acess the internet. Is there a way to change the system proxy automatically, so I connect?
Thanks!
Last edited by Uchiha (2011-09-09 11:21:11)I don't think that is possible at the moment, you can only set proxies in the main network settings panel of system settings.
-
How to set a proxy for the azure-cli tool?
I'm behind a corporate proxy: how can I configure the azue-cli tool to use our corporate proxy? Cannot find any information online and on the documentation.
Thank you
SimoneI suggest you having a look at this article
http://dunnry.com/blog/2010/01/25/SupportingBasicAuthProxies.aspx, hope this helps. -
How to set proxy for the programme
Hello Everyone
I am learning Java Network programming. My connection to Internet has a proxy. When I use URL class to download the information from Internet, it cannot work. I think maybe I have not set the proxy in the programme. Does anybody know how to set it?
Best wishes
Aaron Cui LuSystem.getProperties().put( "proxySet", "true" );
System.getProperties().put( "proxyHost", "proxyMachineName/IP" );
System.getProperties().put( "proxyPort", "proxyPort" ); -
Problems with the Proxy Programme--Please help
Hi All,
I have written a simple proxy server in the form of a servlet. I changed the proxy config of my browser to connect to this servlet hosted on the default context(http://localhost:8080) of the Tomcat 5.0.25 . Well , this servlet internally connects to the proxy of the corporate LAN . The logic that I have applied is as follows. The servlet gets the request from the client (ie the browser in this case) , extracts the headers and contents from the request, sets them to a new request that it forms and finally send this new request to the proxy. When the proxy responds, the servlet collects the response headers and contents adn writes them in its response. To sum up , this servlet transparently carries the requests and responses between the client(browser) and the corporate LAN proxy. Now the problem is this. Let's say , now I am accessing http://www.google.com.The browser sends a request to my servlet with the following headers as they are extracted by my servlet.
ProxyServer:::>posting request
ProxyServer:::>headerValue::> headerName = accept : headerValue=*/*
ProxyServer:::>headerValue::> headerName = referer : headerValue=http://www.google.com/
ProxyServer:::>headerValue::> headerName = accept-language : headerValue=en-us
ProxyServer:::>headerValue::> headerName = proxy-connection : headerValue=Keep-Alive
ProxyServer:::>headerValue::> headerName = user-agent : headerValue=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; UB1.4_IE6.0_SP1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
ProxyServer:::>headerValue::> headerName = host : headerValue=www.google.com
ProxyServer:::>headerValue::> headerName = cookie : headerValue=PREF=ID=1be27c0a74f198ca:TM=1082058853:LM=1082058853:S=bu6ORrygzm8AUkm8
ProxyServer:::>postRequest
I set these headers into a new connection opened to the proxy and post a fresh request to the proxy,which, in turn responds with the following headers.
ProxyServer:::>posted request successfully
ProxyServer:::>writing response
ProxyServer:::>writeResponse-->headerName = Proxy-Connection : headerValue = [close]
ProxyServer:::>writeResponse-->headerName = Content-Length : headerValue = [257]
ProxyServer:::>writeResponse-->headerName = Date : headerValue = [Tue, 13 Jul 2004 14:01:40 GMT]
ProxyServer:::>writeResponse-->headerName = Content-Type : headerValue = [text/html]
ProxyServer:::>writeResponse-->headerName = Server : headerValue = [NetCache appliance (NetApp/5.5R2)]
ProxyServer:::>writeResponse-->headerName = Proxy-Authenticate : headerValue = [Basic realm="Charlotte - napxyclt2"]
ProxyServer:::>writeResponse-->headerName = null : headerValue = [HTTP/1.1 407 Proxy Authentication Required]
ProxyServer:::>writeResponse exiting
ProxyServer:::>wrote response successfully
I write these headers back to the client. According to what I was thinking, the client ie the browser would open a new dialog box asking for username/password owing to the presence of the "Proxy-Authenticate " header. But it does not happen that way. Rather the browser stops responsding and displays a blank page. Does anyone know why it happens this way? I am pasting the server prog below for everybody's reference.
package server.proxy;
//import all servlet related classes
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
import java.io.*;
import java.net.*;
import server.resources.*;
//My Proxy server --->Currently it is very simplea and relies on
//other proxy servers of an already connected network.
public class ProxyServer extends HttpServlet
//stores the resource bundle
private ServerResBundle resBundle = null;
//checks for the mode of operation
private boolean proxySet = false;
private String proxy = null;
//storing the original System out/err etc
private PrintStream sysOutOrig = null;
private PrintStream sysErrOrig = null;
private InputStream sysInOrig = null;
//initialise certain features that are required later
public void init() throws ServletException
try
//initialise the resource bundle
this.initResBundle();
System.out.println("ProxyServer:::>res bundle init");
//set the mode of operation
this.setMode();
System.out.println("ProxyServer:::>mode set");
//set the system out and err --System.setOut etc
this.setSystemOutErr();
System.out.println("ProxyServer:::>in/out/err set");
}//End try
catch(Exception e)
System.out.println("Exception in init..."+(e.getMessage()));
throw new ServletException(e);
}//Edn
catch(Throwable e)
System.out.println("Irrecoverable Error...");
throw new ServletException(e);
}//End
}//End init
//method to init the resource bundle;
private void initResBundle()
this.resBundle = ServerResBundle.getBundle();
}//End
//method to set the mode of the server--proxy or direct
private void setMode()
//read the target proxy property from the bundle and
//if it is set,take that URL
String temp = (String)(this.resBundle.getResource(ResKeys.PROXY_SERVER));
if ( (temp != null) && (temp.length() > 0) )
this.proxySet = true;
this.proxy = temp;
temp = null;
}//End
}//End
//method to set the system out and err etc
private void setSystemOutErr() throws Exception
//keep a copy of the original system out and error
this.sysOutOrig = System.out;
this.sysErrOrig = System.err;
try
//read the options adn if they are set, take the values directly
String newOutStr = (String)(this.resBundle.getResource(ResKeys.SYSTEM_OUT));
String newErrStr = (String)(this.resBundle.getResource(ResKeys.SYSTEM_ERR));
if ((newOutStr != null) && (newOutStr.length() > 0))
System.setOut(new PrintStream(new FileOutputStream(new File(newOutStr),true),true));
}//End if
if ((newErrStr != null) && (newErrStr.length() > 0))
System.setErr(new PrintStream(new FileOutputStream(new File(newErrStr),true),true));
}//End if
}//End
catch(Exception e)
//restore the stuff
System.setOut(this.sysOutOrig);
System.setErr(this.sysErrOrig);
}//End
}//End
//this is where the proxy functionalities will be embedded
public void service(HttpServletRequest req,HttpServletResponse resp)
throws ServletException,java.io.IOException
//conenction URL
URL target = null;
//conenction to the remote object
URLConnection targetConn = null;
//stores the OOS and the OIS
ObjectOutputStream oos = null;
ObjectInputStream ois = null;
try
//check for the mode of operation
if (proxySet)
URLConnection objects go through two phases: first they are created, then they are connected.
After being created, and before being connected, various options can be specified
(e.g., doInput and UseCaches). After connecting, it is an error to try to set them.
Operations that depend on being connected, like getContentLength, will implicitly perform the connection,
if necessary.
//for the URL to the proxy
target=new URL(this.proxy);
//conenct to the proxy
targetConn = target.openConnection();
//set the details of the connectuon
targetConn.setDoInput(true);
targetConn.setDoOutput(true);
targetConn.setUseCaches(false);
// If true, this URL is being examined in a context in which it makes sense to allow user interactions such as popping up an authentication dialog. If false, then no user interaction is allowed
targetConn.setAllowUserInteraction(true);
//connect to the remote object
// targetConn.connect();//call this only when all the request properties are set
System.out.println("ProxyServer:::>posting request");
//post the received request to the URL
this.postRequest(targetConn,req);
System.out.println("ProxyServer:::>posted request successfully");
System.out.println("ProxyServer:::>writing response");
//receive the response
//write the received response to the client
this.writeResponse(targetConn,resp);
System.out.println("ProxyServer:::>wrote response successfully");
}//End if
else
//currently this functionality is not supported
throw new ServletException(
(String)(this.resBundle.getResource(ResKeys.ERR_FUNC_NOTSUPPORTED)));
}//End
}//End try
catch(Exception e)
if(e instanceof ServletException)
throw (ServletException)e;
}//End
if (e instanceof IOException)
throw (IOException)e;
}//End
//wrap it up in ServletException
throw new ServletException(e);
}//End
}//End
//method to write the response back to the client
private void writeResponse(URLConnection targetConn,HttpServletResponse resp)
throws ServletException
//get all the header fields from the response connection and set them to the
//response of the servlet
Map headerFields = null;
Iterator headerFieldEntries = null;
Map.Entry header = null;
//stores the input stream to the conn
BufferedReader brConn = null;
//stores the writer to the response
PrintWriter prResp = null;
//checks if the proxy authentication needed or not
boolean proxyAuthReqd = false;
try
//juste ensuring that the proxy authentication is reset
proxyAuthReqd = false;
if( (targetConn != null) && (resp != null) )
//Returns an unmodifiable Map of the header fields.
//The Map keys are Strings that represent the response-header field names.
//Each Map value is an unmodifiable List of Strings that represents the corresponding
//field values
headerFields = targetConn.getHeaderFields();
//Returns a set view of the mappings contained in this map
Set temp = headerFields.entrySet();
//Returns an iterator over the elements in this set
headerFieldEntries = temp.iterator();
if (headerFieldEntries != null)
while (headerFieldEntries.hasNext())
Object tempHeader = headerFieldEntries.next();
if (tempHeader instanceof Map.Entry)
header = (Map.Entry)tempHeader;
Object headerName = header.getKey();
Object headerValue=header.getValue();
System.out.println("ProxyServer:::>writeResponse-->headerName = "+headerName+" : headerValue = "+headerValue);
//do not select the key-value pair if both the key adn the value are null
if ( ( headerName == null) && (headerValue == null) )
continue;
}//Enmd
if (headerValue != null)
List headerValList = null;
if (headerValue instanceof List)
headerValList = (List)headerValue;
}//End
if(headerValList != null)
for (int i=0;i<headerValList.size();i++)
Object headerValueStr = headerValList.get(i);
if (headerValueStr instanceof String)
//note that the header-key can not be null for addHeader
//I have made this temporary provision to make the programme work.
resp.addHeader(( (headerName==null)? ("null_header"+i) :(String)headerName),
(String)headerValueStr);
//check if the proxy authentication required or not
if (((String)headerValueStr).
indexOf(resp.SC_PROXY_AUTHENTICATION_REQUIRED+"") != -1)
System.out.println("ProxyServer:::>writeResponse-->proxy auth needed");
//proxy authentication is needed
proxyAuthReqd = true;
}//End
}//Ednd of
else if (headerValueStr == null)
resp.addHeader(( (headerName==null)? null :(String)headerName),
null);
}//End
}//End for
}//End if
}//End if
}//End
}//End while
}//End if
//get the writer to the client
prResp = resp.getWriter();
System.out.println("ProxyServer:::>writeResponse-->proxyAuthReqd="+proxyAuthReqd);
//juste test a simple header
System.out.println("Proxy-Authenticate = "+(resp.containsHeader("Proxy-Authenticate")));
//if the proxy asks you for authentication,pass on the same to the client
//from whom you have received the request.When this flag is true,the connection
//is closed by the remotehost adn hence any attempt to open in input steram
//results in an error ie IOException
if (!proxyAuthReqd)
//now get the content adn write it to the response too
brConn = new BufferedReader(new InputStreamReader(
targetConn.getInputStream()));
String tempStr = null;
while ((tempStr = brConn.readLine())!=null)
prResp.println(tempStr);
}//End while
//close the connections
brConn.close();
}//End if
else
prResp.println("Proxy Authentication needed...");
}//End
//close the streams
prResp.flush();
prResp.close();
}//End if
System.out.println("ProxyServer:::>writeResponse exiting\n");
}//End try
catch(Exception e)
throw new ServletException(e);
}//End
}//End
//method to post request to the internet
private void postRequest(URLConnection targetConn,HttpServletRequest req)
throws ServletException
//extract the header parameters and the body content from the incoming request
//and set them to the new connection
Enumeration reqHeaders = null;
//reads the incoming request's content
BufferedReader brReqRd = null;
PrintWriter prResWt = null;
//stores temp header names and values
String headerName = null;
String headerValue = null;
try
if( (targetConn != null) && (req != null) )
reqHeaders = req.getHeaderNames();
//extract a header adn set it to the new connection
while (reqHeaders.hasMoreElements())
headerName = (String)(reqHeaders.nextElement());
headerValue = req.getHeader(headerName);
targetConn.setRequestProperty(headerName,headerValue);
System.out.println("ProxyServer:::>headerValue::> headerName = "+headerName+" : headerValue="+headerValue);
}//End
System.out.println("ProxyServer:::>postRequest\n");
//establis the actual connection
//calling this method bfore the above loop results in IllegalStateException
targetConn.connect();
//NOTE : try reading from and writing into OIS and OOS respectively
//now read the contents and write them to the connection
// brReqRd = req.getReader(); //this hangs for some reason
brReqRd = new BufferedReader(new InputStreamReader(req.getInputStream()));
System.out.println("Got the reader..brReqRd = "+brReqRd);
if (brReqRd != null)
String temp = null;
//establish the printwriter
// prResWt = new PrintWriter(targetConn.getOutputStream(),true);
prResWt = new PrintWriter(targetConn.getOutputStream());
System.out.println("trying to read in a loop from brReqRd.. ready="+(brReqRd.ready()));
while( (brReqRd.ready()) && ((temp=brReqRd.readLine()) != null) )
System.out.println("In while::>temp = "+temp);
prResWt.println(temp);
}//Emd while
//close the streams adn go back
brReqRd.close();
prResWt.flush();
prResWt.close();
}//End
}//End outer if
System.out.println("ProxyServer:::>postRequest exiting\n");
}//End try
catch(Exception e)
throw new ServletException(e);
}//End
}//End
}//EndHi serlank ,
Thanks for your reply. Well , I initially I thought of not pasting the code,as it was too long. But I could not help it,as I thought I must show in code what I exactly meant. That's why I followed a description of my problem with the code. You could probably have copied the code and pasted it in one of your favourite editors to take a look at it. Did you,by any chance, try to read it on the browser? And as regards reposting the same message, I can say that I did it as I felt the subject was not quite appropriate in the first posting and I was not sure as to how I could delete/alter the posting. I am not asking for a code-fix,but some suggestions from some one who might ever have come across such a thing.Anyway, lemme know if you have any idea on it. Thanks... -
Hi, I am trying to use "Remote Resources" on the current version of the Microsoft Remote Desktop for Android app, I can input the webfeed and it even shows the apps that I have configured on the server for "Remote App", sadly whenever
I try to load any of the RemoteApps, I receive an error stating " A problem with the system proxy caused the connection to fail. End of File".
I don't know what I can do to fix this, I've tried many things to no avail, also, normal Remote Desktop connections from the Microsoft Android app work flawlessly to the server.
The relevant log is the following:
[2014-Jan-09 04:40:54] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
[2014-Jan-09 04:40:54] RDP (0): Final rdp configuration used: memory bookmark [
label
hostname DIAZSERVER
port 3389
loadbalanceinfo
ui.swapmousebutton false
remote.program ||ZWaveUtil
remote.workingdirectory
remote.name ZWave Adapter Utility
remote.args
rail true
soundmode 0
connect_to_console false
redirectsdcard true
performance_flags 134
arc.sessionid 0
anonymous_username
authentication_level 2
use_redirection_server_name false
username administrator
gateway [
host = DIAZSERVER
port = 443
bypass = false
connect info[
hostnames = [localhost]
gatewayHost = DIAZSERVER
gatewayPort = 443
routingToken = Cookie: mstshash=administrator
redirectionGUID =
proxyHost = 200.5.68.10
proxyPort = 8080
sessionId = -1
[2014-Jan-09 04:40:54] RDP (0): Using HttpConnect proxy at 200.5.68.10:8080
[2014-Jan-09 04:40:54] RDP (0): Using Basic Authentication with username ''
[2014-Jan-09 04:40:54] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
AsioEndpointContext (0): startup(): starting up down context
[2014-Jan-09 04:40:54] RDP (0): Resolved '200.5.68.10' to '200.5.68.10' using NameResolveMethod_DNS(1)
[2014-Jan-09 04:40:54] RDP (0): Resolved '200.5.68.10' to '200.5.68.10' using NameResolveMethod_DNS(1)
ASIOSocketAdapter (9): readSomething error. message: End of file. instance: 0x5d39d5c0
RpcOverHttp (9): Stream error in endpoint 0x5abbc170 : A problem with the system proxy caused the connection to fail: End of file
[2014-Jan-09 04:40:55] RDP (0): Error message: A problem with the system proxy caused the connection to fail: End of file
[2014-Jan-09 04:40:55] RDP (0): Error message: A problem with the system proxy caused the connection to fail: End of file
[2014-Jan-09 04:40:55] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
ASIOSocketAdapter (9): handleRead(): exception: Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
User Message : Failed to read from channel: -1. instance: 0x5d39d5c0
[2014-Jan-09 04:40:55] RDP (0): Disconnect initiated by client
RpcOverHttp (9): Exception in endpoint 0x5abbc170 : Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
User Message : A problem with the system proxy caused the connection to fail: Failed to read from channel: -1
[2014-Jan-09 04:40:55] RDP (0): Exception caught: Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
User Message : A problem with the system proxy caused the connection to fail: Failed to read from channel: -1
[2014-Jan-09 04:40:55] RDP (0): Exception caught: Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
User Message : A problem with the system proxy caused the connection to fail: Failed to read from channel: -1
AsioEndpointContext (0): shutdown(): shutting down context
AsioEndpointContext (0): shutdown(): context shut down
AsioEndpointContext (0): shutdown(): shutting down context
AsioEndpointContext (0): shutdown(): context shut down
[2014-Jan-09 04:40:57] RDP (0): ------ END ACTIVE CONNECTION ------My problem is that the "proxy" is the proxy set up by my 3G configuration so, I tried connecting to the remote resources through my work wifi and I get the following:
[2014-Jan-14 16:58:13] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
[2014-Jan-14 16:58:13] RDP (0): Final rdp configuration used: memory bookmark [
label
hostname DIAZSERVER
port 3389
loadbalanceinfo
ui.swapmousebutton false
remote.program ||chrome
remote.workingdirectory
remote.name Google Chrome
remote.args
rail true
soundmode 0
connect_to_console false
redirectsdcard true
performance_flags 134
arc.sessionid 0
anonymous_username
authentication_level 2
use_redirection_server_name false
username Administrator
gateway [
host = DIAZSERVER
port = 443
bypass = false
connect info[
hostnames = [localhost]
gatewayHost = DIAZSERVER
gatewayPort = 443
routingToken = Cookie: mstshash=Administrator
redirectionGUID =
proxyHost =
proxyPort = 0
sessionId = -1
[2014-Jan-14 16:58:13] RDP (0): Not using any proxy
[2014-Jan-14 16:58:13] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
AsioEndpointContext (0): startup(): starting up down context
ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d474090
RpcOverHttp (9): Stream error in endpoint 0x5d46b678 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
[2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
[2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
[2014-Jan-14 16:58:17] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d445158
RpcOverHttp (9): Stream error in endpoint 0x5d49fa30 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
[2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
[2014-Jan-14 16:58:17] RDP (0): Disconnect initiated by client
[2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
AsioEndpointContext (0): shutdown(): shutting down context
AsioEndpointContext (0): shutdown(): context shut down
AsioEndpointContext (0): shutdown(): shutting down context
AsioEndpointContext (0): shutdown(): context shut down
[2014-Jan-14 16:58:17] RDP (0): ------ END ACTIVE CONNECTION ------
Now, I know the host can be resolved because: if I connect to the same host but on a full remote desktop (as opposed to just RemoteApp on it) I have no trouble either through 3G OR through my work connection.
Moreover, I also tried directly inputting the IP as opposed to the web address of my server, I get the same error, that is the Remote Resources tab is able to access the feed (because it shows the available RemoteApps) but when I click an app it says it can't
find the Host, here's the log for the connection directly to the IP address/rdweb/feed/webfeed.aspx :
[2014-Jan-14 17:09:27] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
[2014-Jan-14 17:09:27] RDP (0): Final rdp configuration used: memory bookmark [
label
hostname DIAZSERVER
port 3389
loadbalanceinfo
ui.swapmousebutton false
remote.program ||chrome
remote.workingdirectory
remote.name Google Chrome
remote.args
rail true
soundmode 0
connect_to_console false
redirectsdcard true
performance_flags 134
arc.sessionid 0
anonymous_username
authentication_level 2
use_redirection_server_name false
username administrator
gateway [
host = DIAZSERVER
port = 443
bypass = false
connect info[
hostnames = [localhost]
gatewayHost = DIAZSERVER
gatewayPort = 443
routingToken = Cookie: mstshash=administrator
redirectionGUID =
proxyHost =
proxyPort = 0
sessionId = -1
[2014-Jan-14 17:09:27] RDP (0): Not using any proxy
[2014-Jan-14 17:09:27] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
AsioEndpointContext (0): startup(): starting up down context
ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d372f28
RpcOverHttp (9): Stream error in endpoint 0x5dd6b168 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
[2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
[2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
[2014-Jan-14 17:09:31] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d378de0
RpcOverHttp (9): Stream error in endpoint 0x5e9cc1f0 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
[2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
[2014-Jan-14 17:09:31] RDP (0): Disconnect initiated by client
[2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
AsioEndpointContext (0): shutdown(): shutting down context
AsioEndpointContext (0): shutdown(): context shut down
AsioEndpointContext (0): shutdown(): shutting down context
AsioEndpointContext (0): shutdown(): context shut down
[2014-Jan-14 17:09:31] RDP (0): ------ END ACTIVE CONNECTION ------
I'm really puzzled here, I've tried checking if ports where open, and ports 443 and 3389 are wide open, I don't know what else it could be. -
Skype is bypassing the proxy server
Hello.
I've tried following this guide to setup Skype to connect through a proxy. However, whether or not I put in a valid address / login, the client is able to connect regardless. It seems to me that the client is bypassing the proxy settings and simply uses my direct connection regardless (which I'd like to avoid).
Is there a way to fix this at all?
Thank you.I am having the same issue, I have set my skype connection setting to HTTPS and despite providing the proxy settings the skype automatically shifts to direct connection whenever it is avaible. I want it to use the proxy. Any ideas how to fix it ?
-
How to config the proxy of Bpel process manager(with password)
HI, i met the quetion as below
The The Oracle BPEL Process Designer & Manager server is installed on my computer in domin of my company, so if One of the BPEL processes deployed on the BPEL server needs to access a synchronous Web service hosted outside the firewall .i need to config the proxy, but the proxy of my company needs my ID and password to access outside . after I congfig the proxy
option of designer and build the Process, there will be pop-up a dialog box and ask for my ID & password .But how i config the proxy of Bpel process manager?? I read the tecnote about HTTP Proxy Configuration and config the proxy in the obsetenv.bat ,but it seems has no information about my ID&password in obsetenv.bat.
The question is How can i let the Bpel process manager know my proxy and ID&password ?? pls help me ,thx!I have set these value in obsetenv.bat as follows, and I restart the Bpel manager server and designer.
but the same issue still occur:
set OB_JAVA_PROPERTIES="-Djavax.wsdl.factory.WSDLFactory=oracle.j2ee.ws.wsdl.factory.WSDLFactoryImpl" "-Dhttp.proxySet=true" "-Dhttp.proxyHost=pxysha" "-Dhttp.proxyPort=8080" "-Dhttp.proxyUser=oocldm\hanfi" "-Dhttp.proxyPassword=123456" "-Dhttp.nonProxyHosts=localhost".
At the same time, I have set proxy server in bpel designer of eclipse, after I build the process,it can works well(which display BUILD SUCCESSFUL), but the bpel server display error message as below :
Exception Name:
Failed to read wsdl
Exception Description:
Error happened when reading wsdl at "C:\orabpel\domains\default\tmp\.bpel_TerraFlow_1.0.jar\TerraServiceRef.wsdl", because "WSDLException: faultCode=PARSER_ERROR: Error reading file: Server returned HTTP response code: 407 for URL: http://terraserver.microsoft.com/TerraService.asmx?WSDL".
what happen ? -
Error while creating the proxy object to connect to a third party tool.
Hi,
I tried creating a proxy object with the wsdl file. I even created a HTTP connection to the third party tool. but when I try to execute the whole proxy object, I am getting the below error. Can anyone help me on this?
"Proxy-Generierung: Fehler aufgetreten"
"Incorrect value: Entity "<<document>>"(92 /3788 ). end tag 'ul' does not match begin tag 'p'"
Thanks & Regards,
Veerabhadra Rao A.do a check on the wsdl file and how you are passing values in the proxy. The tags for XML are not correct. Open the WSDL in IE and see there must be an error. Or probably when passing the actual values to the XML generated each element is not closed properly. Error says tags dont match.
Edited by: Kshamatha Eda on Mar 5, 2010 10:54 AM -
Do we need to install the data host proxy on the SUN server?
Hi folks,
Hopefully somebody can help me out here as I’m new to sun storage. Basically we have one 6140 arrays attached to Solaris servers. We have installed the CAM software on a CentOS system and connected to the array. We also created the VOLUMEs.
When we check the storage from the Solaris server, we can only see those single disks, but not the volumes we created.
Wandering do we need to install the proxy in the Solaris server to get those volume info?
Thanks,I enabled the MPXIO, still the same, please check the returns for the commands you requested:
root@host:/# luxadm -e port
/devices/pci@9,600000/SUNW,qlc@2/fp@0,0:devctl CONNECTED
/devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:devctl CONNECTED
/devices/pci@8,600000/SUNW,emlxs@1,1/fp@0,0:devctl NOT CONNECTED
root@snow:/# cfgadm -alv
Ap_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
c0 connected configured unknown
unavailable scsi-bus n /devices/pci@8,700000/ide@6:scsi
c0::dsk/c0t0d0 connected configured unknown TOSHIBA ODD-DVD SD-C2732
unavailable CD-ROM n /devices/pci@8,700000/ide@6:scsi::dsk/c0t0d0
c1 connected configured unknown
unavailable fc-private n /devices/pci@9,600000/SUNW,qlc@2/fp@0,0:fc
c1::21000014c3203319 connected configured unknown
unavailable disk n /devices/pci@9,600000/SUNW,qlc@2/fp@0,0:fc::21000014c3203319
c1::21000014c3203e13 connected configured unknown
unavailable disk n /devices/pci@9,600000/SUNW,qlc@2/fp@0,0:fc::21000014c3203e13
c2 connected configured unknown
unavailable fc-private n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc
c2::22000024b6aaf918 connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6aaf918
c2::22000024b6aaf98d connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6aaf98d
c2::22000024b6aaf9d6 connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6aaf9d6
c2::22000024b6abaabc connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6abaabc
c2::22000024b6abba22 connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6abba22
c2::22000024b6abcb78 connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6abcb78
c2::22000024b6abce7e connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6abce7e
c2::22000024b6adb82e connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6adb82e
c2::22000024b6adba7f connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6adba7f
c2::22000024b6adbd22 connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6adbd22
c2::22000024b6fc6c6a connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6fc6c6a
c2::22000024b6fc6da6 connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6fc6da6
c2::22000024b6fc6ed0 connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6fc6ed0
c2::22000024b6fc71ba connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6fc71ba
c2::22000024b6fc71c4 connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6fc71c4
c2::22000024b6fc72d8 connected configured unknown
unavailable disk n /devices/pci@8,600000/SUNW,emlxs@1/fp@0,0:fc::22000024b6fc72d8
c3 connected unconfigured unknown
unavailable fc n /devices/pci@8,600000/SUNW,emlxs@1,1/fp@0,0:fc
usb0/1 empty unconfigured ok
unavailable unknown n /devices/pci@9,700000/usb@1,3:1
usb0/2 empty unconfigured ok
unavailable unknown n /devices/pci@9,700000/usb@1,3:2
usb0/3 empty unconfigured ok
unavailable unknown n /devices/pci@9,700000/usb@1,3:3
usb0/4 empty unconfigured ok
unavailable unknown n /devices/pci@9,700000/usb@1,3:4
root@host:/# cfgadm -al -o show_FCP_dev
Ap_Id Type Receptacle Occupant Condition
c1 fc-private connected configured unknown
c1::21000014c3203319,0 disk connected configured unknown
c1::21000014c3203e13,0 disk connected configured unknown
c2 fc-private connected configured unknown
c2::22000024b6aaf918,0 disk connected configured unknown
c2::22000024b6aaf98d,0 disk connected configured unknown
c2::22000024b6aaf9d6,0 disk connected configured unknown
c2::22000024b6abaabc,0 disk connected configured unknown
c2::22000024b6abba22,0 disk connected configured unknown
c2::22000024b6abcb78,0 disk connected configured unknown
c2::22000024b6abce7e,0 disk connected configured unknown
c2::22000024b6adb82e,0 disk connected configured unknown
c2::22000024b6adba7f,0 disk connected configured unknown
c2::22000024b6adbd22,0 disk connected configured unknown
c2::22000024b6fc6c6a,0 disk connected configured unknown
c2::22000024b6fc6da6,0 disk connected configured unknown
c2::22000024b6fc6ed0,0 disk connected configured unknown
c2::22000024b6fc71ba,0 disk connected configured unknown
c2::22000024b6fc71c4,0 disk connected configured unknown
c2::22000024b6fc72d8,0 disk connected configured unknown
c3 fc connected unconfigured unknown
root@host:/# for f in /dev/fc/fp*
do
echo $f
luxadm -e dump_map $f
done/dev/fc/fp0
Pos AL_PA ID Hard_Addr Port WWN Node WWN Type
0 1 7d 0 21000003badbcc5b 20000003badbcc5b 0x1f (Unknown Type,Host Bus Adapter)
1 ef 0 ef 21000014c3203e13 20000014c3203e13 0x0 (Disk device)
2 e8 1 e8 21000014c3203319 20000014c3203319 0x0 (Disk device)
/dev/fc/fp1
Pos AL_PA ID Hard_Addr Port WWN Node WWN Type
0 2 7c 0 10000000c97c2c86 20000000c97c2c86 0x1f (Unknown Type,Host Bus Adapter)
1 ce f ce 22000024b6fc6da6 20000024b6fc6da6 0x0 (Disk device)
2 d1 e d1 22000024b6fc6c6a 20000024b6fc6c6a 0x0 (Disk device)
3 d2 d d2 22000024b6fc71ba 20000024b6fc71ba 0x0 (Disk device)
4 d3 c d3 22000024b6aaf918 20000024b6aaf918 0x0 (Disk device)
5 d4 b d4 22000024b6abcb78 20000024b6abcb78 0x0 (Disk device)
6 d5 a d5 22000024b6abaabc 20000024b6abaabc 0x0 (Disk device)
7 d6 9 d6 22000024b6aaf9d6 20000024b6aaf9d6 0x0 (Disk device)
8 d9 8 d9 22000024b6fc6ed0 20000024b6fc6ed0 0x0 (Disk device)
9 da 7 da 22000024b6abba22 20000024b6abba22 0x0 (Disk device)
10 dc 6 dc 22000024b6fc71c4 20000024b6fc71c4 0x0 (Disk device)
11 e0 5 e0 22000024b6fc72d8 20000024b6fc72d8 0x0 (Disk device)
12 e1 4 e1 22000024b6adbd22 20000024b6adbd22 0x0 (Disk device)
13 e2 3 e2 22000024b6abce7e 20000024b6abce7e 0x0 (Disk device)
14 e4 2 e4 22000024b6adb82e 20000024b6adb82e 0x0 (Disk device)
15 e8 1 e8 22000024b6adba7f 20000024b6adba7f 0x0 (Disk device)
16 ef 0 ef 22000024b6aaf98d 20000024b6aaf98d 0x0 (Disk device)
/dev/fc/fp2
No devices are found on /dev/fc/fp2.
root@host:/# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c4t20000014C3203E13d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/scsi_vhci/ssd@g20000014c3203e13
1. c4t20000014C3203319d0 <SEAGATE-ST314670FSUN146G-055A cyl 14087 alt 2 hd 24 sec 848>
/scsi_vhci/ssd@g20000014c3203319
2. c4t20000024B6AAF9D6d0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6aaf9d6
3. c4t20000024B6AAF98Dd0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6aaf98d
4. c4t20000024B6AAF918d0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6aaf918
5. c4t20000024B6ABAABCd0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6abaabc
6. c4t20000024B6ABBA22d0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6abba22
7. c4t20000024B6ABCB78d0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6abcb78
8. c4t20000024B6ABCE7Ed0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6abce7e
9. c4t20000024B6ADB82Ed0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6adb82e
10. c4t20000024B6ADBA7Fd0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6adba7f
11. c4t20000024B6ADBD22d0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6adbd22
12. c4t20000024B6FC6C6Ad0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6fc6c6a
13. c4t20000024B6FC6DA6d0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6fc6da6
14. c4t20000024B6FC6ED0d0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6fc6ed0
15. c4t20000024B6FC71BAd0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6fc71ba
16. c4t20000024B6FC71C4d0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6fc71c4
17. c4t20000024B6FC72D8d0 <SEAGATE-ST3300657FC-0006-279.40GB>
/scsi_vhci/ssd@g20000024b6fc72d8
Specify disk (enter its number): ^C -
I'm connected to a customer's network and I have to use a proxy.
I correctly authenticate myself to the proxy and I try to access https://mail.google.com.
I receive a message that the proxy refuses the connection.
I noticed that this happens with all the https sites.
If I connect with my mobile internet key without proxy, I'm able to connect: the combination of proxy and https is failing.
Other computers on the same network with different browsers can connect to https through the proxy.I'm working with the Firefox development team on this one. As far as I can tell, they seem to think that there are 2-3 different problems with the same/very similar symptoms, all involving proxies. They think they've fixed them all for RC1.
Right now, it looks like we just want people to test an early build.
You can get that here:
[http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2011-03-03-12-mozilla-central/firefox-4.0b13pre.en-US.win32.installer.exe]
Install that somewhere (not in your current install directory), quit all open Firefox instances and try it. Let me know if it works. -
Not enough disk space available on the proxy
Wondering if someone might be able to shed some light here.
Trying to deploy a 16GB flar image, but it fails claiming there is not enough disk space on the proxy, however the proxy appears to have plenty of space in /var:
The error:
Task : Download Image
Task Run ID : 23076
Target : PC->ocproxy-6c657073
Status : FAILED
Result : Failed to download image + combo-S10-v149.flar
Logs :
05/01/2015 01:47:15 PM PDT INFO Task is posted to the Proxy Controller (ocproxy-6c657073), from the Enterprise Controller. (15011)
05/01/2015 01:47:18 PM PDT INFO Task is received by the Proxy Controller. (15012)
05/01/2015 01:47:18 PM PDT INFO ---enter into image task run----
05/01/2015 01:47:18 PM PDT INFO download image combo-S10-v149.flar:osFlarImage:,jsPostInstall.sh:osScript:,osp_status_firstboot.sh:osScript:,
05/01/2015 01:47:53 PM PDT ERROR Not enough disk space available on the proxy to download the file - /var/opt/sun/xvm/proxyImageCache/os/flars/combo-S10-v149.flar.
05/01/2015 01:47:53 PM PDT ERROR Image file does not exist - combo-S10-v149.flar.
05/01/2015 01:47:53 PM PDT ERROR Failed to download the url - /ImageDownload/FileDownload?fileName=/os/flars/combo-S10-v149.flar.
05/01/2015 01:47:53 PM PDT ERROR Failed to download image + combo-S10-v149.flar
root@ocproxy:/# df -h
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris-1 98G 3.3G 68G 5% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 5.5G 1.7M 5.5G 1% /system/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
71G 3.3G 68G 5% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
rpool/ROOT/solaris-1/var
98G 13G 68G 17% /var
swap 5.5G 96K 5.5G 1% /tmp
rpool/VARSHARE 98G 2.6M 68G 1% /var/share
rpool/export 98G 35K 68G 1% /export
rpool/export/home 98G 45K 68G 1% /export/home
Any ideas?
-JDid you format your new drive to MAC OS Extended?
Al -
Command necessary to activate the proxy
Good afternoon
What is the command necessary to activate the proxy from the console in solaris10? I am using the following command but not working
-- Patchsvrabout:config but you probably should be using the Tools > Options menu for most settings. Changing things in about:config without knowing what you're doing can really break Firefox and cause you to lose all your data.
Maybe you are looking for
-
Error messages when downloading Itunes 10.5. HELP PLEASE!!!
I keep getting two different error messages when downloading Itunes, first one says: An error occured during the installation of assembly "Microsoft.VC80.CRT,type="win32",version="8.0.507276195".publicKeyToken="1fc8b9 a1e18e3b",processorArchitecture=
-
MDP - HDMI Questions and Answers
I recently purchased a 13" Macbook Pro. Love the computer but obviously with a 13" screen I wanted something bigger at home. I had a 32" TV that I wanted to use as a monitor so I purchased the MDP-HDMI adapter. The adapter worked fine but there a cou
-
FM to change Purchase Requisition processing status
Dear experts, Any idea what is the function module that is being called to change the PR processing status? ie. When a PC is created from the PR, the PR processing status will be changed to "PC created". Thanks. Regards Earl
-
I need to download a copy of audition cs5.5
Can someone tell me where to download audition cs5.5
-
I download my acrobat x upgrade but I only get readme files on my mac
but I only get readme files on my mac