Pydio cells-sync client can't connect - nginx

I installed pydio with cells v3 on my windows server behind nginx.
The service is up and reachable from both the outside the network at sub.domain.com and within my network using the servers local IP. From outside, SSL is working, from inside the self-issued SSL certificate is used and flaged as insecure.
The browser interface is working perfectly fine. However, I can't log in using the win-desktop client or andriod app. Entering https://sub.domain.com and clicking 'Username' opens the browser and I get a 520 'Web server is returning an unknown error.' Before the error, the pydio interface is rendered for a few milliseconds:
Connecting...
Application is not yet connected to agent. Please wait
while we are trying to connect...
followed immediately by
Disconnecting
Application is disconnected from agent. Please wait
while we are trying to reconnect...
However, the logs in the admin page don't show any errors.
Interestingly, when the 520 error is shown in the browser, the URL begins with domain.com, not sub.domain.com.
I have only mapped sub.domain.com to internal-server-IP:8080 in nginx.
Am I missing something here?

Related

Deno Server doesn't go through the Internet

I built a simple Webserver with just the serve function from the std http module. It just redirects a request to a new URL:
import { serve } from "https://deno.land/std#0.120.0/http/server.ts";
serve(req => Response.redirect("https://google.com"))
It works, when I access the server through a browser on my laptop, where the server is running, but when I try to access it on another machine in the same network using the ip-address of my laptop, there simply is no response at all. Is this one of the security features Deno has and if so, how can you deactivate it?
Update:
So I tried looking up the requests I make on my local machine in Wireshark, but when I run the server and send a request, it doesn't show up there. I disabled my Wifi Connection to see if that changes anything and to my surprise, I still got an answer from the server when I sent a request through the browser. I came to the conclusion that the Deno server somehow doesn't serve over the local network which really confuses me. Is there a way to change that behaviour?
This is not related to Deno, but rather the firewall features of your device/router/network or an error in the method that you are using to connect from the other device (typo, network configuration, etc.).
Without additional configuration (by default), serve binds to 0.0.0.0:8000, so — as an example — if your laptop is assigned the local address 192.168.0.100 by your router, you could reach the server at the address http://192.168.0.100:8000.
You might want to do research on SE/NetworkEngineering and elsewhere to determine the cause of the blocked connection.

ERR_NAME_NOT_RESOLVED when trying to connect to api through proxy

I have a website, and lately I had to change the web address. When the user first enters "http://name-of_the.website.pl", he is greeted with login screen. This part is working perfectly. As soon as the user enters credentials and hits the login button, the website throws ERR_NAME_NOT_RESOLVED.
The login page is trying to connect to api (deployed in the same docker swarm) through nginx proxy (code below). After inspecting proxy logs I have found this:
2021-11-11 18:02:05 +0000 2021/11/11 18:02:05 [error] 15#15: *192 config.json could not be resolved (3: Host not found), client: 10.0.0.2, server: ~^proxy\.name-of_the\.website\.pl$, request: "GET /config.json HTTP/1.1
The whole thing used to work great before changing the host name.
So everything was fine with my proxy and the website. The reason it did not work was the fact that the website was trying to connect to local proxy while it was on the server somewhere else. All I had to do was add the address of the server hosting the proxy and the rest of the app to hosts file on my machine.

'Invalid hostname' response from http.sys

We have web service running hosted on an OwinHttpListener (http.sys behind the scenes). Whenever we send requests to the app on the IP address, it responds with 'Invalid hostname'.
After much trawling of stack overflow and google, im not really any closer to a solution. The requests are getting through to http.sys, as i can see them in the HTTP error log. I can log onto the server in question and access the service locally (using localhost or 127.0.0.1) and i can use the server name to successfully get through, the only failure condition is using the servers IP address.
Ive tried the following:
Ensure the app is listening on all interfaces (http://+:8080)
Ensure IIS is not trying to use the port (it isnt)
Ensure windows firewall is configured to allow traffic on that port (it is)

IIS - ip browsing ok, dns error

I'm setting up website. IIS hosting my site (ASP.NET) is located on server server1. when I connect to my website http://server1.com/site/ eveything work fine.
We decided to use DNS alias - supersite, which means, when I connect to my website using http://supersite.com/site/, this should be equal to first request.
Command line ping command shows the same server - this is for sure.
This doesn't happen. When I'm connecting with raw URL http://server1.com/site/, server responds correctly, when I connect using DNS alias http://supersite.com/site/, server returns:
The page cannot be displayed because an internal server error has occurred.
I tried configure more detailed information, I set up Error Pages -> 500 -> Detailed Error, I enabled Send errors to browser in ASP menu. Nothing helps.
I think, that server doesn't connect to my website when I'm using DNS alias and all my attempts enabling detailed errors means nothing.

Published asp.net website not accessible in other system in same network

I have developed a asp.net website and published in a server.Whereas everything works perfectly in that server if i give browser from that IIS manager, and in server ( published system ) everything works perfect.But i need to access the same published application also in the other systems also ( which are connected in same network ). How is it possible..??
NOTE:
1. Used IIS 7.
When tried to connect from another system from same networ getting error as follows
The socket connection to 172.31.7.243 failed.
ErrorCode: 10060.A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 172.31.7.243:90
If Your are accessing Your application on Hosted Server like this then just replace
localhost with ipaddress of hosted server to access it over the network
[localhost]/MyProjectName
then like this:
[IPaddress_of_HostedServer]/MyProjectName
It is possible that the HTTP traffic on port 80 incoming from the local network is blocked.
You should check if ISA server is installed on your server and if so if HTTP traffic on port 80 is allowed or not. If it's blocked try to allow it for the local network ip range.
Edit: Or port 90 as your error code states, but why are you working on port 90?

Resources