This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Garmin express and proxy

Former Member
Former Member
I have a problem with Garmin Express, that doesn't connect and update when I'm at work behind a proxy.

I used to use Garmin ANT Agent with my Forerunner 610 and it had no problems connecting behind a proxy.

I switched to Express after buying a Vivofit, and now when I'm behind the proxy it doesn't connect at all.
Updated to 3.0.12.0 but the issue is still there.
It seems that Express ignores the connection properties set for the network, assuming that you are always connected directly to Internet.

May be something related to a call to a wrong .NET sub?

Is this an issue that will be solved?

Details from Express log:

Client Version: 3.0.12.0.88b9c8a
Operating System Version: 501 Service Pack 3
Installed .NET Version: 4 Service Pack 0
.NET 4.0 Patch Installed: Yes
.NET 4.0.3 Update Installed: Yes
.NET 4.5 Update Installed: No

Messages from the log:
CoreService.ConnectThread_Run() {
CoreService.set_ApiStatus() {
status = Connecting
}
Service is running, but WCF channel is not open.
CoreService.set_ApiStatus() {
status = Available
}
}


Error performing startup checks. Could not communicate with core service
CoreWebException = {
Type = "WebException"
Message = "Unable to connect to the remote server"
StackTrace = "at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)"
StackTrace = "at System.Net.HttpWebRequest.GetRequestStream()"
StackTrace = "at Garmin.Cartography.MapUpdate.CoreService.RemoteService.CoreProtobufService.<>c__DisplayClassc`1.<ProtoRequest>b__b(Int32 attempt)"
StackTrace = "at Garmin.Cartography.MapUpdate.GLib.FuncExtensions.AttemptWithRetryDelay[T](Func`2 func, Int32 maxAttempts, String description, Func`2 abortCondition)"
StackTrace = "at Garmin.Cartography.MapUpdate.CoreService.RemoteService.CoreProtobufService.ProtoRequest[T](String address, Object request, Int32 maxAttempts)"
InnerException = {
Type = "SocketException"
Message = "Impossibile stabilire la connessione. Rifiuto persistente del computer di destinazione 23.33.68.20:80"
StackTrace = "at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)"
StackTrace = "at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)"
InnerException = <null>
}
HttpStatusCode = 0
ServerExceptionType = ""
ServerExceptionMessage = ""
CustomServerMessage = ""
}
Schedule Control loaded.
  • Former Member
    0 Former Member over 11 years ago
    Hi IBRUSETT...any news or reply to this post? I am trying to use Garmin Express while at work (behind proxy) and I can't log into Garmin Connect and my uploads hang/fail. Also, where did you find the error logs?

    Thanks
  • Former Member
    0 Former Member over 11 years ago
    Hi,

    Please, Garmin, make Express work behind a Proxy. I'm also concerned by this issue.
  • Same problem here.
    Cannot sych with GE at work due to proxy server.
  • Yes, i do need it to work behind proxy server too !
    I have eMailed support again today. It is crutial as Garmin connect "Modern interface" does not work with ANT Agent ! So I'm stuck with my 910XT. Cheers.
  • Former Member
    0 Former Member over 11 years ago
    seem an issue with .NET framework...
    I have a workaround but it needs a little knowing of computers and how to edit things...
    Send me a PM for details... I'll put on a small guide if this works...
  • I spent some time today looking into this problem and I've written up the cause and two potential workarounds (note: I didn't say solutions): https://nuxx.net/blog/2014/05/22/garmin-express-and-proxy-settings/

    Basically, the problem stems from the piece of Garmin Express that handles network communication running as the user NT AUTHORITY\SYSTEM. This user typically isn't aware of the proxy settings, which are typically stored on a per-user basis. I offer two workarounds, but I do not feel that either is a proper solution: setting the process to run as the user running the application or making the system use one set of proxy settings for all users.

    I hope this helps some of you.
  • Former Member
    0 Former Member over 11 years ago
    I've a third workaround: edit the two configuration files Garmin.Cartography.MapUpdate.CoreService.exe.config and Express.exe.config to add the Proxy settings.

    <defaultProxy useDefaultCredentials="true" />

    should become

    <defaultProxy>
    <proxy
    usesystemdefault="true"
    proxyaddress="http://<proxy IP and port>"
    bypassonlocal="false"
    />
    </defaultProxy>

    this part can be different depending on your proxy configuration.

    Every time you update Express, you need to re-edit the files because they are overwritten.
  • This should work, so long as your proxy doesn't require authentication. If it requires user credentials it won't have them. :\

    I'd really like to see Garmin move network communication away from something running as SYSTEM, and potentially also add controls for specifying proxy settings in the UI.
  • Former Member
    0 Former Member over 11 years ago
    Given that it is nearly July and this problem hasn't been resolved, if you are behind a proxy that requires authentication you may want to look at using something like CNTLM. I'm in the same predicament and have used CNTLM and the *.config updates to get around the problem.