Jump to content

bpwwer

Moderators
  • Posts

    3265
  • Joined

  • Last visited

Everything posted by bpwwer

  1. If this is a new eisy, you should first update the system. Go to the Admin Console, select the Configuration tab and select the Upgrade Packages button. This can take some time depending on how much needs to be updated, it could take as long as 30 minutes. Also, PG3 uses a self-signed certificate so the browser will flag that as not secure and you have to explicitly trust it's certificate to get the page to load. I can't tell from your post what is happening. "This site cannot be reached" is typically because the PG3 isn't running, but I don't know where "client ID is not valid" is coming from. That could be related to the certificates.
  2. Looks like Emporia changed the API slightly. I updated the node server and it should work now. Version 1.0.23
  3. bpwwer

    SolarEdge APIs

    @RossI didn't write the node server, I believe @xKingdid. I converted it from a PG2 node server to PG3 node server.
  4. It sound like the IoX service didn't start back up after the upgrade. PG3x needs to the IoX service to be running or it can't start. Can you start the admin console from the IoX finder?
  5. No. @xKing just needs to fix the requirements file so it uses the working version of the library it needs.
  6. @glarsenThe node servers that are written in node.js need to be updated to work with PG3x. I've updated ST-Inventory but haven't had time to update the others yet.
  7. If you're using PG3x on eisy, there's a bug that's preventing it from restarting node servers on start up. It's been identified and resolved so the fix will be included in the next release.
  8. The problem is that the node server didn't really stop when PG3 told it to. So it's still running. And because it's still running PG3 won't let you start it again. If you're familiar with Unix commands, you can ssh to the Polisy and kill off the running copy. Then use PG3 to start it. Otherwise, restarting PG3 should also kill it. If not, a reboot of the Polisy will for sure.
  9. @garybixlerBased on that info, PG3x is trying to verify the node servers installed on the IoX, it does that every 5 minutes. While it was doing that, the IoX device refused the connection, causing the exception. I'll see if I can trap that exception since that shouldn't cause PG3x to shutdown. But since it's happening around the same time every day, is there something happening on the IoX at that time that would make it too busy to accept connections from PG3x?
  10. The node server's not starting on restart is a bug. I'm looking into it. @garybixlerYour log shows that some type of network error occurred that PG3 was unable to handle, so it shutdown. it doesn't provide any information on what may have caused the error or what PG3 was trying to do when the error occurred. Was there anything in the log prior to the exception that may help? Is it happening at the same time every day?
  11. That's the IoX's uuid '_' slot number so it would be specific to your setup. From the eisy's ssh command line you can do ls -l /var/polyglot/pg3/ns to see how each installed node server is represented.
  12. It should be at 5 minute intervals, not 30 seconds. But I've seen it do something like this before where the timer doesn't wait for the specified time. I wasn't seeing it happen at 30 second intervals, but I'm going upgrade everything and check again.
  13. 3.1.16 is the latest version of PG3 for Polisy 3.1.20 is the latest version of PG3x for eisy
  14. That's strange. A node server shouldn't be able to effect that connection. Can you try installing it again? If it does the same thing, capture the node server and PG3 log and post or pm it to me.
  15. Release nodes are published and the 3.1.20 package should be available now.
  16. So it actually works! I wasn't sure if the notification of new versions was working. I added that recently as I thought it might help notify folks about new updates. I guess I need to be better about finishing the packaging process when I create a new release now. The code is available, but the eisy package hasn't been updated yet to install it.
  17. The data reported by the node server is what the Ambient servers report. There's no conversion happening in the node server.
  18. Double check that the ISY configuration is correct. To connect to the ISY running on the Polisy you should have the IP address set to 127.0.0.1:8080 and re-enter the username and password. The PG3 log should show why it is unable to connect to the ISY instance but it most likely either a wrong IP/port or wrong password.
  19. Yes, both my eisy and Polisy leave the other network settings blank when using DHCP. Only the IP address is shown.
  20. PG3x can only migrate the node servers, not the licenses. The licenses need to be migrated through the portal. If you log into your portal account and select migrate under the Select Tools -> Maintenance -> Migrate to there's an option to migrate the licenses from the Polisy to the eisy.
  21. OK. You'll have to submit a support ticket so someone can remote in and figure out what's wrong. https://www.universal-devices.com/my-tickets reference: "PG3x login failure (UDX socket)" in the ticket
  22. Thanks! That's what I needed to see. It looks like the service PG3x uses to authenticate is hung. Have you tried rebooting the eisy? If not, try that.
  23. Thanks! That narrows it down a little but it didn't log enough to pin-point what went wrong. I see it making the request to authenticate, but then PG3x restarts. That does indicate that something crashed and it wasn't able to handle it. If you can try again but instead monitor this log file: sudo tail -f /var/log/messages You don't need to let it continue monitoring after you attempt to log in. It will log the crash info and then restart PG3x so the useful messages will be within 5-10 seconds of the login attempt. FYI, the errors in the log you captured are normal at this point, It is trying to communicate with the IoX but you haven't yet logged in so it fails to authenticate and throws the errors.
  24. The response indicates that something went really wrong trying to authenticate. I've not been able to reproduce this specific case so I don't know what went wrong. The PG3x log may have more information as it should be logging an error message. However, the only way to check that is to ssh to the eisy and watch the log while attempting to log in. The command line to watch the log would be: tail -f /var/polyglot/pg3/logs/pg3-current.log (may or may not need to prefix that with sudo). To stop displaying the log, use CTRL-C.
  25. Some node servers need to build the required modules and to do that they need development libraries installed. You can install the development libraryies with 'sudo /usr/local/etc/udx.d/static/udxops.sh install.dev.pkgs'
×
×
  • Create New...