Re-updated to 11.1.100.11 but this time switched from Net.Tcp to Https Endpoint Binding, since net.Tcp is being deprecated, everything seems to be working but in running PDT tests keep failed.
No sure what to change the Application Server URI to under application Setup and what more needs changing in the tool? Would love some help.
I get errors like this when I check “Check Configuration” (I understand I should not have net.tcp, but what should I have)
There was an error communicating with the Epicor server:
Inner Exception:
The provided URI scheme ‘net.tcp’ is invalid; expected ‘http’.
Parameter name: via
at System.ServiceModel.Channels.TransportChannelFactory1.ValidateScheme(Uri via) at System.ServiceModel.Channels.HttpChannelFactory1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
at System.ServiceModel.Channels.HttpChannelFactory1.OnCreateChannelCore(EndpointAddress remoteAddress, Uri via) at System.ServiceModel.Channels.HttpChannelFactory1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
at System.ServiceModel.Channels.ChannelFactoryBase1.InternalCreateChannel(EndpointAddress address, Uri via) at System.ServiceModel.Channels.ChannelFactoryBase1.CreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.SecurityChannelFactory1.OnCreateChannel(EndpointAddress address, Uri via) at System.ServiceModel.Channels.ChannelFactoryBase1.InternalCreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.ChannelFactoryBase1.CreateChannel(EndpointAddress address, Uri via) at System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) at System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) at System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) at System.ServiceModel.ChannelFactory1.CreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.ChannelFactory1.CreateChannel() at Epicor.ServiceModel.Channels.ChannelEntry1.CreateNewChannel()
at Epicor.ServiceModel.Channels.ChannelEntry1.CreateChannel() at Epicor.ServiceModel.Channels.ChannelEntry1.GetContract()
at Epicor.ServiceModel.Channels.ImplBase1.GetChannel() at Epicor.ServiceModel.Channels.ImplBase1.HandleContractBeforeCall()
at Ice.Proxy.BO.ConfigCheckImpl.runConfigCheck()
Yikes, now a bigger issue. Since i just updated, I hadn’t quite yet installed it on my workstation, just testing from the server and to get the endpoint, I installed it… it doens’t connect.
It installs fine, but it won’t connect when I go to run it.
And the client at which the pdt is using; did the config of that client get changed to the correct url and binding type? It will be an http address not a net tcp
I put that URL into the PDT and am getting this now
There was an error communicating with the Epicor server:
Inner Exception:
There was no endpoint listening at http://SERVERSTUFF.com/Kinetic2021_1-Test/Ice/BO/ConfigCheck.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Server stack trace:
at System.ServiceModel.Security.IssuanceTokenProviderBase1.DoNegotiation(TimeSpan timeout) at System.ServiceModel.Security.IssuanceTokenProviderBase1.GetTokenCore(TimeSpan timeout)
at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)
at System.ServiceModel.Security.SecurityProtocol.GetToken(SecurityTokenProvider provider, EndpointAddress target, TimeSpan timeout)
at System.ServiceModel.Security.MessageSecurityProtocol.GetTokenAndEnsureOutgoingIdentity(SecurityTokenProvider provider, Boolean isEncryptionOn, TimeSpan timeout, SecurityTokenAuthenticator authenticator)
at System.ServiceModel.Security.SymmetricSecurityProtocol.TryGetTokenSynchronouslyForOutgoingSecurity(Message message, SecurityProtocolCorrelationState correlationState, Boolean isBlockingCall, TimeSpan timeout, SecurityToken& token, SecurityTokenParameters& tokenParameters, SecurityToken& prerequisiteWrappingToken, IList1& supportingTokens, SecurityProtocolCorrelationState& newCorrelationState) at System.ServiceModel.Security.SymmetricSecurityProtocol.SecureOutgoingMessageCore(Message& message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState) at System.ServiceModel.Security.MessageSecurityProtocol.SecureOutgoingMessage(Message& message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState) at System.ServiceModel.Channels.SecurityChannelFactory1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Ice.Contracts.ConfigCheckSvcContract.runConfigCheck()
at Ice.Proxy.BO.ConfigCheckImpl.runConfigCheck()
Inner Exception:
The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
awesome bud, thank you, sorry to bug your gym time, I need to go to one haha, by the way, changing it to https, I got this, which is why I tried http
There was an error communicating with the Epicor server:
Inner Exception:
The provided URI scheme ‘https’ is invalid; expected ‘http’.
Parameter name: via
at System.ServiceModel.Channels.TransportChannelFactory1.ValidateScheme(Uri via) at System.ServiceModel.Channels.HttpChannelFactory1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
at System.ServiceModel.Channels.HttpChannelFactory1.OnCreateChannelCore(EndpointAddress remoteAddress, Uri via) at System.ServiceModel.Channels.HttpChannelFactory1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
at System.ServiceModel.Channels.ChannelFactoryBase1.InternalCreateChannel(EndpointAddress address, Uri via) at System.ServiceModel.Channels.ChannelFactoryBase1.CreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.SecurityChannelFactory1.OnCreateChannel(EndpointAddress address, Uri via) at System.ServiceModel.Channels.ChannelFactoryBase1.InternalCreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.ChannelFactoryBase1.CreateChannel(EndpointAddress address, Uri via) at System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) at System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) at System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) at System.ServiceModel.ChannelFactory1.CreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.ChannelFactory1.CreateChannel() at Epicor.ServiceModel.Channels.ChannelEntry1.CreateNewChannel()
at Epicor.ServiceModel.Channels.ChannelEntry1.CreateChannel() at Epicor.ServiceModel.Channels.ChannelEntry1.GetContract()
at Epicor.ServiceModel.Channels.ImplBase1.GetChannel() at Epicor.ServiceModel.Channels.ImplBase1.HandleContractBeforeCall()
at Ice.Proxy.BO.ConfigCheckImpl.runConfigCheck()
So good news, I was finally able to get the config test working
I had not really paid attention when I switched it from ncp to https, when I chose the connection method, I chose httpbinaryusernamesslchanel, instead of httpsbinaryusernamechannel, but I still cant connect after i log in.
Ok let’s start at the app server config leve. In the Application server settings, there are 3 configuration drop downs; one for Net.TCP, one for Http, one for Https; I believe multiple configurations are totally fine, however each client can have 1 and it has to match the server available endpoints.
When you do choose an endpoint, deploy the server again
On the client side, you don’t need to redeploy a client, but you do need to change the endpoint configuration.
In this case, using the client you have in the PDT, you’ll need to check the sysconfig on that. Specifically, the app server URL for a net.tcp will be different than an http scheme.
Secondly, in the EndpointBinding node, the value must match the option selected in the app server config. Do any of those things not match what you’ve tried already?
I did a configuration check, and it says G008: Appserver Settings: Configuration error
Filename: redirection.config
Line Number: 0
Description: Cannot read configuration file due to insufficient permissions
.
Trying to read through that now, why did I decide to get smart and change it hahah
Chaddb, under HTTPS, what do you have settings wise and shortcut wise that is different from Net TCP, Net TCP is what I have always used, now that i switched to HTTPS, it is a little different