Skip to content

SkyAPM.Diagnostics.CAP System.MissingMethodException: Method not found sometimes #565

@bingtianyiyan

Description

@bingtianyiyan

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Question

  • What do you want to know?

Bug

  • Which version of SkyWalking, OS and .NET Runtime?
    -SkyWalking 8.9.1-91ab0a3 (20211210154203)
    SkyAPM.Agent.AspNetCore:2.1.0
    SkyAPM.Diagnostics.CAP:2.1.0

  • Which company or project?

  • What happen?
    when i use SkyAPM.Diagnostics.CAP(2.1.0) to monitor cap,The application is open and run, my computer is Lock screen,the newwork mybe break sometimes,When I come back, unlock my computer and connect to the internet,application is to print this error and Will not automatically recover,but cap can normal use to publish message and receivemessage
    Invoke diagnostic method exception.
    System.MissingMethodException: Method not found: 'DotNetCore.CAP.Messages.TransportMessage DotNetCore.CAP.Diagnostics.CapEventDataPubSend.get_TransportMessage()'.
    at SkyApm.Diagnostics.CAP.CapTracingDiagnosticProcessor.BeforePublish(CapEventDataPubSend eventData)
    at invoker_Void BeforePublish(CapEventDataPubSend)(Object , Object[] )
    at SkyApm.Diagnostics.TracingDiagnosticMethod.Invoke(String diagnosticName, Object value)
    at SkyApm.Diagnostics.TracingDiagnosticObserver.OnNext(KeyValuePair`2 value)

1692088454450

Requirement or improvement

  • Please describe about your requirements or improvement suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions