Wednesday 11 December 2013

Unable to fetch organization details for

Recent past I came across Force.com IDE tool exception. It's actually network issue and nothing to do with Salesforce.

After installing eclipse and configuring Force.com IDE, I was trying to create a new Force.com project and got error "Unable to fetch organization details for <UserName>".

There can be different reasons for this and one of them is firewall settings. To pass through proxy server, one has to configure proxy settings. Once proxy setting are configured, eclipse bypasses the proxy and gets connected to internet.

Following are steps to configure proxy settings. Steps are almost same for all eclipse versions.

1) In Eclipse IDE, select “Window –> Preferences”
2) Preferences box prompt out, choose “Network Connections”.
3) Select “Manual” from Action Provider drop down list
How-to-configure-Proxy-Settings-in-Eclipse-1
4) Select Http in the List and click “Edit” button
5) Fill in the proxy server host and port number, (fill in the username and password if any)
How-to-configure-Proxy-Settings-in-Eclipse-2
6) Ok, Done.