Hi everyone,
I’m struggling to get Tableau Prep to recognize my TabPy server on macOS. Despite several attempts, Prep doesn't seem to establish a connection to the local server, and I’m hitting a wall.
I have been using the exact same Python scripts that work seamlessly on Windows. Even after updating the file paths and environment configurations to match the Mac file system, the connection fails. This leads me to believe it might be an issue specific to how Tableau Prep handles external service connections on macOS, rather than a script or tabpy error itself.
First, can you confirm that TabPy is actually running and reachable from the Mac? For example, if TabPy is running on the default port (9004), try accessing the endpoint from a browser or using a command such as:
curl http://localhost:9004/status
If that does not return a response, the issue is likely with TabPy itself rather than Tableau Prep.
A few other areas worth checking:
- Verify that Tableau Prep and TabPy are both running natively on the same architecture (Intel vs Apple Silicon), especially if you're using Python environments created on a different platform.
- Confirm that macOS Firewall or security settings are not blocking local connections.
- Check whether Tableau Prep is configured to connect to localhost, 127.0.0.1, or a hostname that resolves correctly on your Mac.
- Review the Tableau Prep logs and TabPy logs for connection-related errors. They often provide more detail than the UI.
- Make sure the TabPy version is supported by the version of Tableau Prep you are using.