Error while running DotTrace for .net core (6.0) in Linux docker container
I am trying to run DotTrace on Linux container.
Placed dotTrace folder in a tmp folder and accessing the command from app folder reference. Below is the command:
./dotTrace.sh start --framework=NetCore /usr/share/dotnet/dotnet /app/Acidaes.CRMnext.UI.Web.dll --timeout=10s --save-to=./snapshots/snapshot.dtp
Everything with setup and paths is correct here.
But, I am getting below error while executing:
warn: Microsoft.AspNetCore.Server.Kestrel[0]
Overriding address(es) 'http://+:80'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
Unhandled exception. System.IO.IOException: Failed to bind to address https://[::]:443: address already in use.
For capture with process ID, command in use is:
/tmp/./dotTrace.sh attach 1 --save-to=./snapshots/snapshot.dtp
And error is:
Unable to start profiling. Connection refused.
Any help or suggestions are greatly welcomed.
Please sign in to leave a comment.
Hello,
Thank you for contacting us.
Please collect log files by adding
--log-file=log.txt
to yourattach
andstart
commandsand send log files to us.
You can upload files to our ftp: https://uploads.services.jetbrains.com/
Upload id: 2022_11_14_Hde8jXVbm6GUWnNATEAr5i (file: dotTrace_logs.txt)
Above is the Upload id for log files.
Hello,
Sorry for the inconvenience and for the long waiting.
Thank you for your logs, but it is still not clear what happened.
Could you please map your web service port in the container on Docker host port more than 1024? Does it help?
Have you faced similar issues if your web service launched without profiler?
If not, could you please perform
printenv
when your web service launched without profiler and under profiler and send both screenshots to us?You can upload files to our ftp: https://uploads.services.jetbrains.com/