2016-09-09 15 views
2

抽出をTableauサーバーに公開中に次のエラーが表示されます。私はオンラインタブローサーバーとそのバージョンを使用しています抽出結果をTableauサーバーに公開中のエラー

com.tableausoftware.TableauException: Problem with the SSL CA cert (path? access rights?) 
    at com.tableausoftware.server.ServerConnection.connect(Unknown Source) 
    at com.tableau.sample.PublishOrder.main(PublishOrder.java:31) 
CURL_ERROR - Problem with the SSL CA cert (path? access rights?) 
com.tableausoftware.TableauException: Problem with the SSL CA cert (path? access rights?) 
    at com.tableausoftware.server.ServerConnection.connect(Unknown Source) 
    at com.tableau.sample.PublishOrder.main(PublishOrder.java:31) 

はここで10.0

である私のJavaコードがあります。これは私がUbuntuの12.04から、このJavaコードを実行していますTableau documentation

import com.tableausoftware.TableauException; 
import com.tableausoftware.common.*; 
import com.tableausoftware.server.*; 

public class PublishOrder { 

    public static void main(String[] args) { 

     try { 
      // Initialize Tableau Server API 
      ServerAPI.initialize(); 

      // Create the server connection object 
      ServerConnection serverConnection = new ServerConnection(); 

      // Connect to the server 
      serverConnection.connect("https://xxx.online.tableau.com", "[email protected]", "xxx", "xxx"); 

      // Publish order-java.tde to the server under the default project with name Order-java 
      serverConnection.publishExtract("order-java.tde", "default", "Order-java-ubuntu", false); 

      // Disconnect from the server 
      serverConnection.disconnect(); 

      // Destroy the server connection object 
      serverConnection.close(); 

      // Clean up Tableau Server API 
      ServerAPI.cleanup(); 
     } 
     catch (TableauException e) { 
      e.printStackTrace(); 
     } 
    } 
} 

で提供サンプルと同じです。 この問題を解決するのを手助けしてください

+1

Samuelは、APIのバグのようです。 https://community.tableau.com/message/470813#470813 –

答えて

0

このエラーは、システムでCA証明書が利用できないことを示しています。ファイル/usr/local/share/ca-certificatesが存在するか確認してください。 update-ca-certificatesを使用してこれらの証明書を更新する必要がある場合もあります。

+0

'' '/ usr/local/share/ca-certificates'''にはファイルが含まれていません。 ''/usr/share/ca-certificates/'' 'から' '/ usr/local/share/ca-certificates''にファイルをコピーする必要がありますか? – sag

+0

ファイルを ''/usr/local/share/ca-certificates''にコピーしても、この問題は解決されません。また '' '' sudo update-ca-certificates'''は役に立たなかった – sag

関連する問題