-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An assembly specified in the application dependencies manifest was not found #2167
Comments
About the SQL Server issue, I tried with Azure SQL Edge and it seems to work. Not sure if the app will be able to connect to it though but at least the container is up and running. |
I also tried with |
More info:
from |
The readme says self-contained deployments are incompatible with automatic instrumentation, but I wanted to give it a try anyway to see if at least I could solve the missing dependencies problem this way. So I tried However, to my surprise, I'm seeing SQL traces in Grafana now, which I understand are automatically generated traces, correct? |
ARM is not supported. We tried it but we failed #1869 |
Thanks for reporting the problems that you have. Probably this issue has the same root cause as #1744 (comment) |
You are correct. Self-contained apps should be working. It is some other issue that we are trying to identify. See #2131 (comment) I think we will fix the docs when we will better spot the issue. |
Just a note that I was unable to reproduce the issue locally. I even tried
I think this issue is not deterministic. |
d-aguilera Could you please provide the following, it will help in troubleshooting an issue.
|
Here's the requested information: Client: Service Common (both apps identical output): |
Perhaps because of this. However, this issue has some other specific steps where this may not be applicable. |
@d-aguilera are you still getting the
these env vars are documented here. Running the command with these env vars should create the log file with some info to dig deeper into this. |
Got it @pjanotti, here's the log file: |
I see the following at line 115 of corehost_verbose_tracing.log:
This directory doesn't exist in the container. |
Well observed @d-aguilera this seems a good candidate for the issue. The |
That worked @pjanotti ! |
and I'm seeing both manual and automatic traces in Grafana. |
This is the log file now in demo-service-1 : |
Maybe this should be mentioned in the troubleshooting doc. Or in the main readme perhaps. |
This issue combines two distinct problems:
I will keep this open until we added the related information to the troubleshooting doc. |
Awesome guys. Thank you all very much.
Does this mean a different kind of instrumentation was used in my case? Cause I'm seeing the traces |
The "source instrumentation type" is what is working in your scenario. References: |
Bug Report
Symptom
When starting the "demo" Docker example, the Client and Server containers immediately stop with the following error:
Expected behavior
All containers should start successfully.
Screenshots
Runtime environment:
Additional context
In addition to getting this error with the Docker example running on my Mac, I also got this very same error on a Windows 11 Home VM running on Parallels on the Mac. In that case I used the Powershell script as instructed, and got the error after launching the app's exe.
During this attempt in Windows, I was able to workaround the issue by manually copying each and every DLL from
C:\Program Files\OpenTelemetry .NET AutoInstrumentation\store\x64\net6.0
to the directory where the .exe was. So maybe this is just some environment variable missing? Because it seems it cannot resolve the location of these assemblies in the shared store (just guessing).Reproduce
make
commanddocker-compose
downloads all images and starts all containerssqlserver-1
==> The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requestedservice-1
&client-1
==> showing the error above.I understand the SQL Server image error can be fixed by using a different image maybe. It's the .NET error that I'm concerned about.
Also I didn't found any OpenTelemetry log files in /var/log/opentelemetry/dotnet/
The text was updated successfully, but these errors were encountered: