# Unable to establish an RPC connection to baobab environment

**URL:** <https://devforum.kaia.io/t/unable-to-establish-an-rpc-connection-to-baobab-environment/4403>\
**Category:** KAS (Archive)\
**Created:** [3월 16, 2022, 9:59오후 UTC](https://devforum.kaia.io/t/unable-to-establish-an-rpc-connection-to-baobab-environment/4403 "2022-03-16T21:59:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruce\_riley](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bruce\_riley](https://devforum.kaia.io/u/bruce_riley)\
**Post date:** [3월 16, 2022, 9:59오후 UTC](https://devforum.kaia.io/t/unable-to-establish-an-rpc-connection-to-baobab-environment/4403/1 "2022-03-16T21:59:16Z")

</div>

I am trying to establish an rpc connection to the baobab environment using the klaytn go library (v1.7.3) . I am calling klay\_client.DialContext() passing in a url that looks like this:  
wss://:@node-api.klaytnapi.com/v1/ws/open?chain-id=1001  
Where and are my actual credentials.  
This is returning bad status. I suspect that the url I am passing in is invalid.

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Denver](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/denver/32/557_2.png) [@Denver](https://devforum.kaia.io/u/Denver)\
**Post date:** [3월 17, 2022, 11:56오후 UTC](https://devforum.kaia.io/t/unable-to-establish-an-rpc-connection-to-baobab-environment/4403/2 "2022-03-17T23:56:20Z")

</div>

@bruce_riley

Hi. This is a known [issue](https://github.com/klaytn/klaytn/issues/1111).  
The Team is currently working on it.

If this [patch](https://github.com/klaytn/klaytn/pull/1202) is merged, the issue will be solved.

Thanks.
