question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

🐛 BUG: Unable to distinguish tail message type from the websocket message payload

See original GitHub issue

What version of Wrangler are you using?

0.0.0

What operating system are you using?

Mac

Describe the Bug

(sent here from the #do-alarms Discord channel by Matt @ cloudflare)

Please add a new field to every tail websocket wire protocol message to distinguish the various contexts now present in workers. Right now it is impossible to always tell the difference between eyeball requests, DO requests, cron requests, and now DO alarm requests [*].

Could be a type code number if necessary to keep the payload small.

Would be immediately useful, thanks! I don’t use wrangler, but use the WS directly.

* strictly speaking cron requests can be identified by the payload properties, but the others are often ambiguous

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
petebacondarwincommented, Jun 8, 2022

Let me check. I’ll respond here tomorrow with more.

0reactions
petebacondarwincommented, Jun 13, 2022

Yes they use the same tracing infrastructure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jmeter - Websocket plugin - unable to find solution to ...
So far the requirements were simply to send and receive some payload, or simply send and forget. However I got a new requirement...
Read more >
[Request] Make WebSocketSubject distinguish between client ...
Now the thing is: I can't distinguish between the origins of the message in my client. I send messages by calling next() on...
Read more >
Client-Side WebSocket Support • Akka HTTP - Documentation
A WebSocket consists of two streams of messages, incoming messages (a Sink Sink ) and ... If the connection fails, for example with...
Read more >
25. WebSocket Support - Spring
2, “Enable STOMP over WebSocket” demonstrates how to configure STOMP support in Spring. Section 25.4.4, “Annotation Message Handling” and the following sections ...
Read more >
How to enable detailed logging of Mosquitto broker on ...
If you want to log the PUBLISH message payload, here I add custome log in ... Works great for existing logs, but can't...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found