SAP Knowledge Base Article - Preview

2113138 - Error: Gateway not reachable String index out of range: -1 - SUP


  • Client is using oData and connecting via the Relay Server
  • The following error is thrown in the relay server log:

    HTTP/1.1 500 Error occurred while connecting to the URL sent: Gateway not reachable String index out of range: -1

  • Sybase Unwired Platform also shows the following error in the Server log (UnwiredServer\logs\<hostname>-server.log):

    java.lang.StringIndexOutOfBoundsException: String index out of range: -1



  • Sybase Unwired Platform 2.2 SP0x or SAP Mobile Platform 2.3 SP0x
  • Relay Server
  • oData Application using the SAP Mobile Platform server as a proxy to get to the oData service


SAP Mobile Platform 2.3 ; Sybase Unwired Platform 2.2


string, index, out, range, gateway, relay, odata , KBA , MOB-SUP-RT , SUP Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.