# Socketexpection network is unreachable - hail read matrix table

**URL:** <https://discuss.hail.is/t/socketexpection-network-is-unreachable-hail-read-matrix-table/4160>\
**Category:** Hail Query & hailctl\
**Created:** [June 5, 2025, 3:57pm UTC](https://discuss.hail.is/t/socketexpection-network-is-unreachable-hail-read-matrix-table/4160 "2025-06-05T15:57:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![complexgenome](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/complexgenome/32/1292_2.png) [@complexgenome](https://discuss.hail.is/u/complexgenome)\
**Post date:** [June 5, 2025, 3:57pm UTC](https://discuss.hail.is/t/socketexpection-network-is-unreachable-hail-read-matrix-table/4160/1 "2025-06-05T15:57:45Z")

</div>

Hi there,  
I am trying to run hail gnomad tutorial for ancestry. It is convulated for my skills.  
I have installed all tools, dependencies, set jar path and other things.

> import sys  
> print(sys.path)  
> sys.path.append(‘/sc/arion/projects/gapslab/team\_folders/sanjeev/projects/TARCC/ancestry\_estimation/pip\_python3.12/’)  
> import os
> 
> java\_home\_path=“/hpc/packages/minerva-rocky9/java/21.0.4/jdk-21.0.4/” # Replace with the actual path to your JDK
> 
> os.environ[“JAVA\_HOME”] = java\_home\_path
> 
> import hail as hl  
> import gnomad

Error step:

###### these are intermediate files that helped with running the script faster - not included in the main list of files

> unrelateds\_mt\_preoutlier = hl.read\_matrix\_table(‘gs://hgdp-1kg/tutorial\_datasets/pca/temp\_files/unrel\_preout.mt’)  
> relateds\_mt\_preoutlier = hl.read\_matrix\_table(‘gs://hgdp-1kg/tutorial\_datasets/pca/temp\_files/rel\_preout.mt’)

I run into error for socketexception network is unreachable.

I’ve enabled proxies in the cluster.

Can you please help me with this?
