You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plumber-tableau app, which runs successfully on the Dogfood server, fails to operate on the marketplace testing instance. Can this be related to missing dependencies, firewall configurations, or other environmental factors? The error in the logs is not intuitive.
Test app code
library(plumber)
library(plumbertableau)
library(outForest)
library(dplyr)
#* @apiTitle Outlier Detection for Tableau
#* @apiDescription Detect outliers in real-time on Tableau data using a Random Forest
#* Calculate outliers on input data
#* @tableauArg sales:numeric Numeric values representing sales for a given transaction
#* @tableauArg profit:numeric Numeric values representing profit for a given transaction
#* @tableauReturn logical A vector indicating the outlier status of each original observation
#* @post /detect-outliers
function(sales, profit) {
dat <- tibble(sales, profit)
out <- outForest(dat)
outlier_rows <- outliers(out) %>%
select(row) %>%
distinct()
dat %>%
mutate(row = 1:n(),
outlier = row %in% outlier_rows$row) %>%
pull(outlier)
}
#* @plumber
tableau_extension
The same app failed to run on the Marketplace testing instance
Error in the log
2023/12/22 10:45:01 AM: Running plumber API at http://127.0.0.1:45949
2023/12/22 10:45:01 AM: Running swagger Docs at http://127.0.0.1:45949/__docs__/
2023/12/22 10:45:01 AM: Error in run_now(check_time, all = FALSE) :
2023/12/22 10:45:01 AM: Not compatible with requested type: [type=list; target=raw].
2023/12/22 10:45:01 AM: Calls: -> invokeCppCallback
2023/12/22 10:47:00 AM: [rsc-session] Received signal: interrupt
2023/12/22 10:47:00 AM: [rsc-session] Terminating subprocess with interrupt ...
2023/12/22 10:47:01 AM:
2023/12/22 10:47:01 AM:
2023/12/22 10:47:01 AM: Execution halted
2023/12/22 10:47:01 AM: Plumber API exiting ...
2023/12/22 10:47:01 AM: [rsc-session] Terminated subprocess with signal: interrupt
The text was updated successfully, but these errors were encountered:
The plumber-tableau app, which runs successfully on the Dogfood server, fails to operate on the marketplace testing instance. Can this be related to missing dependencies, firewall configurations, or other environmental factors? The error in the logs is not intuitive.
Test app code
The same app failed to run on the Marketplace testing instance
![Screenshot 2023-12-22 at 11 56 27 AM](https://private-user-images.githubusercontent.com/17551950/292563807-bbe707a3-57ab-46f8-b40f-11d4d45f8eef.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU4MDA0MjcsIm5iZiI6MTcyNTgwMDEyNywicGF0aCI6Ii8xNzU1MTk1MC8yOTI1NjM4MDctYmJlNzA3YTMtNTdhYi00NmY4LWI0MGYtMTFkNGQ0NWY4ZWVmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDEyNTUyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZmNmNlOTIxMmY4ZTM3ZDMyYWRkMjJhMzkzMDYyNDVhNmQ0OGEwNWE1YzY5ODk5YWQ2ODQwNGM2NWEwMGM3N2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.HXKFrhUL5u6I2X5XJTmTQFIEsScWHnQfAyCtTWJcDnE)
![Screenshot 2023-12-22 at 11 56 36 AM](https://private-user-images.githubusercontent.com/17551950/292563808-07fbd1d1-8b0f-4a09-b8a7-59999473c0da.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU4MDA0MjcsIm5iZiI6MTcyNTgwMDEyNywicGF0aCI6Ii8xNzU1MTk1MC8yOTI1NjM4MDgtMDdmYmQxZDEtOGIwZi00YTA5LWI4YTctNTk5OTk0NzNjMGRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDEyNTUyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwZTA0MjBmYjAwODRjNjY4MmMwY2E2ODc2ZWQzZTkxZjM1MmY1NzYwZmFiNTc3MGY5MjUzOTYwNGNkYWI4YzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RD7qUJbwz5uk2Fw-Zdhi2ebThUkGOlkoRMtfUq0gmFY)
Error in the log
The text was updated successfully, but these errors were encountered: