Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopping Zoraxy on status page #11

Closed
Morethanevil opened this issue May 29, 2023 · 3 comments
Closed

Stopping Zoraxy on status page #11

Morethanevil opened this issue May 29, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Morethanevil
Copy link
Contributor

Describe the bug

If I try to stop zoraxy by pressing "Stop Service" it does nopt stop the service and says "Context deadline exceeded". I need to stop zoraxy then cia CLI

To Reproduce
Steps to reproduce the behavior:

  1. Go to status page
  2. Click on Stop Service
  3. See error

Expected behavior

Stopping the service

Additional context

This only happens on my VPS. On my hoemserver, everything is normal.

@Morethanevil Morethanevil added the bug Something isn't working label May 29, 2023
@tobychui
Copy link
Owner

I wonder what is your VPS provider. From our private conversations, seems many issues we discovered are from your VPS instances (e.g. wordpress CORS, context timeout).

I saw some similar issues on here, which might points to the settings with some cloud service provider limiting CPU throttle or intentionally creating IO bottleneck.

It will be nice if you could provide more information on the VPS environment and setup involved. Thanks!

@Morethanevil
Copy link
Contributor Author

My Provider is Netcup
I have the VPS 2000

https://www.netcup.de/bestellen/produkt.php?produkt=2963

Processor: 8 vCores
RAM: 12 GB
320GB SSD Storage
1 G/bit network

The Wordpress issue is something which give me headaches :D

I tried a fresh wordpress install in LXC on my homeserver. Same problem.
Then I tried a fresh install in docker, it is very easy to test, but exact the same problem.
My homeserver is a dedicated PC.

Ryzen 5 5600G
16GB RAM
B550 Aorus Elite v2
100M/bit DSL with DynDNS

Thew issue with stopping zoraxy with the button is not that important, I have CLi when I test things :)

@Morethanevil
Copy link
Contributor Author

Found a solution for wordpress finally...

I am using Wordpress with Apache, in the "wp-config.php" you need to put these lines after "<?php"

if ( (!empty( $_SERVER['HTTP_X_FORWARDED_HOST'])) || (!empty( $_SERVER['HTTP_X_FORWARDED_FOR'])) ) { $_SERVER['HTTPS'] = 'on'; }

Worked instantly
Only thing left is proper federation for matrix, I am trying out a few things :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants