# Getting Error : " ServiceUnavailable: WebSocket connection failure. "

**URL:** <https://community.neo4j.com/t/getting-error-serviceunavailable-websocket-connection-failure/14576>\
**Category:** Browser\
**Created:** [February 11, 2020, 9:46am UTC](https://community.neo4j.com/t/getting-error-serviceunavailable-websocket-connection-failure/14576 "2020-02-11T09:46:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hari\_prasad.k](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/hari_prasad.k/32/4649_2.png) [@hari\_prasad.k](https://community.neo4j.com/u/hari_prasad.k)\
**Post date:** [February 11, 2020, 9:46am UTC](https://community.neo4j.com/t/getting-error-serviceunavailable-websocket-connection-failure/14576/1 "2020-02-11T09:46:11Z")

</div>

I am using neo4j 3.4.1 installed on Linux 7.5 server.  
It was working fine all these days , but after I upgraded my Microsoft Office , it started giving following error when I try to access neo4j in chrome browser

Error message:

ServiceUnavailable: WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the root cause of the failure. Common reasons include the database being unavailable, using the wrong connection URL or temporary network problems. If you have enabled encryption, ensure your browser is configured to trust the certificate Neo4j is configured to use. WebSocket `readyState` is: 3

---

<div class="post-metadata">

**Author:** ![hari\_prasad.k](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/hari_prasad.k/32/4649_2.png) [@hari\_prasad.k](https://community.neo4j.com/u/hari_prasad.k)\
**Post date:** [February 11, 2020, 9:49am UTC](https://community.neo4j.com/t/getting-error-serviceunavailable-websocket-connection-failure/14576/2 "2020-02-11T09:49:08Z")

</div>

I uncommented this line in neo4j.conf file and tried , still I am getting same error.  
dbms.connector.bolt.listen\_address=:7687

added https://:7687 to exception by hitting this url directly from browser.

No success as of now. Can you please help?

Thanks

---

<div class="post-metadata">

**Author:** ![nagakishore64](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/nagakishore64/32/13131_2.png) [@nagakishore64](https://community.neo4j.com/u/nagakishore64)\
**Post date:** [August 6, 2020, 1:34pm UTC](https://community.neo4j.com/t/getting-error-serviceunavailable-websocket-connection-failure/14576/3 "2020-08-06T13:34:45Z")

</div>

Hi,  
in my case it was firewall issue(on my testbox), post my centos server restart firewalld service restarted. So i disabled it permanently. You can check below areas

## Troubleshoot Neo4j browser issues:

## -check firewall is disabled

```
service firewalld status
systemctl disable firewalld

```

## -check owner/permissions on below paths

```
chown -R neo4j:neo4j /var/lib/neo4j/data /var/lib/neo4j/plugins /usr/share/neo4j/lib /var/run/neo4j /var/lib/neo4j/metrics /var/log/neo4j 
chmod -R 777 /var/lib/neo4j/data /var/lib/neo4j/plugins /usr/share/neo4j/lib /var/run/neo4j /var/lib/neo4j/metrics /var/log/neo4j 

```

## -check non-local connections are allowed or not

```
dbms.default_listen_address=0.0.0.0
dbms.connector.bolt.address=0.0.0.0:7687

```

**PS: All (or) some of the above settings may not be recommended for PROD boxes.**
