vrm_portal:troubleshooting_ccgx_vrm_connectivity
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
vrm_portal:troubleshooting_ccgx_vrm_connectivity [2016-03-23 10:49] – Steps to enable Remote Console entirely remotely hmartin | vrm_portal:troubleshooting_ccgx_vrm_connectivity [2019-05-26 23:00] – [Further debugging VRM communication (advanced)] mvader | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | This document outlines the procedure | + | Looking for how to trouble shoot transmission of data logs to VRM? See chapter 5 in the [[ccgx:start|GX Product manual]]. |
- | Please also read the manual of the Color Control GX on how to setup an internet connection and the logging to the VRM Portal: | + | Not using a CCGX but a Victron Global Remote or Victron Ethernet Remote? See [[https:// |
- | Not using a Color Control GX but a Victron Global Remote or Victron Ethernet Remote? See this document instead: [[https:// | + | The Remote Console on VRM feature allows full remote control of a CCGX, over the internet: |
+ | {{ :vrm_portal: | ||
- | Trouble shooting Remote Console | + | After enabling the feature in the CCGX setting menu, setting or disabling the password, and then restarting the CCGX, a new Menu Option will show on the VRM website. Click it to open the Remote Console. |
+ | {{ : | ||
- | ===== Step 1 - Verify | + | Steps to take when it does not work: |
+ | | ||
+ | - After enabling | ||
+ | - Then restart the CCGX. | ||
+ | - Make sure to update the CCGX to the latest firmware version: v2.11 or newer. | ||
+ | - After the restart, check the Remote Console on VRM status shows online or a port number. In case it says offline, or port number 0, the CCGX was unable to connect to the Remote Console server. This is normally caused by a (company) firewall, blocking the connection. The solution is then to configure | ||
+ | - Verify that your local web browser can access the [[https:// | ||
- | In the menu Settings → Ethernet or Settings → Wi-Fi, State should be ‘Connected’ and there should be an IP address that does not start with 169: | + | Remote Console on VRM uses the same reverse SSH tunnel as is used for Remote Support: outbound connection to supporthost.victronenergy.com on port 22, 80 or 443. It is not necessary to set up port forwarding in routers to use Remote Console on VRM. It is necessary for the firewall/ |
- | {{: | + | ==== IP Address verification ==== |
- | {{ : | + | Remote Console on VRM checks the IP Address for security reasons. |
- | When using Ethernet and State shows ' | + | In case all above does not help, it might be that your internet connection very frequently changes its IP-address. And/or that the internet provider routes the different data stream over different |
- | When using Wi-Fi and the menu shows 'No Wi-Fi adapter connected' | + | Both of which will make the IP verification fail and therefor makes Remote Console fail. To solve this problem, contact your internet provider and/or change |
- | When using Wi-Fi and the State shows ' | + | Note that it is not necessary for the CCGX to be addressable itself, and/or have a public IP address. Worded differently: |
- | In case there is an IP address that starts with 169, check whether your network had a DHCP server running. 99% of all networks have a DHCP server running and it is enabled by default on all well-known ADSL, cable and 3G routers. If there is no DHCP server running, then the ip address should be configured manually. | ||
- | |||
- | ===== Step 2 - Check connectivity between CCGX and VRM Portal ===== | ||
- | |||
- | Navigate to Settings → VRM online portal. | ||
- | |||
- | {{ : | ||
- | |||
- | 1) Check that 'Log To' is set to ' | ||
- | |||
- | 2) Check 'Last contact' | ||
- | |||
- | If ' | ||
- | |||
- | Data is sent to the VRM Portal using HTTP POST requests to http:// | ||
- | The output should be a small file containing the text 'vrm: OK'. If it does not, or wget hangs, check your network. Apparently communication is blocked. | ||
- | |||
- | === Using HTTPS instead of HTTP === | ||
- | If your provider is blocking HTTP requests (e.g. the wget request above times out or fails), you can change the CCGX to log to the VRM portal via HTTPS: | ||
- | |||
- | < | ||
- | |||
- | Verify that the setting has been changed: | ||
- | < | ||
- | ' | ||
- | |||
- | It is then recommended to reboot the CCGX to apply the changes. (Alternatively, | ||
- | |||
- | After you reboot, you should see the buffer size decrease: | ||
- | < | ||
- | root@ccgx: | ||
- | 375 | ||
- | # after rebooting | ||
- | root@ccgx: | ||
- | 362</ | ||
- | |||
- | ===== Step 3 - Add the site to your VRM account ===== | ||
- | |||
- | Adding a CCGX to your account is only possible after the CCGX has made its first initial contact to the VRM Portal. | ||
- | |||
- | As long as 'Last Contact' | ||
- | |||
- | Once the internet communication is up, and 'Last contact' | ||
- | |||
- | ===== General notes ===== | ||
- | |||
- | * On initial contact with the VRM site it may take a few minutes for data to appear, as a newly-connected or re-connected CCGX’s presence requires that data to be filtered through our back-end systems, before the information becomes visible on the VRM site. | ||
- | * If the data backlog size continues to increase after the chosen logging interval time is met, then you have internet connectivity issues. You could try to increase the logging interval to a longer time, in order to reduce necessary bandwidth. Bandwidth requirement is quite low, so this only happens when using a cellular data connection, try moving the antenna or obtain a higher gain antenna. | ||
- | |||
- | ===== Trouble shooting Remote Console on VRM ===== | ||
- | The Remote Console on VRM feature allows full remote control of a CCGX, over the internet: | ||
- | {{ : | ||
- | |||
- | After enabling the feature in the CCGX setting menu, and then restarting the CCGX, a green button will show on the VRM website. Click it to open the Remote Console. | ||
- | {{ : | ||
- | |||
- | If you have a CCGX already installed, but Remote Support is not enabled, follow these steps to enable it remotely: | ||
- | - SSH into CCGX (get root password by emailing service@victornenergy.com) | ||
- | - dbus -y com.victronenergy.settings / | ||
- | - dbus -y com.victronenergy.settings / | ||
- | - dbus -y com.victronenergy.settings / | ||
- | - echo " | ||
- | - Reboot CCGX via SSH (reboot) | ||
- | - Using SSH, forward the VNC port 5900 to a port on your computer (ssh -L 5900: | ||
- | - Using VNC viewer, navigate to Settings -> Remote Console -> Disable/ | ||
- | - Choose the one you want, reboot the CCGX again via SSH to apply | ||
- | - Now you should be able to access Remote Console feature from VRM | ||
- | |||
- | Steps to take when it does not work: | ||
- | - First make sure that basic communication with VRM works, see above steps. | ||
- | - After enabling the feature, make sure to restart the CCGX. | ||
- | - Make sure to update to CCGX v1.32 or higher: instead of only connecting on port 80, it also tries 22 and 443 which has proven to solve connection issues for several users. | ||
- | - After the restart, check the Remote Console on VRM status shows online or a port number. In case it says offline, or port number 0, the CCGX was unable to connect to the Remote Console server. This is normally caused by a (company) firewall, blocking the connection. The solution is then to configure an exception rules in the firewall. | ||
- | |||
- | Remote Console on VRM uses the same reverse ssh tunnel as is used for Remote Support: outbound connection to supporthost.victronenergy.com on port 80. It is not necessary to setup port forwarding in routers to use Remote Console on VRM. It is however necessary for the firewall/ | ||
- | ===== DISQUS Comments ===== | ||
+ | ===== DISQUS ===== | ||
~~DISQUS~~ | ~~DISQUS~~ | ||
- | |||
- | \\ | ||
vrm_portal/troubleshooting_ccgx_vrm_connectivity.txt · Last modified: 2020-07-21 09:52 by mvader