Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Internal Server error Without email functionality enabled #295

Open
uc-sithu opened this issue Jun 7, 2024 · 2 comments
Open

Internal Server error Without email functionality enabled #295

uc-sithu opened this issue Jun 7, 2024 · 2 comments
Assignees

Comments

@uc-sithu
Copy link

uc-sithu commented Jun 7, 2024

  • [✅ ] I've read the FAQ and my problem isn't described there.
  • [✅ ] I've also searched through the existing issues, and my problem hasn't been brought up

Describe the issue
First time I try to login with the link provided by terminal. I don't enable email functionality. Also I don't even have a chance to log in yet. This is the first time.

image

Logs (if applicable)
Paste any relevant error messages here:

what's that "[email protected]" email?

time="2024-06-07T09:00:53Z" level=debug msg="Mark 1FA authentication attempt made by user '[email protected]'" method=POST path=/api/firstfactor remote_ip=157.230.195.44
time="2024-06-07T09:00:53Z" level=error msg="Unsuccessful 1FA authentication attempt by user '[email protected]'" error="user not found" method=POST path=/api/firstfactor remote_ip=157.230.195.44 stack="github.com/authelia/authelia/v4/internal/handlers/response.go:275           markAuthenticationAttempt\ngithub.com/authelia/authelia/v4/internal/handlers/handler_firstfactor.go:52 handleRouter.FirstFactorPOST.func10\ngithub.com/authelia/authelia/v4/internal/middlewares/bridge.go:54           handleRouter.(*BridgeBuilder).Build.func5.1\ngithub.com/authelia/authelia/v4/internal/middlewares/headers.go:65          SecurityHeadersCSPNone.func1\ngithub.com/authelia/authelia/v4/internal/middlewares/headers.go:91          SecurityHeadersNoStore.func1\ngithub.com/authelia/authelia/v4/internal/middlewares/headers.go:30          SecurityHeadersBase.func1\ngithub.com/fasthttp/[email protected]/router.go:441                             (*Router).Handler\ngithub.com/authelia/authelia/v4/internal/middlewares/log_request.go:14      handleRouter.LogRequest.func40\ngithub.com/authelia/authelia/v4/internal/middlewares/errors.go:38           RecoverPanic.func1\ngithub.com/valyala/[email protected]/server.go:2374                          (*Server).serveConn\ngithub.com/valyala/[email protected]/workerpool.go:224                       (*workerPool).workerFunc\ngithub.com/valyala/[email protected]/workerpool.go:196                       (*workerPool).getCh.func1\nruntime/asm_amd64.s:1695                                                    goexit"
time="2024-06-07T09:11:39Z" level=debug msg="Check authorization of subject username= groups= ip=5.164.29.116 and object https://wg.domain.duckdns.org/ (method GET)."
time="2024-06-07T09:11:39Z" level=info msg="Access to https://wg.domain.duckdns.org/ (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=5.164.29.116
time="2024-06-07T09:11:52Z" level=debug msg="Check authorization of subject username= groups= ip=5.164.29.116 and object https://wg.domain.duckdns.org/ (method GET)."
time="2024-06-07T09:11:52Z" level=info msg="Access to https://wg.domain.duckdns.org/ (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=5.164.29.116
time="2024-06-07T09:12:07Z" level=debug msg="Check authorization of subject username= groups= ip=116.105.215.255 and object https://wg.domain.duckdns.org/ (method GET)."
time="2024-06-07T09:12:07Z" level=info msg="Access to https://wg.domain.duckdns.org/ (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=116.105.215.255
time="2024-06-07T10:12:55Z" level=debug msg="Check authorization of subject username= groups= ip=52.16.245.145 and object https://wg.domain.duckdns.org/ (method GET)."
time="2024-06-07T10:12:55Z" level=info msg="Access to https://wg.domain.duckdns.org/ (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=52.16.245.145
time="2024-06-07T10:12:57Z" level=debug msg="Check authorization of subject username= groups= ip=52.16.245.145 and object https://wg.domain.duckdns.org/ (method GET)."
time="2024-06-07T10:12:57Z" level=info msg="Access to https://wg.domain.duckdns.org/ (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=52.16.245.145
time="2024-06-07T10:41:23Z" level=debug msg="Check authorization of subject username= groups= ip=104.166.80.8 and object https://wg.domain.duckdns.org/ (method GET)."
time="2024-06-07T10:41:23Z" level=info msg="Access to https://wg.domain.duckdns.org/ (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=104.166.80.8
time="2024-06-07T10:50:24Z" level=debug msg="Check authorization of subject username= groups= ip=65.154.226.169 and object https://wg.domain.duckdns.org/ (method GET)."
time="2024-06-07T10:50:24Z" level=info msg="Access to https://wg.domain.duckdns.org/ (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=65.154.226.169
time="2024-06-07T11:21:04Z" level=debug msg="Check authorization of subject username= groups= ip=104.164.195.254 and object https://wg.domain.duckdns.org/ (method GET)."
time="2024-06-07T11:21:04Z" level=info msg="Access to https://wg.domain.duckdns.org/ (method GET) is not authorized to user <anonymous>, responding with status code 401" method=GET path=/api/verify remote_ip=104.164.195.254

Environment:

  • Client OS: [Ubuntu 22.04]
  • VPS OS [Ubuntu 22.04]
  • VPS Provider [Racknerd]
@uc-sithu uc-sithu changed the title Internal Server error Internal Server error Without email functionality enabled Jun 7, 2024
@VH-Tech
Copy link

VH-Tech commented Nov 6, 2024

Did you have any sucess with this ?

@uc-sithu
Copy link
Author

uc-sithu commented Nov 7, 2024

I just used docker compose. Here's how you can do that

If you want to store config persistently.

mkdir wg-easy

if you don't want to store config, remove volumes block.

version: '3.8'

services:
  wg-easy:
    image: ghcr.io/wg-easy/wg-easy
    container_name: wg-easy
    environment:
      - LANG=en
      - WG_HOST=yourdomain.com  # Localhost because Nginx will be handling external requests
      - PASSWORD=password
      - PORT=51821
      - WG_PORT=51820
    volumes:
      - ./wg-easy/:/etc/wireguard
    ports:
      - "51820:51820/udp"
      - "51821:51821/tcp"
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
      - net.ipv4.ip_forward=1
    restart: unless-stopped

this 51821 port is for web.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants