Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Singlar Core Apache port forwarding issue #1150

@JinsPeter

Description

@JinsPeter

I'm working on a .net core web api app where I use signalr core. I used apache to redirect the web request to www.myserver.com to http://127.0.0.1:5000 which is where my kestral runs.

<VirtualHost *:80>
  ServerName www.myserver.com
  ProxyPreserveHost On
  ProxyPass / http://127.0.0.1:5000/
  ProxyPassReverse / http://127.0.0.1:5000/
  ErrorLog <errorLogLocation>/<errorLogFilename>.log
  CustomLog <errorLogLocation>/<customErrorLogFilename>.log common
</VirtualHost>

The issue is the http request works fine, signalr handshake works fine, gets me the connection id, but the websocket connection fails with a message, error establishing connection with
ws://www.myserver.com/SignalR?id='some-guid-here'.

I'm using RHEL and Apache.
Is there a way to give domain name to Kestral in linux without apache.?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions