Unable to login in or update salesforce settings after IC Update

Issue #448 closed
Former user created an issue

I updated IC to the latest build this morning and after restarting trying to do anything with our salesforce org gives me the following error:

INVALID_LOGIN: Invalid username, password, security token or user locked out.

None of the credentials changed and the account is not locked out (verified by logging in through the web browser and Force.com IDE). On top of that, I can't find a way to actually reset the credentials because of this error... I even tried removing them from illuminatedCloud.xml to see if it would force it to prompt for them again. No luck.

IntelliJ IDEA 2016.2.5 Build #IU-162.2228.15, built on October 14, 2016 JRE: 1.8.0_112-release-287-b2 x86_64 macOS: 10.12.1

Comments (9)

  1. Scott Wells repo owner

    Mike, I'm sorry for the issue. That's definitely strange. Do you mind creating a new connection with the same credentials and testing that connection to see if it does properly connect?

  2. Former user Account Deleted reporter

    No worries, perfect software doesn't exist. It's definitely better than most of the options out there and I'm considering standardizing our team on it. I'll try recreating the project later today and report back.

  3. Scott Wells repo owner

    Okay. Let me know if it doesn't work for you. I'll have you pull some debug logs for me to review so I can understand what's happening.

  4. Former user Account Deleted reporter

    Creating a new project worked without a hitch (and I did try opening/closing/restarting IDEA several times). Since I can't recreate it, I'm going to close it for now.

  5. Scott Wells repo owner

    Okay. Thanks for confirming. Sorry for whatever happened there. If/when it ever happens again, please shoot over your idea.log so I can take a look at the sequence of events.

  6. Former user Account Deleted reporter
    • changed status to open

    Started getting the error again with the new project I created so I'm reopening. I think I might have an idea on the root cause. I left IntelliJ open all evening and there was about an eight hour gap between working sessions. Looking in idea.log I'm seeing this as the first thing logged this morning:

    2016-11-03 03:48:35,614 [39002200] WARN - cloud.client.ForceComApiClient - Logout via partner API failed. javax.xml.ws.soap.SOAPFaultException: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session. Session not fou nd, missing session hash: R626FwR7vR1+B27Gc6Bc8g== This error usually occurs after a session expires or a user logs out.

    I'm wondering if a session timeout can put IC into an invalid state it can't recover from?

    Scott... I'll send you the log directly, the system I'm working on handles PII and while I doubt there's anything in the IDEA log that would compromise it I don't want to risk it being in a public forum.

  7. Former user Account Deleted reporter

    Sorry, it turns out that some a-hat on our overseas team has been reseting security tokens because they can't be bothered to keep track of the issued ones.

    Apologize for the confusion, closing this back out.

  8. Log in to comment