Need assistance to find a solution to my occasional disconnects.

Got a problem with Viscosity or need help? Ask here!

KStroSec

Posts: 9
Joined: Wed Jul 17, 2019 2:23 am

Post by KStroSec » Tue Apr 12, 2022 6:54 am
on occasion I am getting disconnected from the VPN, the only event I can see that might be causing the issue is this
event id: 1992 source: viscosityservice
Failed to write RevertConfig. Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=(i removed this for posting)' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
and this shows in connection log
Apr 11 2:40:29 PM: State changed to Connected
Apr 11 3:08:44 PM: Testing address: (i removed ip) Route points into VPN network
Apr 11 3:08:44 PM: Route: 128.0.0.0/1
Apr 11 3:08:44 PM: Disconnecting connection as it is no longer reachable
Apr 11 3:08:44 PM: State changed to Disconnecting (Network Change)
Apr 11 3:08:44 PM: SIGTERM received, sending exit notification to peer
Apr 11 3:08:44 PM: Warning: route gateway is not reachable on any active network adapters: (i removed ip)
Apr 11 3:08:44 PM: SIGTERM[soft,exit-with-notification] received, process exiting
Apr 11 3:08:44 PM: OpenVPN has exited. Exitcode = 0
Apr 11 3:08:44 PM: State changed to Disconnected
I have tried reinstalling both my ethernet driver and viscosity
I have also tried resetting my network settings.
I have also disabled Energy Efficient Ethernet and Green Ethernet.

One other thing I am trying right now is disabling power management for the usb-c port that my ethernet goes through, because it uses usb-c port to connect to a dock that uses the ethernet. So I am unable to disable this for the ethernet device itself.

I am using ethernet on a windows 11 machine.

Any ideas?

Eric

User avatar
Posts: 1146
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Tue Apr 12, 2022 8:51 am
Hi KStroSec,

The address pointing into the VPN over that route suggests that your ethernet connection is dropping out. I'm afraid though, you have tried everything we'd suggest. It's possible the dock you are using is being overdrawn on power and causing a short cut to power, so I'd suggest trying your ethernet dongle connected directly to a USB port on your machine if you can, or if it's built into your dongle, disconnect everything else from the dongle.

Regards,
Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

KStroSec

Posts: 9
Joined: Wed Jul 17, 2019 2:23 am

Post by KStroSec » Fri Apr 15, 2022 12:04 am
Sorry for my late reply,

thanks for your reply!

KStroSec

Posts: 9
Joined: Wed Jul 17, 2019 2:23 am

Post by KStroSec » Fri Apr 15, 2022 3:59 am
I do still wonder about this error,

event id: 1992 source: viscosityservice
Failed to write RevertConfig. Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=(i removed this for posting)' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

This keeps showing up in my event log, any idea about this?

James

User avatar
Posts: 2312
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Mon Apr 18, 2022 10:38 pm
Hi KStroSec,
I do still wonder about this error
It is likely being caused by a clash between a locally installed .NET package versions. You can try to resolve the issue by manually re-installing the .NET framework and/or running a .NET repair using the links below. It's something that we're aware of - we're hoping it's something we can find a workaround for in a future update to Viscosity.

https://dotnet.microsoft.com/en-us/down ... work/net48
https://www.microsoft.com/en-us/downloa ... x?id=30135

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

KStroSec

Posts: 9
Joined: Wed Jul 17, 2019 2:23 am

Post by KStroSec » Tue Apr 19, 2022 12:09 am
Ok, thanks
6 posts Page 1 of 1