BAD_NETWORK_VERSION when connection to SC server

Hello everyone,
starting an sc-server on a linux machine with the following command:

./ts3d_sc_server --license-file license.txt --model-search-directories ./converted_models/standard/sc_models --sc-port 50001 --initial-use-duration 0 --log-file sc_server.log --sc-verbose-logging true

I’m having problem to connect from a React front-end from a remote ws, instead when i try to connect from localhost it works:

const hwv = new Communicator.WebViewer({
            containerId: viewerId,
            // endpointUri: 'ws://localhost:50001',  // -> working
            endpointUri: 'ws://192.168.64.7:50001', // -> not working
            model:'bnc'
        });
00000000: 7500 0000 0000 0000 5b00 0000 3c4f 5045  u.......[...<OPE
00000001: 4e5f 4d4f 4445 4c5f 4641 494c 4544 2072  N_MODEL_FAILED r
00000002: 6561 736f 6e3d 2242 4144 5f4e 4554 574f  eason="BAD_NETWO
00000003: 524b 5f56 4552 5349 4f4e 2220 6578 7065  RK_VERSION" expe
00000004: 6374 6564 3d22 3331 3236 3337 3134 3138  cted="3126371418
00000005: 2220 6163 7475 616c 3d22 3337 3535 3032  " actual="375502
00000006: 3433 3132 223e 0000                      4312">..

I cannot find this error on the documentation.
Thanks.

Hello @nicola.esposito,

The message BAD_NETWORK_VERSION can indicate that the server and the viewer are from different versions/releases. For example, the server is from a later release and the viewer is from an earlier release (and vice-versa).

Also, I just noticed a similar post in the forum and was wondering if they are regarding the same issue.

Thanks,
Tino

1 Like