Hi Dojo,
I’m experiencing an issue where one DMA cannot connect with the rest of the cluster, though the cluster can connect with the agent. For example:
- When I connect to the problematic agent, I see all other DMAs as disconnected, unknown, or refused.
- However, when connecting to another agent in the cluster, this problematic DMA appears as connected.
After reviewing the SLNet logs, I found the following error:
Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section.
Upon inspecting the SLNet.exe.config
file, I noticed a potential issue with parsing the *
wildcard in the configuration:
<system.net>
<connectionManagement>
<add address="*" maxconnection="200" />
</connectionManagement>
<defaultProxy>
<proxy proxyaddress="http://xxxxxxx:8080" bypassonlocal="true" />
<bypasslist>
<add address="*.xxx.xxx.xxx" />
</bypasslist>
</defaultProxy>
</system.net>
The other DMAs in the cluster do not have a bypasslist
configured.
My question is:
Is there any flow or mechanism within DataMiner that could configure or modify the bypasslist
in the SLNet configuration?
Hi Catarina,
The SLNet.exe.config file is usually updated during a DataMiner upgrade. The modified tags can differ between versions to meet DataMiner's requirements.
Otherwise, I'm only aware of manual modifications.
The error with the stack trace:
Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section. —> System.ArgumentException: parsing "*.xxx.xxx.xxx" – Quantifier {x,y} following nothing.
at System.Text.RegularExpressions.RegexParser.ScanRegex()
at System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache)
at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options)
at System.Net.WebProxy.UpdateRegExList(Boolean canThrow)
at System.Net.Configuration.DefaultProxySectionInternal..ctor(DefaultProxySection section)
at System.Net.Configuration.DefaultProxySectionInternal.GetSection()
— End of inner exception stack trace —
Server stack trace:
at System.Net.Configuration.DefaultProxySectionInternal.GetSection()
at System.Net.WebRequest.get_InternalDefaultWebProxy()
at System.Net.HttpWebRequest..ctor(Uri uri, ServicePoint servicePoint)
at System.Net.HttpRequestCreator.Create(Uri Uri)
at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.SetupWebRequest(IMessage msg, ITransportHeaders headers)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at Skyline.DataMiner.Net.Transport.RemotingHelperClientChannelSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at Skyline.DataMiner.Net.Connection.CheckIfConnectionOK()
at Skyline.DataMiner.Net.Connection.GoToNextUri()
— End of inner exception stack trace —
at Skyline.DataMiner.Net.LegacyRemotingConnection.TryActionOnUris(Action action)
at Skyline.DataMiner.Net.Helper.ConnectionFactory.AuthenticateConnection(Connection conn)
at Skyline.DataMiner.Net.Helper.ConnectionFactory.CreateConnObjectThread()