Closed BigBagss closed 1 year ago
Does this happen when you do something specific? Like executing a wnp bang like pausing/skipping, or when closing the browser?
funnily enough, this catches me mostly off guard when i leave my computer, and i am pretty sure the browser is minimized (sometimes with a few tabs of youtube videos). so i come back and see that rainmeter was closed.
Please give this version a go: WebNowPlaying.zip
thanks for the help! i will update if i see any crashes with this version.
Please give this version a go: WebNowPlaying.zip
I also had a similar problem like this. But in my case Rainmeter couldn't turn on. Tried this version and the latest but still not working.
weird, what used to happen is it would simply crash but i could re open rainmeter normally with no issues and it would crash some time later again. but ever since using the version above i had 0 crashes so far, seems like it's working for me.
maybe you have some old/broken plugin/skin causing those crashes...
@lehuymanhtan If possible, please provide some Rainmeter logs or event viewer logs as without those there is nothing I can diagnose.
@BigBagss Good to know it's going well so far, I'm hoping it'll stay that way. Have you had issues with it not reporting media at all, instead of crashing?
@lehuymanhtan If possible, please provide some Rainmeter logs or event viewer logs as without those there is nothing I can diagnose.
I think I found out why my Rainmeter crashed. The plugin somehow can’t start the WebSocket. In version 1.2.0, if it can’t start the WebSocket, it writes it in the log. However, in newer versions, it crashes Rainmeter.
And here is crash log from Event Viewer:
Application: Rainmeter.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.HttpListenerException
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at WNPReduxAdapterLibrary.WNPHttpServer+<StartThreaded>d__6.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
@BigBagss Good to know it's going well so far, I'm hoping it'll stay that way. Have you had issues with it not reporting media at all, instead of crashing?
nope, as far as i can tell everything is working normally. thanks!
@lehuymanhtan I see, I can definitely catch this error but why can't it start it in the first place... Any other program running the same port?
@lehuymanhtan I see, I can definitely catch this error but why can't it start it in the first place... Any other program running the same port?
Nope. I checked Process Hacker and found no applications running on that port. By the way, I have fixed it just by restarting my computer.
Anyway, thank you all for your help.
Interesting, I'll still implement better error handling for it soon.
Please give this version a go: WebNowPlaying.zip
Just an FYI, this version did not work for me.
Getting the same WebSocket error in EventViewer
I replaced the DLL provided in the zip in the following location:
C:\Users\<username>\OneDrive\Documents\Rainmeter\Skins\@Vault\Plugins\WebNowPlaying\2.0.5.0\64bit
Event Viewer logs
If you need any logs, feel free to message me.
@mrinmaydhar The plugin needs to be replaced in %AppData%\Rainmeter\Plugins, so you didn't actually replace it.
Please give this version a go: WebNowPlaying.zip
Just an FYI, this version did not work for me. Getting the same WebSocket error in EventViewer I replaced the DLL provided in the zip in the following location:
C:\Users\<username>\OneDrive\Documents\Rainmeter\Skins\@Vault\Plugins\WebNowPlaying\2.0.5.0\64bit
Event Viewer logsIf you need any logs, feel free to message me.
i had no crashes after using this version. here is everything i did:
disabled native api support. docs
both locally and from the extension:
ran the command that added this directory ...\AppData\Local\WebNowPlaying\disable_native_apis
and disabled native API's from the chrome extension popup.
replaced WNPR in %AppData%\Rainmeter\Plugins
also check in rainmeter About Rainmeter->Plugins
to ensure that the new version is 2.0.5.1
@BigBagss native API shouldn't be the cause btw as they don't touch websockets.
@BigBagss native API shouldn't be the cause btw as they don't touch websockets.
yeah i suspected something like that, i don't really use the native API so i left it disabled and had no crashes with the new version. thanks!
I'll be waiting for a bit longer and if you still don't experience any crashes on the new version I'll release it and consider this closed.
@BigBagss I've confirmed the version as 2.0.5.1 as you suggested in About Rainmeter
. (Did not disable native API support, however)
@keifufu I've also replaced the DLL as you mentioned.
I'll keep a lookout for any more crashes. Thank you.
TL;DR: Rainmeter crashes at random times with versions greater than 1.2.0. windows event viewer Log included.
hi, thank you for this great plugin!
for some reason new releases (>1.2.0) cause Rainmeter to crash at random times (sometimes no crashes for a couple of days, sometimes a few times a day.)
this is the log i found in windows event viewer, i hope this helps:
and in the log i see
WNPReduxAdapterLibrary
so it's something with the plugin i guess.i don't know much about this but it could be my antivirus (Kaspersky free) blocking this or something like that, not sure.
things i've tried:
...\AppData\Local\WebNowPlaying\disable_native_apis
and disabled native API's from the chrome extension popup.only versions after 1.2.0 have this issue. (with 1.2.0 i have 0 crashes.) so i don't think this is an issue with Rainmeter/it's skins.
i am sorry if I'm missing the solution / something out about this in the documentation. thanks!