Skip to content

Getting error Failed to construct websocket url #43

@debojitkakoti

Description

@debojitkakoti

I am running ari-proxy 5.2.3 but getting following error

Error: failed to connect to ARI: failed to create websocket configuration: Failed to construct websocket config: parse "\"ws://localhost:8088/ari/events\"?app=my_test_app": invalid URI for request
t=2022-06-02T13:04:47+0000 lvl=info msg="starting ari-proxy server" version=5.2.3
t=2022-06-02T13:04:47+0000 lvl=eror msg="server died" error="failed to connect to ARI: failed to create websocket configuration: Failed to construct websocket config: parse \"\\\"ws://localhost:8088/ari/events\\\"?app=my_test_app\": invalid URI for request"

Passed all environment variables as follows.

     -e ARI_APPLICATION="my_test_app" \
     -e ARI_USERNAME="demo-user" \
     -e ARI_PASSWORD="supersecret" \
     -e ARI_HTTP_URL="http://localhost:8088/ari" \
     -e ARI_WEBSOCKET_URL="ws://localhost:8088/ari/events" \
     -e NATS_URL="nats://nats:4222" \

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions