Skip to content

DNS network syscalls failing when falling back to secondary nameservers #73

Description

@satom99
local ws = require('http.websocket')
local socket = ws.new_from_uri('wss://gateway.discord.gg')
print( socket:connect(15) )
-- nil     starttls: Invalid argument      22

After a fresh Lua and luarocks installation this error occurs. Probably has to do with cqueues but posting here just in case.

EDIT: Seems to work fine on Ubuntu, this error is proven to fire on Debian.

Also, after installing using luarocks, the module is eventually named after http_0_1_0-http and not http as expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions