Comments (3)
Your organization has reached the subscribed usage limit. You can upgrade your plan at https://github.com/marketplace/code-autopilot-ai-coder
Disclaimer: This comment was entirely generated using AI. Be aware that the information provided may be incorrect.
Current plan usage: 159.51%
Have feedback or need help?
Discord
Documentation
[email protected]
from soketi.
I've got a similar setup and it works no problem.
Here's my nginx config:
server {
listen 443 ssl http2;
server_name ws.alltrac.test;
server_tokens off;
ssl_certificate /certs/dev.pem;
ssl_certificate_key /certs/dev.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
ssl_prefer_server_ciphers on;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
charset utf-8;
location / {
proxy_pass http://soketi:6001;
proxy_read_timeout 60;
proxy_connect_timeout 60;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
access_log off;
error_log off;
}
config.json
{
"debug": true,
"port": 6001,
"appManager.array.apps": [
{
"id": "testing",
"key": "testing",
"secret": "appSecret",
}
]
}
And my docker-compose.yml:
version: "3.5"
services:
nginx:
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/sites-available/default:delegated
- ./docker/certificates:/certs:delegated # map our local project keys
- ~/.mkcert-keys:/root/.local/share/mkcert:delegated # map our global mkcert key
ports:
- "80:80"
- "443:443"
soketi:
depends_on:
- nginx
image: quay.io/soketi/soketi:1.5-16-debian
command: soketi start --config=/config/config.json
volumes:
- .:/var/www:delegated
- ./docker/soketi:/config
- ~/.mkcert-keys:/mkcert:delegated # map our global mkcert key
environment:
- SOKETI_SSL_CA=/mkcert/rootCA-key.pem
ports:
- "6001:6001"
- "9601:9601"
This is a local setup but works fine. Your issue appears to be more of an nginx misconfiguration.
from soketi.
I've got a similar setup and it works no problem.
Here's my nginx config:
server {
listen 443 ssl http2;
server_name ws.alltrac.test;
server_tokens off;
ssl_certificate /certs/dev.pem;
ssl_certificate_key /certs/dev.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
ssl_prefer_server_ciphers on;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
charset utf-8;
location / {
proxy_pass http://soketi:6001;
proxy_read_timeout 60;
proxy_connect_timeout 60;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
access_log off;
error_log off;
}
config.json
{
"debug": true,
"port": 6001,
"appManager.array.apps": [
{
"id": "testing",
"key": "testing",
"secret": "appSecret",
}
]
}
And my docker-compose.yml:
version: "3.5"
services:
nginx:
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/sites-available/default:delegated
- ./docker/certificates:/certs:delegated # map our local project keys
- ~/.mkcert-keys:/root/.local/share/mkcert:delegated # map our global mkcert key
ports:
- "80:80"
- "443:443"
soketi:
depends_on:
- nginx
image: quay.io/soketi/soketi:1.5-16-debian
command: soketi start --config=/config/config.json
volumes:
- .:/var/www:delegated
- ./docker/soketi:/config
- ~/.mkcert-keys:/mkcert:delegated # map our global mkcert key
environment:
- SOKETI_SSL_CA=/mkcert/rootCA-key.pem
ports:
- "6001:6001"
- "9601:9601"
This is a local setup but works fine. Your issue appears to be more of an nginx misconfiguration.
from soketi.
Related Issues (20)
- [BUG] Metrics - process uncaughtException HOT 1
- Cloudflare Token is not valid. HOT 5
- Is there any way to use server sent events (sse) with soketi? HOT 2
- [REQUEST]: App ID & Secret HOT 4
- [BUG] Soketi Does Not Connect HOT 1
- [BUG] Soketi not starting on nodejs major v20 HOT 10
- [BUG] Duplicate messages being sent to client HOT 2
- [REQUEST] Consider using DragonflyDB and/or KeyDB instead of Redis HOT 2
- [REQUEST] Force Dockerfile.debian to VERSION 16 HOT 2
- EVENT_MAX_SIZE_IN_KB is not working in docker soketi HOT 1
- [BUG] queue redis driver HOT 2
- [REQUEST] Add Support for json export of metrics and usage HOT 1
- [BUG] I can't seem to install soketi in pnpm v8.12 and node v20 HOT 1
- soketi can not working in Docker ? HOT 5
- https://dash.soketi.app/register seems to be down HOT 7
- [REQUEST] Metrics direct logging? HOT 1
- Can't stablish ssl connection with soketi and laravel HOT 3
- Typo in docs HOT 2
- [BUG] Same port bug and or bug behind kubernetes LB? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soketi.