Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NodeLink and Mono Version

Featured Replies

Posted

Is there any issue running NodeLink under Mono version 5.16.0.179?

After doing an update to this version, I couldn't get NodeLink to run. After much difficulty, I decided to reinstall Mono, however, I can't get past the following:

Mono precompiling /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll for arm...

Thanks for any help.

Dennis

  • Author

Thank you, I wasn't able to understand what I did wrong.

Is there a way to delete current version and install the previous one?

It's running like a champ here.

 

Screen Shot 2018-10-14 at 5.54.39 AM.png

You likely don't have a device that uses an http client.  There's a pretty bad bug in their timespan implementation.  Surprised it made it through testing. 

Until mono releases a fix I did this:

- Commented out the repo in /etc/apt/sources.list.d/mono-official.list
- Ran sudo apt update
- Removed mono (sudo apt remove --purge --auto-remove mono-runtime)
- Installed raspbian version (sudo apt-get install mono-vbnc mono-complete)

This brings you back to 4.6.2.7.  Not ideal but it works.

Once it's fixed you'd just remove the mono-official comment and apt update.

  • Author
10 hours ago, io_guy said:

Until mono releases a fix I did this:

- Commented out the repo in /etc/apt/sources.list.d/mono-official.list
- Ran sudo apt update
- Removed mono (sudo apt remove --purge --auto-remove mono-runtime)
- Installed raspbian version (sudo apt-get install mono-vbnc mono-complete)

This brings you back to 4.6.2.7.  Not ideal but it works.

Once it's fixed you'd just remove the mono-official comment and apt update.

Thank you! Following your instructions, I was able to revert back to Mono v4.6.2.7 and get NodeLink running again.

I did have an extra step to perform however. Apparently, the error (previous post) was preventing me from removing mono-runtime. I had to remove the files inside /var/lib/dpkg/updates first. Once I did that everything else went as you described.

Thanks again for your assistance.

Edited by DennisC
Typo

4 hours ago, DennisC said:

Thank you! Following your instructions, I was able to revert back to Mono v4.6.2.7 and get NodeLink running again.

I did have an extra step to perform however. Apparently, the error (previous post) was preventing me from removing mono-runtime. I had to remove the files inside /var/lib/dpkg/updates first. Once I did that everything else went as you described.

Thanks again for your assistance.

As a matter of interest what RPi version are you installing to?

  • Author
1 hour ago, larryllix said:

As a matter of interest what RPi version are you installing to?

4.14.71, latest build.

On 10/15/2018 at 2:31 PM, DennisC said:

4.14.71, latest build.

LOL. I wanted the RPi model, not the firmware version. I assume it is an RPi ??

Edited by larryllix
Changed Q to positive

  • Author

LOL

Sorry, it's an RPI 3 B+, running Raspbian version 4.14.71.

On ‎10‎/‎14‎/‎2018 at 2:10 PM, io_guy said:

You likely don't have a device that uses an http client.

Sorry for the stupid question but can you give an example of an http client you were referring to ?

Thanks,

Tim

4 hours ago, TJF1960 said:

Sorry for the stupid question but can you give an example of an http client you were referring to ?

Thanks,

Tim

Mono can use http:// to talk to the ISY and nodelink supported devices on local APIs.

Examples of devices that nodelink supports on a local api via http: includes the rainmachine and Venstar Colortouch Thermostats.

Paul

Edited by paulbates

On 10/15/2018 at 9:00 AM, DennisC said:

Thank you! Following your instructions, I was able to revert back to Mono v4.6.2.7 and get NodeLink running again.

I did have an extra step to perform however. Apparently, the error (previous post) was preventing me from removing mono-runtime. I had to remove the files inside /var/lib/dpkg/updates first. Once I did that everything else went as you described.

Thanks again for your assistance.

I reinstalled the broken 5.16.0.179 to test out using the interpreter instead of JIT (saw it work for someone on a forum).  FYI, it doesn't work.

Another forum mentioned that this is RPi specific and that it has something to do with the complete library (which didn't make a lot of sense to me, but I figured I'd try).  So I removed all of mono again and reinstalled with just "sudo apt install mono-vbnc libmono-system-net-http*" and all is running fine now.

If you've got a few minutes and some bravery it could be worth trying.  Otherwise I noticed the bug made it to mono's "bug week" so it'll be fixed in the next minor release.

  • Author
7 hours ago, io_guy said:

I reinstalled the broken 5.16.0.179 to test out using the interpreter instead of JIT (saw it work for someone on a forum).  FYI, it doesn't work.

Another forum mentioned that this is RPi specific and that it has something to do with the complete library (which didn't make a lot of sense to me, but I figured I'd try).  So I removed all of mono again and reinstalled with just "sudo apt install mono-vbnc libmono-system-net-http*" and all is running fine now.

If you've got a few minutes and some bravery it could be worth trying.  Otherwise I noticed the bug made it to mono's "bug week" so it'll be fixed in the next minor release.

I fear I'm not knowledgeable enough to recover if I get in to trouble. I think I will wait until it's proven to be fixed. I like it when things work. Lol

Thanks for keeping me informed.

3 hours ago, DennisC said:

I fear I'm not knowledgeable enough to recover if I get in to trouble. I think I will wait until it's proven to be fixed. I like it when things work. Lol

Thanks for keeping me informed.

If things are working, you can continue to upgrade nodelink and not mono. I'm sure not upgrading mono.

Paul

  • Author

Until they figure things out, that's my plan.

On ‎10‎/‎20‎/‎2018 at 9:20 PM, io_guy said:

I reinstalled the broken 5.16.0.179 to test out using the interpreter instead of JIT (saw it work for someone on a forum).  FYI, it doesn't work.

Another forum mentioned that this is RPi specific and that it has something to do with the complete library (which didn't make a lot of sense to me, but I figured I'd try).  So I removed all of mono again and reinstalled with just "sudo apt install mono-vbnc libmono-system-net-http*" and all is running fine now.

If you've got a few minutes and some bravery it could be worth trying.  Otherwise I noticed the bug made it to mono's "bug week" so it'll be fixed in the next minor release.

This worked great for me. Thanks io_guy!

Question, once the bug is fixed do we revert back to the original package and upgrade or stick with this package just installed?

Edit: I noticed I am getting "TCC Login Error: The socket is not connected" errors. Could it be this version of mono?

Edited by TJF1960

On 10/20/2018 at 4:42 PM, paulbates said:

Mono can use http:// to talk to the ISY and nodelink supported devices on local APIs.

Examples of devices that nodelink supports on a local api via http: includes the rainmachine and Venstar Colortouch Thermostats.

Paul

I'm running the affected version of Mono (version: 5.16.0.179) on an RPi, and my RainMachine is connecting to NodeLink over http -- "Use HTTPS" is NOT checked in the NodeLink configuration.  It's working...  ?

I've certainly got no clue.

I'm running the affected version of Mono (version: 5.16.0.179) on an RPi, and my RainMachine is connecting to NodeLink over http -- "Use HTTPS" is NOT checked in the NodeLink configuration.  It's working...  [emoji2957]
I've certainly got no clue.

Yep, and I believe you. But as a traveler with a fully locked down firewall config, I can’t risk knocking out ‘prod’ for no substantive improvements. I only update my pi once a year anyway, or if there is a significant relevant security patch.

Paul


Sent from my iPhone using Tapatalk

Been watching the mono bug report, looks like it's nicely broken.

If you do run 5.16.0.179 you can add a command line option "-O=-aot" to resolve the issue.  so "mono -O=-aot NodeLink.exe".

Archived

This topic is now archived and is closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.