Forum Discussion
BrAth
20 days agoBronze I
Error in lab in SVMs Behavior Detection
Ref: /v2/labs/fundamental-ai-algorithms-ep-7-svms-behavior-detection/category/ai/series/fundamental-ai-algorithms In Cell-2 of the lab, I used the code below: # connect to elasticsearch using th...
SamDickison
Community Manager
16 days agoBrAth Try reverting to the lab's suggested hostname by using 'http://elasticsearch:9200' or 'http://localhost:9200' instead of the hardcoded Docker bridge IP. If the connection still fails, double-check that the Elasticsearch service has fully started up in your lab environment before running the cell.
- BrAth8 days agoBronze I
Thanks for your response. But you see my query, I already tried that.
#es = Elasticsearch( 'http://elasticsearch:9200', basic_auth=( 'python', 'pythonisawesome' ) )
#es = Elasticsearch( 'http://127.0.0.1:9200', basic_auth=( 'python', 'pythonisawesome' ) )
es = Elasticsearch( 'http://172.17.0.1:9200', basic_auth=( 'python', 'pythonisawesome' ),