Blank Page with Wisej 3 and .net 6 on Ubuntu

3
0

I got my Application almost running (I think).

I startet it on the server with “dotnet Wisej3Sample.dll –urls=http://localhost:5001/” (Its a small “Hello World”-Test-Application.)
I configured my Apache to use the proxy like this:

<Location /Wisej3Sample/>
ProxyPass http://127.0.0.1:5001
</Location>

When i try to open the url in my browser i get a white page with the following source code:

!DOCTYPE html>
<html>
<head>
<title>Wisej3Sample</title>
<meta charset=”utf-8″ />
<meta http-equiv=”X-UA-Compatible” content=”IE=Edge;IE=11″ />
<meta http-equiv=”Cache-Control” content=”no-store” />
<script src=”wisej.wx”></script>
</head>
<body>

</body>
</html>
When i click on “wisej.wx” I get the following response:

“Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request

Reason: DNS lookup failure for: 127.0.0.1:5001wisej.wx”

What am I missing? Any help would be appriciated.

  • You must to post comments
0
0

Hi Dirk,

From what I can see, you’re missing a trailing slash at the end of your ProxyPass URL.
So it should be something like this:

<Location /Wisej3Sample/>
ProxyPass / http://127.0.0.1:5001/
</Location>

And, try to run your application as a service.
You can check out our Deployment docs for more info: Deployment | Wisej.NET

And, don’t limit the application to just “localhost” because that could cause some issues, try to replace your -url argument with “-url http://*:PORT

HTH,
Alaa

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.