Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join now60 Days of Data Days! Live and on-demand sessions, challenges, study groups and more! And it's all FREE!. Join now. Learn more
I have python code working on my computer.
from elasticsearch import Elasticsearch
es = Elasticsearch(
hosts=[{'host': 'ip', 'port': 9200}],
http_auth=('name', 'username'),
)
I want to run on the notebook of fabric. It is giving timeout error which may be because the ip is accesible using my computer. I have installed gateway on my computer. What should I do?
Solved! Go to Solution.
The code works if you run the notebook with Vs code extension
see more on https://learn.microsoft.com/en-us/fabric/data-engineering/setup-vs-code-extension
The code works if you run the notebook with Vs code extension
see more on https://learn.microsoft.com/en-us/fabric/data-engineering/setup-vs-code-extension
| User | Count |
|---|---|
| 33 | |
| 10 | |
| 8 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 52 | |
| 27 | |
| 18 | |
| 18 | |
| 15 |