Closed epifanio closed 4 years ago
I also tried to expose the service in docker on the "outside" so that is is available at:
http://localhost:7000/basket/tsplot?get=param&resource_url=http://hyrax:8080/opendap/SN99938.nc
But then drupal doesn't execute neither the get parameter request and returns the following log:
Service call did not succeed. Ensure that the following URL is correct.
http://localhost:7000/basket/tsplot?get=param&resource_url=http://hyrax:8080/opendap/SN99938.nc
Not an issue on live system.
in the metsis_ts_bokeh module, when the Plotting routing is called via its IP (e.g.: http://0.0.0.0/basket/tsplot?get=param&resource_url=http://hyrax:8080/opendap/SN99938.nc ) -- the plot is rendered correctly -- But when the URL supplied to the system, is using the "service-name" used in the Docker-compose environment (e.g.: http://fastapi/basket/tsplot?get=param&resource_url=http://hyrax:8080/opendap/SN99938.nc ) The module is able to fetch the list of plotting variables but then fails to retrieve the json data needed to render the plot.
The log in the browser console shos: