简体   繁体   中英

java.io.IOException: Server returned HTTP response code: 500 for URL: https://

I am getting the below mentioned error while trying to invoke a servlet in IBM websphere.

java.io.IOException: Server returned HTTP response code: 500 for URL: 
   https://<URL>
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1196)
   at com.ibm.net.ssl.www2.protocol.https.a.getInputStream(a.java:3)
   at com.infy.finacle.finreport.extscheduler.RIExecuteExternalJob.main(RIExecuteExternalJob.java:89)

Kindly help me with debugging the issue.

A HTTP code 500 is a server-side error and in general you should try browsing to the URL with your browser first to see if it is a genuine server error.

However, in this case it looks like you have passed an incomplete URL https:// .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM