SetNetworkProxy rejects proxy in valid format


#1

If LexActivator.SetNetworkProxy(“10.1.33.109:80”) is called, a “Invalid network proxy.” error is returned.

According to https://docs.cryptlex.com/node-locked-licenses/proxies-and-firewall#proxies, the valid format is:
[protocol://][username:[email protected]]machine[:port]

We are using LexActivator 3.7.0.


#2

Please specify the format you are using in the SetNetworkProxy function


#3

Exactly as shown in the original question:

LexActivator.SetNetworkProxy(“10.1.33.109:80”)


#4

Hi Tom,

It should be:

LexActivator.SetNetworkProxy(“http://10.1.33.109:80/”)


#5

OK. But the doc at https://docs.cryptlex.com/node-locked-licenses/proxies-and-firewall#proxies should be fixed then, because it indicates that the “http://” prefix is optional.