Connection refused when trying to getOutputStream from https connection

Hi all !
I want to make an https connection with a server to send/get the request/response
What can be the cause of the following error in the following code testHttps.java?
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at Test.testHttps.main(testHttps.java:46)
Exception in thread "main" java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at Test.testHttps.main(testHttps.java:51)
testHttps.java
package Test;
import java.io.;
import java.net.;
import javax.net.ssl.*;
public class testHttps {
public static void main(String args[]) throws Exception {
//System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
// Create a trust manager that does not validate certificate chains
TrustManager[] trustAllCerts = new TrustManager[]{
new X509TrustManager() {
public java.security.cert.X509Certificate[] getAcceptedIssuers() {
return null;
public void checkClientTrusted(
java.security.cert.X509Certificate[] certs, String authType) {
public void checkServerTrusted(
java.security.cert.X509Certificate[] certs, String authType) {
// Install the all-trusting trust manager
try {
SSLContext sc = SSLContext.getInstance("SSL");
sc.init(null, trustAllCerts, new java.security.SecureRandom());
HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
} catch (Exception e) {
System.out.println("Error" e);
// Now you can access an https URL without having the certificate in the truststore
try {
URL url = new URL("https://..............");-->//address of the server given here
URLConnection conn = url.openConnection();
HttpsURLConnection urlConn = (HttpsURLConnection) conn;
urlConn.setDoOutput(true);
OutputStreamWriter wr = null;
try{
wr = new OutputStreamWriter(conn.getOutputStream());
catch(Exception e){
e.printStackTrace();
BufferedReader in = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
String str;
while( (str=in.readLine()) != null) {
System.out.println(str);
} catch (MalformedURLException e) {
System.out.println("Error in SLL Connetion" +e);
HostnameVerifier hv = new HostnameVerifier()
public boolean verify(String urlHostName, SSLSession session)
System.out.println("Warning: URL Host: " urlHostName " vs. "
session.getPeerHost());
return true;
want to ignore certificate validation.
plese help me..
hi brucechapman, as you suggested me, i posted in Core API- networking forum, now please gimme a solution
Thanks in advance.

hi brucechapman,
ran the NetTest program, got the following exception:
trigger seeding of SecureRandom
done seeding SecureRandom
Exception in thread "main" java.net.ConnectException: Connection refused: connect
     at java.net.PlainSocketImpl.socketConnect(Native Method)
     at java.net.PlainSocketImpl.doConnect(Unknown Source)
     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
     at java.net.PlainSocketImpl.connect(Unknown Source)
     at java.net.SocksSocketImpl.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
     at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
     at sun.net.NetworkClient.doConnect(Unknown Source)
     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
     at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
     at java.net.URL.openStream(Unknown Source)
     at Test.NetTest.main(NetTest.java:40)
NetTest.java:40 -- InputStream is = url.openStream(); at this ling throwing exception.
For the following program, i have added the argument -Djavax.net.ssl.trustStore=cacerts
i have exported the certificate from IE and added to the keystore.
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.security.Security;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
public class Communicator {
public static void main(String[] args) {
try {
int port = 34443;
     String strReq = "xml content ";
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
SSLSocketFactory factory = (SSLSocketFactory) SSLSocketFactory.getDefault();
SSLSocket socket = (SSLSocket) factory.createSocket("jyoti-win2k8-32", port);
//Writer out = new OutputStreamWriter(socket.getOutputStream());
//out.write("GET http://" + "hostname" + "/ HTTP 1.1\r\n");
// out.write("\r\n");
//out.write(strReq);
//out.flush();
OutputStreamWriter wr = null;
try{
     wr = new OutputStreamWriter(socket.getOutputStream());
     catch(Exception e){
          e.printStackTrace();
     System.out.println("got output stream");
     try{
     wr.write(strReq);
     //System.out.println("response code : "+conn.getResponseCode());
     System.out.println("written");
     wr.flush();
     catch(IOException e){
          e.printStackTrace();
InputStreamReader is = new InputStreamReader(socket.getInputStream(),"UTF8") ;
     BufferedReader rd = new BufferedReader(is);
     String line;int count=0;
     System.out.println("rd "+rd);
     while ((line = rd.readLine()) != null) {
          System.out.println("line "+line );
          System.out.println(count++);
          // Process line...
     System.out.println(count);
rd.close();
BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
int c;
while ((c = in.read()) != -1) {
System.out.write(c);
//out.close();
in.close();
socket.close();
} catch(IOException ex) {
ex.printStackTrace();
Exception :
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
     at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
     at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
     at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
     at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
     at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
     at sun.nio.cs.StreamEncoder.flush(Unknown Source)
     at java.io.OutputStreamWriter.flush(Unknown Source)
     at Test.Communicator.main(Communicator.java:55)
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
     at sun.security.validator.PKIXValidator.<init>(Unknown Source)
     at sun.security.validator.Validator.getInstance(Unknown Source)
     at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
     at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
     at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
     at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
     at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
     at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
     at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
     ... 7 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
     at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
     at java.security.cert.PKIXParameters.<init>(Unknown Source)
     at java.security.cert.PKIXBuilderParameters.<init>(Unknown Source)
     ... 19 more
java.net.SocketException: Socket is closed
     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getInputStream(Unknown Source)
     at Test.Communicator.main(Communicator.java:66)
please help me and provide me suggestion/solution. how to get rid off this trustanchor paramater exception
what is it actualy?
Thanks in advance.

Similar Messages

  • Photoshop cs4 access denied when trying to install from disc in Windows 7 64bit.

    Photoshop cs4 access denied when trying to install from disc in Windows 7 64bit. I tried it in
    safe mode and it starts to install but get an error there as well.
    What do I do?

    So when you put the disk in it won't run correctly? When the disk is inserted you should have a window pop up with 2 options. 1 to install and the other to see what is on the disk. Choose to explore or open the disk. Go to the CS4 folder where the photoshop .exe file is (that will run the setup), right click on the .exe file and choose run as Admin and it should start. See if it will install. If not then read below.
    I am not sure how far you got in the install before so chances are you will have to run the CS4 cleanup utility. 2 levels to run at but don't use 1 or 2 just type in the number 3.
    http://www.adobe.com/support/contact/cs4clean.html
    You may need to run the windows installer cleanup utility too
    http://support.microsoft.com/kb/290301
    Before you try to reinstall the software ensure that adobe reader is not installed. If it is remove it. It has caused issues in the past with vista and CS4 installs.
    Also turn off windows Defender and any anti-virus software. You can keep UAC on in Windows 7.
    During the CS4 install at 90 percent it will almost stop and may take 5 to 10 mins to finish. This is normal. What a pain huh......
    After install is finished, reboot
    After reboot, go to the CS4 64 bit or 32 bit icon (depends on 32 or 64 bit Windows 7) in start area, right click on CS4 64 bit (if you have windows 7 64 bit) and choose properties, compatibility tab and then check run as Admin at the bottom area. Hit apply, ok to close out.
    Now start CS4 and run the updater.

  • I just set up my new iMac, and receive error messages when trying to purchase from the iTunes store (error 8003) or update from the App store (error 403 forbidden). THOUGHTS?

    I just set up my new iMac, and receive error messages when trying to purchase from the iTunes store (error 8003) or update from the App store (error 403 forbidden). THOUGHTS?

    I am not sure what you mean by "Flash Player for steam"; the only Flash Player installers I know is the ActiveX (for Internet Explorer) and the plugin (for other browsers); you can find both at http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header
    [topic moved to Flash Player forum]

  • When trying to Airplay from my Macbook Pro Retina, to AppleTv3 it plays for only a few minutes, and then jumps back to the Mac. It seems to do this no matter what I play, music, movies or pictures. I just bought a new router. This could affect it

    When trying to Airplay from my Macbook Pro Retina, to AppleTv3 it plays for only a few minutes, and then jumps back to the Mac. It seems to do this no matter what I play, music, movies or pictures. I just bought a new router. This could affect it.
    I have been playing whole movies before from VLC without problems.
    Any Ideas?

    Welcome to the Apple Community.
    Yes it's network issues or settings that cause these types of problems most of the time.
    The following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.

  • Errors when trying to extract via UD Connect (BI 7.0)

    Hi all,
    in a BI 7.0 system I can't select any UD Connect source object on the "Extraction" tab page of the DataSource maitenance screen. If I type the table name (which is "DICTIONARY") into it and then hit the "Proposal" tab page, I get the following error:
    Errors occurred during extraction of UD Connect object field-list: UDCADAPTERROR::RSSDK|200|Table: DICTIONARY not found
    We had a restart of the system the weekend. Before that, I could easily select from the list of available UD Connect source objects (tables and views from the connected MS SQL Server) and the system showed correctly all fields of that object in the "Proposal" tab page.
    I think there is a problem with the JDBC Connector in the J2EE server. How can I check, if the connection between the JDBC Connector and the connected database is working? Unfortunately I have no access to the Visual Administrator for the J2EE engine because I am not from the basis team.
    Thanks to any answers in advance!
    Best regards,
    Philipp

    Hi again,
    I can precise the problems I have:
    I'd like to extract data from a table in a MS SQL Server 2000 database named DICTIONARY. This table has the following columns:
    DICTIONARYID (numeric(16,2), Not Null)
    LANGUAGECODE (char(2), Not Null)
    TYPE (varchar(24), Not Null)
    VALUE (numeric(38,0), Not Null)
    VALUENAME (varchar(48), Not Null)
    DESCRIPTION (varchar(128), Not Null)
    attr31 (numeric(16,2), Not Null)
    attr32 (numeric(16,2), Not Null)
    attr33 (numeric(16,2), Not Null)
    attr34 (numeric(16,2), Not Null)
    When starting the data extraction in the InfoPackage I get an error in the monitor. Deeper down in the J2EE server logs I get the following exception which is the reason for the error:
    Date : 11/21/2006
    Time : 8:53:48:452
    Message : Exception: Value '30.00' cannot be converted to NUM type at field ATTR31
    Severity : Error
    Category :
    Location : com.sap.ip.bi.sdk.datasource.beans.BI_SDK_Bean
    Application : sap.com/com.sap.ip.bi.sdk.datasource.sync
    Thread : SAPEngine_Application_Thread[impl:3]_10
    Datasource : 238150750:/usr/sap/DOS/DVEBMGS23/j2ee/cluster/server0/BI_SDK_Trace.log
    Message ID : 0014C2658003005E000000C0000041F5000422BD226B24FF
    Source Name : com.sap.ip.bi.sdk.datasource.beans.BI_SDK_Bean
    Argument Objs :
    Arguments :
    Dsr Component : DOS
    Dsr Transaction : 456273935D18288AE1000000C72A309C
    Dsr User : HINNAPHI                       
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 0
    Relatives :
    Resource Bundlename :
    Session : 0
    Source : com.sap.ip.bi.sdk.datasource.beans.BI_SDK_Bean
    ThreadObject : SAPEngine_Application_Thread[impl:3]_10
    Transaction :
    User : J2EE_GUEST
    Actually there is a record that has 30.00 as value in the attr31 field. I think there are problems with the numeric(16,2) fields. I tried to use different data types in the corresponding fields of the UD Connect data source (e. g. DEC, FLTP) with different length and decimal places settings. But the exception is always the same (see above).
    Another issue: I can only specify "Internal" for the format in the data source maintenance. If I use "External" or "Check" the system says: "External format not supported as data type is not 'CURR'".
    Do you have any idea why this conversion exception occurs and what I could do about that?
    Thanks to any answers in advance!
    Regards,
    Philipp

  • HT201412 My Ipad is not responding.  It has the small apple in the middle of the screen with the little "thinking" flower symbol surrounding it, and does not respond to restoring. We received an error message when trying to restore from itunes.

    My Ipad is not responding.  It has the small apple in the middle of the screen with the little "thinking" flower symbol surrounding it, and does not respond to restoring. We received an error message when trying to restore from itunes.

    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
     Cheers, Tom

  • When trying to download from IBooks I get an error message that says my Apple ID has been disabled.

    When trying to download from IBooks I get an error message that says my Apple ID has been disabled.  I have updated credit card, password, etc but still getting error message.  What are next steps?

    http://www.apple.com/support/appleid/contact/

  • Error (-42018) when trying to airplay from iMac to iPad2

    When trying to airplay from itunes on my iMac to my new iPad2, it starts ... connecting... and gives me the error
    "An error occurred while ... unknown error (-42018)."
    Anyone know what that mean? They are on the same network and I can pick the ipad to from the "play on list."
    Thanks in advance
    ed

    Edward Malloy wrote:
    Chris, you are wrong.
    No, I am not wrong but thanks for playing.
    You need to install airframe
    Perhaps you could have mentioned this in your first post because it is not a standard part of AirPlay.
    Please don't answer questions, when you don't know the answer.
    I do know the answer which is why I responded (though now I wonder why I did).
    You should contact the author of Airframe instead of being rude.
    and it does not seem to be in the (US) App store anymore.

  • "Connection error. Check Internet connection." when trying to Enable Web Services on HP 1606dn

    Error message "Connection error. Check Internet connection." when trying to Enable Web Services on HP Laserjet 1606dn.
    Operating system: Windows 7
    Thanks for helping,
    Howard
    UPDATE 21-7-13: After upgrading the firmware to the lastest version, I could enable web services. Big help was this video: http://www.youtube.com/watch?v=Q5gpIGZXDXw
    This question was solved.
    View Solution.

    Hi,
    Please try the following.
    1. Open an internet browser type printer's IP address.
    2. Should bring you to the printer's status page.
    3. Select the networking tab at the top.
    4. Left hand side select IPv4 under wireless.
    5. Under DNS address Configuration select Manual DNS Server.
    6. For Preferred enter 8.8.8.8
    7. For Alternate enter 8.8.4.4
    8. Select apply. You might get a warning saying this could interrupt connection that's fine.
    9. Turn printer off for about 30 seconds then try again.
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • HP C6180 (wireless) gives "Ink System Failure" when trying to print from my new Windows laptop

    HP C6180 (wireless) gives "Ink System Failure" when trying to print from my new Windows laptop

    Hi @Maxuss,
    Thank you for visiting the HP Support Forums! I see you are getting an 'Ink System Failure' on your HP Photosmart C6180, so you are unable to print. 
    Please complete the steps listed here: An 'Ink System' Error Code Displays on the Front Panel
    If after the reset you are still getting the error message, please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assis​t.html
    I hope this helps!
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • App File Server connection error when trying to run a BI Publisher report..

    hello Gurus...
    As above - App File Server connection error when trying to run a BI Publisher report.. FOR THE FIRST TIME.
    What does our DBA need to do..?
    error message reads..
    Template code: SUARXASR
    Template app:  AR
    Language:      en
    Territory:     GB
    Output type:   EXCEL
    [5/10/10 10:59:27 AM] [UNEXPECTED] [46321:RT1487572]
    oracle.apps.fnd.cp.util.RemoteFileException: An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_*****.ac.uk. There may be a network configuration problem, or the TNS listener on node FNDFS_*****.ac.uk may not be running. Please contact your system administrator.
    at oracle.apps.fnd.cp.util.RemoteFile.readURL(RemoteFile.java:241)
    at oracle.apps.fnd.cp.util.RemoteFile.transferFile(RemoteFile.java:194)
    at oracle.apps.fnd.cp.util.RemoteFile.transfer(RemoteFile.java:130)
    at  oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:264)at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [5/10/10 10:59:27 AM] [46321:RT1487572] Completed post-processing actions for request 1487572.I'm sure we never had to set anything up in our Test instance!??!!??
    many thanks for looking..
    Steven

    nobody experienced this before..?

  • Lost all photos on my iPhoto and get the ERROR WRITING TO DISK when trying to reload from Time Machine. iPhoto cannot import your photos because there was a problem writing to the volume containing your iPHOTO LIBRARY  . Looking for solution.

    Lost all photos on my iPhoto and get the ERROR WRITING TO DISK when trying to reload from Time Machine. iPhoto cannot import your photos because there was a problem writing to the volume containing your iPHOTO LIBRARY  . Looking for solution.

    Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.
    First, empty the Trash, if possible.
    Triple-click anywhere in the line below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) 2>&- | wc -l | pbcopy
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign ($) to appear.
    The output of the command will be a number. It's automatically copied to the Clipboard. Please paste it into a reply.
    The Terminal window doesn't show the output. Please don't copy anything from there.

  • When trying to download from apple store runtime error message 6025 comes up

    when trying to download from itunes store runtime error 6025 comes up.i've tried uninstalling and reinstalling itunes,but that didn't work.any ideas anyone?

    To change the Apple ID for purchases, go to Settings>Store>Apple ID, tap the ID show, sign out, sign back in using the ID you want to use.

  • I receive a Runtime Error when trying to go from Organizer to Editor. It reads:  Microsoft Visual C   Runtime Error....Runtime Error....Program c:/ (x....

    When trying to go from Organizer to Editor, I receive a Ryntime Error.  It reads: Microsoft Visual C++ Runtime Error.    Runrime Error  Program c:\(x....

    I kept getting the same error message too! Thank goodness I'm not alone in this!

  • Why do I get a message 'connection failed' when trying to download an app?

    Connection failed. when trying to download an app

    I downloaded Maverick. I have no idea I need an APP.

Maybe you are looking for