microsoft / showwhy

MIT License
203 stars 29 forks source link

"Failed to fetch" error when doing causal discovery #331

Open martinfrasch opened 1 year ago

martinfrasch commented 1 year ago

Running on Ubuntu 22.04 LTS on Intel i9 (Intel® Core™ i9-9900K CPU). Latest Chrome browser. All up-to-date. The installation went well. Loaded my dataset. 170 rows, 50 columns, some data is missing. When performing causal discovery even on 3 nodes (only continuous data), the correlations are computed fine, but when doing autodiscovery of causal relationships, regardless of the model, I get the error "failed to fetch" in the central window where the updated graph would appear.

gwendorff commented 1 year ago

HI!, I'm facing similar errors using it in my local network, but from another computer (http://local_computer_from_my_network:3000), but not when I use it locally (http://localhost:3000/). It seems ShowWhy works differently in this scenario.

avatar29A commented 1 year ago

I have same issues with the example dataset ( Trying following for tutorial (https://www.youtube.com/watch?v=Im1V4h4mT-0) but I have got error: "Failed to fetch after run Discover process."

--- UPD I think the problem related with RUN_CAUSAL_DISCOVERY_BASE_URL. In debug we see, that they assigned with 'http://localhost:8081/api/discover/notears'. But currently I can't find where it's done .

vishal-d11 commented 1 year ago

https://github.com/microsoft/showwhy/issues/399#issuecomment-1511473185