Skip to content

Listen on second port for secure WebSocket notifications #1

Description

@michielbdejong
No description provided.

Activity

  1. michielbdejong commented on Oct 7, 2022

    @michielbdejong
    MemberAuthor

    Testing it with ./test.sh in the feature-secure-webhook-to-ws branch

  2. linked a pull request that will close this issueWebHook-to-WebSocket forwarder #2on Oct 7, 2022
  3. michielbdejong commented on Oct 7, 2022

    @michielbdejong
    MemberAuthor

    It seems https://www.php.net/manual/en/function.pcntl-fork.php is not supported in the base image, so I create 2 scripts, one server/serverWps.php and one server/serverWh2Ws.php.
    Next challenge: Listen for webhooks in server/serverWh2Ws.php. Until now I'm getting:

    curl -i http://pubsub:8081
    HTTP/1.1 426 Upgrade header MUST be provided
    Connection: Upgrade
    Upgrade: websocket
    Sec-WebSocket-Version: 13
    Sec-WebSocket-Protocol: solid-0.1
    X-Powered-By: Ratchet/0.4.3
    
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions