
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-08-2018 08:05 PM
We want to use the LsAgent with cloud sync, but the 'Cloud Relay Authentication Key' never gets generated. The Lansweeper server is on a private VLAN that requires a proxy to access the internet, and I don't think it ever reaches the outside server.
Is there a way to make the Lansweeper server aware of the proxy and have it use this for internet connections?
Is there a way to make the Lansweeper server aware of the proxy and have it use this for internet connections?
Labels:
- Labels:
-
General Discussion
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2018 09:48 AM
Hello,
You could try to add this to the "Lansweeperservice.exe.config" file :
I didn't tested myself because I don't use cloud relay but it works for many .net software.
Don't forget that if your proxy need authentication, the service account will be used.
You could try to add this to the "Lansweeperservice.exe.config" file :
<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy
autoDetect="false"
proxyaddress="http://192.168.1.10:3128"
bypassonlocal="false"
usesystemdefault="true"
/>
</defaultProxy>
</system.net>
I didn't tested myself because I don't use cloud relay but it works for many .net software.
Don't forget that if your proxy need authentication, the service account will be used.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2018 09:50 AM
YvainP wrote:
Hello,
You could try to add this to the "Lansweeperservice.exe.config" file :<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy
autoDetect="false"
proxyaddress="http://192.168.1.10:3128"
bypassonlocal="false"
usesystemdefault="true"
/>
</defaultProxy>
</system.net>
I didn't tested myself because I don't use cloud relay but it works for many .net software.
Don't forget that if your proxy need authentication, the service account will be used.
It's really work for me. tks.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2018 08:04 PM
YvainP wrote:
Hello,
You could try to add this to the "Lansweeperservice.exe.config" file :<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy
autoDetect="false"
proxyaddress="http://192.168.1.10:3128"
bypassonlocal="false"
usesystemdefault="true"
/>
</defaultProxy>
</system.net>
I didn't tested myself because I don't use cloud relay but it works for many .net software.
Don't forget that if your proxy need authentication, the service account will be used.
Thank you so much..this worked for me.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2018 10:51 AM
I got the same issue with the server behind proxy. Then I allow server directly to internet and can get the key.
But I am sure that you should look in to the issue because server access directly to internet is not safe.
Thanks.
But I am sure that you should look in to the issue because server access directly to internet is not safe.
Thanks.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2018 05:52 PM
It's not only LsAgent. I think the Lansweeper server also needs to be proxy aware, otherwise it won't be able to reach the MS Azure servers for cloud relay. I think this is happening in my case.
Currently, seems like the Lansweeper server is only using proxy settings for warranty scanning but not for any other communication.
Currently, seems like the Lansweeper server is only using proxy settings for warranty scanning but not for any other communication.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2018 10:15 AM
We have had some reports of LsAgent not being able to connect to the relay server when the connection uses a proxy. Our developers are looking into it but I can't really promise anything. You can contact support and they can check the LsAgent log files if it is a different issue. But most likely it is indeed the use of the proxy.
