Message:
{
"message": "Error processing script",
"info": "The endpoint you're trying to query did not respond. Please make sure the endpoint exists and the correct set of arguments are provided."
}
Tabpy log:
2020-08-18,21:31:23 [DEBUG] (base_handler.py:base_handler:115): Querying http://localhost:9004/query/linspace1112...
2020-08-18,21:31:23 [DEBUG] (connectionpool.py:connectionpool:230): Starting new HTTP connection (1): localhost:9004
2020-08-18,21:31:23 [DEBUG] (base_handler.py:base_handler:115): Checking if need to handle authentication
2020-08-18,21:31:23 [DEBUG] (base_handler.py:base_handler:115): Handling authentication
2020-08-18,21:31:23 [DEBUG] (base_handler.py:base_handler:115): Checking request headers for authentication data
2020-08-18,21:31:23 [INFO] (base_handler.py:base_handler:115): Authorization header not found
2020-08-18,21:31:23 [DEBUG] (base_handler.py:base_handler:115): Processing POST for /query/linspace1112...
2020-08-18,21:31:23 [ERROR] (base_handler.py:base_handler:115): Failing with 401 for unauthorized request
Environment information:
Describe the issue Unable to call custom function on enabling authetication
tabpy.conf
tabpy-user add -u user123 -p ... -f /TabPy/pwd.txt
Deploy function:
Dont work:
Message: { "message": "Error processing script", "info": "The endpoint you're trying to query did not respond. Please make sure the endpoint exists and the correct set of arguments are provided." } Tabpy log:
Work:
The same problem persists for Tableau Client.