# Opc connection error

**URL:** <https://forum.inductiveautomation.com/t/opc-connection-error/77611>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [August 9, 2023, 5:56am UTC](https://forum.inductiveautomation.com/t/opc-connection-error/77611 "2023-08-09T05:56:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![govind](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@govind](https://forum.inductiveautomation.com/u/govind)\
**Post date:** [August 9, 2023, 5:56am UTC](https://forum.inductiveautomation.com/t/opc-connection-error/77611/1 "2023-08-09T05:56:42Z")

</div>

Hello dear,

I face an issue while creating the connection between the ignition OPC client and the wincc opc server.

web socket problem occurred during creating an OPC connection.

Connect through siemens manageable switch.

Error photos are attached for refinances.

 ![IMG-20230807-WA0002](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/2/52f9bdd3ca07aebe6f44ddf16e44a8921549ae3d.jpeg)  
 ![IMG-20230807-WA0007](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/0/e0799654561340e672e98f8574e9ab6df6f68913.jpeg)  
 ![IMG-20230807-WA0003](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/e/6e270e8821a62d200c9f5e6daf3b24b88eab4b57.jpeg)  
 ![IMG-20230807-WA0004](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/a/dafc68092db26e10de576c06ced926ff9cda8fb3.jpeg)  
 ![IMG-20230807-WA0005](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/9/4928050f71c3542415f22e8a9fc19a7e9c818c7e.jpeg)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 9, 2023, 11:51am UTC](https://forum.inductiveautomation.com/t/opc-connection-error/77611/2 "2023-08-09T11:51:33Z")

</div>

Those errors are from your Gateway Area Network connections, not from OPC. (OPC doesn't use websockets.)

---

<div class="post-metadata">

**Author:** ![govind](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@govind](https://forum.inductiveautomation.com/u/govind)\
**Post date:** [August 10, 2023, 4:00am UTC](https://forum.inductiveautomation.com/t/opc-connection-error/77611/3 "2023-08-10T04:00:09Z")

</div>

Hello dear,

Thanks for the reply,

Firstly I connect the WINCC OPC connection in the local network and at that time connection working ok.

But, after configuring Siemens manageable LAN switch and then try to connect through switch.

At that time web socket error occurred.

So, How to resolve this issue.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [August 10, 2023, 4:32am UTC](https://forum.inductiveautomation.com/t/opc-connection-error/77611/4 "2023-08-10T04:32:24Z")

</div>

Sounds like you have an issue in your switch configuration not letting traffic through
