Closed SajidK25 closed 6 months ago
Most likely this is a bug with your setup. Not the application itself.
How about have a look at the docker logs for the container? What is the error message there?
@bjarneo thanks for reply. There is no error here on docker logs for Hemmilig container.
Here is the whoami out :-
Hostname: 65f15d368a8f
IP: 127.0.0.1
IP: 192.168.32.6
RemoteAddr: 192.168.32.2:39620
GET / HTTP/1.1
Host: whoami.domain
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,fr;q=0.8,hi;q=0.7,bn;q=0.6
Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "Linux"
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
X-Forwarded-For: Client_Public_IP
X-Forwarded-Host: whoami.domain
X-Forwarded-Port: 443
X-Forwarded-Proto: https
X-Forwarded-Server: d9c59586ddc7
X-Real-Ip: Client_Public_IP
The Restrict IP feature is working perfectly. However, When I try to access the secret from a different IP there should be raised a errorbox . That errorbox is not showing whole over the deployment.
I am not helping people taking donation and credit of a product they copied and changed the text, and logo.
It is also custom modified.
Even though this is code is under the MIT, it does not mean I do tech support in cases like this.
Description
Hi, @bjarneo Greeting! I have deployed Hemmelig.app to my VPS behind a Traefik proxy. Everything is working well so far but Restricting IP feature. When I generated a secret using that feature the secret could not be opened even there was no error message showed. Browser console showed a error
Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Screenshots
Additional information
I have hemmelig with docker compose behind Traefik.
My Traefik header configuration:-