cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse - connection to Gateway demo system not working

Former Member
0 Kudos

Hi,

I am configuring connection to Gateway demo system : sapes1.sapdevcenter.com @ port 443.

I am getting network connection error.

Parameters in Eclipse -> WIndows->Preferences->

Server host: sapes1.sapdevcenter.com

Port: 443

username:

password:

No HTTPS selected.

I am pasting Eclipse log file logs for ref:

!ENTRY com.sap.gw.oc.eclipse.preferences.ui.validator 4 0 2013-07-12 13:58:47.024

!MESSAGE Network connection error

!STACK 0

  1. com.sap.nw.gateway.odata.client.exceptions.RestClientException: java.net.SocketException: Software caused connection abort: recv failed

at com.sap.gw.oc.eclipse.preferences.ui.validator.DisconnectableRestClient.send(DisconnectableRestClient.java:205)

at com.sap.nw.gateway.odata.client.connectivity.impl.RestClientBase.execute(RestClientBase.java:34)

at com.sap.gw.oc.eclipse.preferences.ui.validator.ConfigurationValidator.testConnection(ConfigurationValidator.java:245)

at com.sap.gw.oc.eclipse.preferences.ui.validator.ConfigurationValidator.testConnection(ConfigurationValidator.java:226)

at com.sap.gw.oc.eclipse.preferences.ui.validator.ConfigurationValidator.validateConfiguration(ConfigurationValidator.java:92)

at com.sap.gw.oc.eclipse.preferences.ui.validator.ConfigurationValidator.validateCreatedObject(ConfigurationValidator.java:39)

at com.sap.gw.oc.eclipse.preferences.ui.validator.ConfigurationValidator.validateCreatedObject(ConfigurationValidator.java:1)

at com.sap.gw.oc.eclipse.preferences.ui.AbstractGatewayConfigurationDialog.getDialogStatus(AbstractGatewayConfigurationDialog.java:517)

at com.sap.gw.oc.eclipse.preferences.ui.AbstractGatewayConfigurationDialog$21.run(AbstractGatewayConfigurationDialog.java:541)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Caused by: java.net.SocketException: Software caused connection abort: recv failed

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at com.sap.gw.oc.eclipse.preferences.ui.validator.DisconnectableRestClient.send(DisconnectableRestClient.java:183)

... 9 more

Caused by: java.net.SocketException: Software caused connection abort: recv failed

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at java.io.BufferedInputStream.fill(Unknown Source)

at java.io.BufferedInputStream.read1(Unknown Source)

at java.io.BufferedInputStream.read(Unknown Source)

at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)

at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)

at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at com.sap.gw.oc.eclipse.preferences.ui.validator.DisconnectableRestClient.send(DisconnectableRestClient.java:138)

... 9 more


Please share if any hint.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Selecting HTTPS checkbox in Eclipse-connection parameters did the trick

Thanks Friends.

Divyesh

Answers (1)

Answers (1)

prathik
Participant
0 Kudos

Hi Divyesh,

                  Please check if the port is opened at the time you are trying to connect to the system.

You can do that by going to cmd ->telnet <server-name> <port-no>

If the port is opened then you might have to make an entry of your server's name and port number in host file located in System32 in case you are using windows.

Former Member
0 Kudos

Prathik,

I am not able to connect via Telnet.

Prathik Nagaraj wrote:

Hi Divyesh,

                  Please check if the port is opened at the time you are trying to connect to the system.

You can do that by going to cmd ->telnet <server-name> <port-no>

If the port is opened then you might have to make an entry of your server's name and port number in host file located in System32 in case you are using windows.


Telnet>open sapes1.sapdevcenter.com:443 --->not working.

Can you tell me which URL, I should use in Eclipse- connection parameters?

I am using below for Netweaver gateway demo system:

Server host: sapes1.sapdevcenter.com

Port: 443

prathik
Participant
0 Kudos

Divyesh,

               The connection parameters can be got from your BASIS team

These are the parameters you need to  establish connection with gateway

when you use

telnet[space]<server-name>[space]<port-no>

If you get a blank screen it means the port is opened, else you have to open the port.

try pinging your server host-name and  check if your system is connected to it.

When all the above things are successful...

while deploying you may have to add an exception in the proxy settings of your browser.

Regards,

Prathik