Machine Readable News - Error when using Python SFTP Code

Hello, I am receiving an error when using the below code:
The error we're receiving is a timeout error shown below. Grateful for advice on what we may be doing incorrectly which is contributing to the error? To note, I have a working SFTP connection via Filezilla for this. Programmatically connecting via Python is proving difficult however
Best Answer
-
Hello @darren.rogers
You might need to set the proxy in the Python code to lets Python connect to the MRN Remote server via proxy. Please find more detail on this Using Paramiko with SOCKS proxy post.
If the problem still persists after setting a proxy, I strongly suggest you contact the MRN support team via https://myaccount.lseg.com/en/productsupport website to help you.
0
Answers
-
Thank you for reaching out to us.
I got the same error when running the code on the company's laptop.
However, I can connect to the SFTP server after using VPN.
The connection may be blocked from a security application (Zscaler).
0 -
Hello @darren.rogers
Please be informed that the code needs to be run with the VPN on my local environment as mentioned by my colleague.
I strongly suggest you contact your local IT Support to verify if there is any firewall or network policy that blocks a connection between your Python script and the MRN SFTP Remote server.
0 -
Hi @wasin.w @Jirapongse To confirm our proxy is open & we can make a successful connection via Filezilla. Therefore we are confident we don't have firewall issues at play. Are there any other suggestions as to why we're getting the timeout error?
0 -
Hi @wasin.w , your latest suggestion has helped us crack the case and get the connection working. Thanks to everyone who has contributed for helping us with this.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛