Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

データローダーで java.net.SocketException: Unexpected end of file from server エラーが発生した場合について

公開日: Apr 30, 2025
説明
Data Loader (データローダー) で「java.net.SocketException: Unexpected end of file from server」エラーが発生する場合、通信の問題が原因です。Proxyサーバーの設定や通信状況を確認し、問題を解決してください
 
sdl.log に以下のエラーが記録されている場合の原因について記載します。
ERROR com.salesforce.dataloader.client.PartnerClient  - Error while calling web service operation: describeSObject, error was: Failed to send request to https://jrispider.my.salesforce.com/services/Soap/u/19.0/00D100000006Bb6
com.sforce.ws.ConnectionException: Failed to send request to https://jrispider.my.salesforce.com/services/Soap/u/19.0/00D100000006Bb6
  at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:113)
  at com.sforce.soap.partner.PartnerConnection.describeSObject(PartnerConnection.java:48)
  ....<中略>....
Caused by: java.net.SocketException: Unexpected end of file from server
  at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
  at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
  ....<略>....

参考 : sdl.log の確認方法
 

-----
java.net.SocketException: Unexpected end of file from server
------
というエラーは、データローダーとサーバー間の通信において何かしらの問題が発生した際に出力されます。
 
このエラーが発生したほぼ全てのケースでは Salesforce のサーバー側にはリクエストが到達しておらず
アプリケーション側のログには何も記録されていないため、後追いでの調査が難しいものとなります。

また、多くのケースでは Proxy サーバーを利用されている事が報告されており
Proxy 上の何かしらの制限や問題により発生していることも考えられます。
解決策
同エラーが頻発する際には、以下についてご確認し、調査を行う必要があります。
  1. Proxy サーバーの利用有無
  2. Proxy サーバー側でエラーが発生しているログの有無
  3. Proxy サーバーと弊社サーバー間の通信が問題なく行えるかどうか (Proxy サーバーから Salesforce サーバーへの tracert / ping)
 
ナレッジ記事番号

000387208

 
読み込み中
Salesforce Help | Article