# ConnectionError: ray client connection timeout, Ray, Kubernetes

**URL:** <https://discuss.ray.io/t/connectionerror-ray-client-connection-timeout-ray-kubernetes/5313>\
**Category:** Uncategorized\
**Created:** [March 5, 2022, 5:34pm UTC](https://discuss.ray.io/t/connectionerror-ray-client-connection-timeout-ray-kubernetes/5313 "2022-03-05T17:34:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![subbu\_prasant](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/subbu_prasant/32/2244_2.png) [@subbu\_prasant](https://discuss.ray.io/u/subbu_prasant)\
**Post date:** [March 5, 2022, 5:34pm UTC](https://discuss.ray.io/t/connectionerror-ray-client-connection-timeout-ray-kubernetes/5313/1 "2022-03-05T17:34:02Z")

</div>

i am able to connect when i run from command line(python test.py). when i try to connect from jupyter notebbok throws conection timeout

from collections import Counter

import sys

import time

import ray

ray.init(f"ray://a7f40d360bfcc43709d8fadb5e892376-1833238632.us-east-1.elb.amazonaws.com:10001")
