You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using the mainnet-milestone2 branch, the hypervisor does not run. Also, the visor has problems connecting to the dmsg server.
Environment information:
OS: Linux (Ubuntu 18.04.1)
Platform: Linux 4.15.0-65-generic x86_64
Steps to Reproduce
Steps to reproduce the behavior:
Run make install using the mainnet-milestone2 branch.
Run hypervisor gen-config -o hypervisor-config.json, to create a default configuration file for the hypervisor.
Run hypervisor. It will fail with Failed to parse rpc port from rpc address: parse :7080: missing protocol scheme.
Open the configuration file created in the second step and change the value of rpc_addr to localhost:7080.
Run hypervisor again. It will fail with Failed to parse rpc port from rpc address: strconv.ParseUint: parsing "": invalid syntax.
Open the configuration file created in the second step again and change the value of rpc_addr to http://skycoin.net:7080.
Run hypervisor again. The console will start displaying no dms_servers found: trying again in 1s... error="Get /dmsg-discovery/available_servers: unsupported protocol scheme """. The problem with the rpc address appears to be solved.
Open the configuration file created in the second step again and change the value of dmsg_discovery to https://messaging.discovery.skywire.skycoin.net.
Run hypervisor again. The console will start displaying no dms_servers found: trying again in 1s... error="Get https://messaging.discovery.skywire.skycoin.net/dmsg-discovery/available_servers: dial tcp: lookup messaging.discovery.skywire.skycoin.net: no such host".
In a similar way, trying to run a visor with the default config results in no dms_servers found: trying again in 1s... error="json: cannot unmarshal number into Go value of type disc.HTTPMessage" being displayed every second in the console.
Actual behavior
The errors previously described appear. Also, the hypervisor is not connecting with the visors, as it does in the master branch.
Expected behavior
The hypervisor and the visor should work like in the master branch, with the default config. If it is currently necessary to run a local dmsg server for making the visor and hypervisor work, it would be good to add instructions in the readme, and it could be also useful in other cases.
Additional context
Possible implementation
The text was updated successfully, but these errors were encountered:
@Senyoret1 currently on the milestone2 branch hypervisor seems to be running with the default config. I followed the first 3 of the steps you've described, it started without errors. Please check it out. Regarding the visor - it fails to start, I'll notify you on the progress with this
@Darkren Sorry for the late response. I filed this issue while using the mainnet-milestone2 branch, which I think was removed and is different from the current milestone2 branch. Maybe this issue is not valid anymore, at least not in the same terms as when I wrote it
Describe the bug
Using the
mainnet-milestone2
branch, the hypervisor does not run. Also, the visor has problems connecting to the dmsg server.Environment information:
Steps to Reproduce
Steps to reproduce the behavior:
Run
make install
using themainnet-milestone2
branch.Run
hypervisor gen-config -o hypervisor-config.json
, to create a default configuration file for the hypervisor.Run
hypervisor
. It will fail withFailed to parse rpc port from rpc address: parse :7080: missing protocol scheme
.Open the configuration file created in the second step and change the value of
rpc_addr
tolocalhost:7080
.Run
hypervisor
again. It will fail withFailed to parse rpc port from rpc address: strconv.ParseUint: parsing "": invalid syntax
.Open the configuration file created in the second step again and change the value of
rpc_addr
tohttp://skycoin.net:7080
.Run
hypervisor
again. The console will start displayingno dms_servers found: trying again in 1s... error="Get /dmsg-discovery/available_servers: unsupported protocol scheme """
. The problem with the rpc address appears to be solved.Open the configuration file created in the second step again and change the value of
dmsg_discovery
tohttps://messaging.discovery.skywire.skycoin.net
.Run
hypervisor
again. The console will start displayingno dms_servers found: trying again in 1s... error="Get https://messaging.discovery.skywire.skycoin.net/dmsg-discovery/available_servers: dial tcp: lookup messaging.discovery.skywire.skycoin.net: no such host"
.In a similar way, trying to run a visor with the default config results in
no dms_servers found: trying again in 1s... error="json: cannot unmarshal number into Go value of type disc.HTTPMessage"
being displayed every second in the console.Actual behavior
The errors previously described appear. Also, the hypervisor is not connecting with the visors, as it does in the
master
branch.Expected behavior
The hypervisor and the visor should work like in the
master branch
, with the default config. If it is currently necessary to run a local dmsg server for making the visor and hypervisor work, it would be good to add instructions in the readme, and it could be also useful in other cases.Additional context
Possible implementation
The text was updated successfully, but these errors were encountered: