Skip to content

Exceptions constantly thrown in debugger #173

@richardpickett

Description

@richardpickett

using "version": "v1.4.0"

Whenever I run my php in the debugger (vscode) and have it catch exceptions, I'm constantly getting this exception:

vendor/react/dns/src/Resolver/Resolver.php:(86)
Exception has occurred.
React\Dns\RecordNotFoundException: DNS query for discord.com did not return a valid answer (NOERROR / NODATA)

This is for a discord bot, so it connects to discord.com.

I run tcpdump and watch the dns requests and response - there are no issues, and I can always resolve the name using dig/host without any problems.

It's near-instantaneous, as soon as I click "run," it's stopped on that exception.

I hear on the discord group that anyone who debugs has this same problem, so I'm happy to dig into this and see if we can resolve it.

It may be the way the dns is invoked, if so, I'd be happy to get that cleared up for the discord coders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions