Open MonDeveloper opened 4 years ago
Moreover, as a worst side effect, the system enters into a never ending loop where it coutinuously invoke those API with no delay at all (thousands of calls per minute) without properly handling the TCP/HTTP socket and after a few minutes the entire machine stucks completely due to a network resourse shortage.
This is an example of an Error taken on the machine trying to use any other software that need to open a network socket
Error: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
Shooting down the Traefik application everything return operative on the machine.
Hi there! I've exactly the same issue!
It took me a while to understand the root cause, after trying to stop unresponsive servers, unreachable systems,, bloated logs... a nightmare!
Any solution over there?
Thanks, Maurizio.
Do you want to request a feature or report a bug?
Bug
What did you do?
Simply started the traefik exe pointing to my SF Cluster with no special configuration except the SF Cluster provider part
What did you expect to see?
It could start, connect to SF Cluster properly and recognize the existing services
What did you see instead?
It crashes when it try to get further information through the SF Client API due to a malformed URL. Service Fabric has no limitation on the Version format for both Applications and Services, it means it is possible to find Version Labels using some offending character that need to be encoded when added to the URL.
This is our case. From the log pasted here under, you can easily find the ERROR is generated because this URL is used:
http://cac-sf-02.icc.crifnet.com:19080/ApplicationTypes/Crif.REApp.010.3rdPARTIES__Type/$/GetServiceTypes?api-version=6.0&ApplicationTypeVersion=2.0.0 [20200719.194357-7]
and I have verified the same error is returned if I put the same URL into Postman but If I properly encode the final part of the URL (the version parameter value) from2.0.0 [20200719.194357-7]
to2.0.0%20%5B20200719.194357-7%5D
the Postman with the new URL stars working as expected:http://cac-sf-02.icc.crifnet.com:19080/ApplicationTypes/Crif.REApp.010.3rdPARTIES__Type/$/GetServiceTypes?api-version=6.0&ApplicationTypeVersion=2.0.0%20%5B20200719.194357-7%5D
Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
If applicable, please paste the log output in DEBUG level (
--log.level=DEBUG
switch)