1 of 1 people found this helpful
Are you able to ping the WMS server from your Tableau Server machine? There may be a network configuration that needs to be changed to allow the connection.
I have the same issue as you mentioned in this post, were you able to fix it ?
I got Tableau desktop and server on the same machine,
on Desktop I can load the map but on server It's giving me the following Error
(same as the one in the topic screen shot).
"Failed to connect to wms server
couldn't connect to server"
Bump. This seems to be missing from the Tableau documentation. Kent Marten, could something be added to the "Add WMS Server" documentation page describing the workflow for sharing workbooks with a WMS source? Does each person need to re-enter the source URL when sharing the workbook? What about when you publish to server and it "can't find" the URL?
Ashwin Kumar Kent Marten, I'll add that removing WMS services from all sheets, but keeping the URL's stored in the map services list, changes the server error to "Uncaught Failed to re-initialize session". Removing all URL's from the map services list corrects all errors. Then working backwards, the behavior is reproducible by adding a URL to the stored list and republishing, then adding the WMS to a sheet.
Perhaps the server doesn't have internet access to the URL, but the "uncaught failed" error is of no value. It took a lot of trial and error to figure out the Map Services list is triggering that error. Can we get some Tableau feedback on that?
Give this a try...
Open that dashboard on Tableau Server in a web browser. Add the following to the URL: ?:render=true
Let me know if it loads up.
There is a known issue that describes this exactly. There are some different steps to consider by following this note from Tableau Support: https://kb.tableau.com/articles/issue/maps-do-not-display-or-render-incompletely-on-tableau-server
Let me know if that was your issue.