Giter VIP home page Giter VIP logo

Comments (6)

CommanderStorm avatar CommanderStorm commented on August 21, 2024

From the configuration and the log, i cannot see something obvious.

  • (getting the stupid stuff out off the way first) have you maybe not applied a change in nginx?
    Could you send the SIGUSR1 signal
    nginx -s reload
  • are you using a custom filter set as the user in #4256, or are you running vanilla nginx?
  • As a hunch: could you try launching the docker container with the -e UPTIME_KUMA_WS_ORIGIN_CHECK=bypass option (see https://github.com/louislam/uptime-kuma/releases/tag/1.23.9)?

from uptime-kuma.

krivahtoo avatar krivahtoo commented on August 21, 2024
  • (getting the stupid stuff out off the way first) have you maybe not applied a change in nginx?

Yeah, I have

I am running vanilla nginx.

I tried but still no change.

Should the ip on uptime-kuma logs be my ip?

from uptime-kuma.

CommanderStorm avatar CommanderStorm commented on August 21, 2024

Are you running behind a firewall, vpn.. that might impede the websocket connection?

About the IP in the logs:

const clientIP = await this.getClientIPwithProxy(req.connection.remoteAddress, req.headers);

=> we print the ip that we recive unless trustProxy is set.

from uptime-kuma.

krivahtoo avatar krivahtoo commented on August 21, 2024

Are you running behind a firewall, vpn.. that might impede the websocket connection?

Not sure. I am using a gcp compute engine with the default allow-https/allow-http firewall settings.

... trustProxy is set.

Do i need to set this? If so, where do i set it?

from uptime-kuma.

CommanderStorm avatar CommanderStorm commented on August 21, 2024

gcp compute engine with [...] firewall settings

Could you try disabling the fiewall and see if this fixes the problem?
I don't know what that firewall filters as I don't use GCP.

Do i need to set this

You don't need to set this. (plus you can't if socketio is not working ^^)

from uptime-kuma.

krivahtoo avatar krivahtoo commented on August 21, 2024

Could you try disabling the fiewall and see if this fixes the problem?

I'm not sure if it is possible, I will check.

... I don't know what that firewall filters as ...

I think it basically block access to all ports on the server by default and you have to allow the ports you want accessible (allow-http and allow-https in this case allows traffic on ports 80 and 433).

from uptime-kuma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.