• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Community

hekH

hek

@hek
Plugin & Theme Dev
About
Posts
160
Topics
21
Groups
2
Followers
1
Following
0

Topics

  • hekH

    [Solved] Socket.io 400/500 Errors

    Scheduled Pinned Locked Moved Technical Support
    1 Votes
    3 Posts
    2915 Views
    hekH

    Done...

    Socket.io 400 errors ยท Issue #5393 ยท NodeBB/NodeBB

    After spending a few days debugging a problem on our forum/nginx, I've finally found a solution to a massive amount of http 400 errors we've seen when loading the nodebb forum. These problems normally only manifest itself on high load.. ...

    favicon

    GitHub (github.com)

  • hekH

    Category Header/Introduction Text

    Scheduled Pinned Locked Moved Feature Requests
    2 Votes
    5 Posts
    2239 Views
    ?

    @hek, I'm really likeing the implementation outlined in your second post.

  • hekH

    What happened with the "users viewing a topic" feature?

    Scheduled Pinned Locked Moved General Discussion
    0 Votes
    16 Posts
    4147 Views
    E

    @julian how does this plugin work?

  • hekH

    Spam Accounts

    Scheduled Pinned Locked Moved General Discussion
    0 Votes
    9 Posts
    2491 Views
    julianJ

    Heh, wouldn't it be fun if we had a crowdsourced spammer database just for NodeBB forums... spam on one, get banned from every one in existence ๐Ÿ˜† ...

    #pipedreams

  • hekH

    Desktop notifications popup problem

    Scheduled Pinned Locked Moved Technical Support
    0 Votes
    2 Posts
    1554 Views
    NivixN

    I just switched to 0.8.2 today and was able to dismiss notifications on my Macbook.

  • hekH

    Old thread with dash-character can't be opened

    Scheduled Pinned Locked Moved Technical Support
    0 Votes
    1 Posts
    751 Views
    hekH

    One of your community members tried to open an old thread with the following title: "Relay actuator sketch - auto off function"

    But NodeBB refuses to serve this to the client.

    I suspect the url-rewrite gets mocked up but nothing is reported in error/output log.

    We're still running v0.7.0-dev something

    commit 9165da3b26a044c288d5db73c4933ca2b29e6a78

    EDIT: Upgrading to 0.8.2 seems to fix this.

  • hekH

    NodeBB acting as an OAuth provider

    Scheduled Pinned Locked Moved General Discussion
    1 Votes
    1 Posts
    1200 Views
    hekH

    Would it be possible to let NodeBB acts as OAuth provider for some other system? I.e. Ghost blogging platform?

    Maybe using: https://www.npmjs.com/package/node-oauth2-server

  • hekH

    [nodebb-plugin-affiliate] Affiliate Plugin

    Scheduled Pinned Locked Moved NodeBB Plugins
    3 Votes
    7 Posts
    3896 Views
    nhl.plN

    @hek

    Please update your first post in this topic. Remove binpress and add a link to your last post. It looks to be a great plug-in for everyone who want to monetize forum traffic.

  • hekH

    Strange encoding issue

    Scheduled Pinned Locked Moved Plugin Development
    0 Votes
    8 Posts
    3303 Views
    hekH

    Yepp.. I convert it back after parsing manipulating the url.

  • hekH

    How to move topics to sub category? [0.7.0]

    Scheduled Pinned Locked Moved Technical Support
    0 Votes
    2 Posts
    1170 Views
    hekH

    Doh.. setting both text/background color of category to white is NOT a good idea.

  • hekH

    User search error 0.7.0 master

    Scheduled Pinned Locked Moved Technical Support
    0 Votes
    10 Posts
    3414 Views
    barisB

    @hek said:

    Guess I was tired last night. Redis server hadn't been restarted after upgrade. ๐Ÿ˜ณ

    Haha yeah would be why.

  • hekH

    Massive amount of errors in nginx log

    Scheduled Pinned Locked Moved Bug Reports nginx
    0 Votes
    1 Posts
    3287 Views
    hekH

    I must have misconfigured something. But I cannot find out what the problem is. Is anone else experiencing lots of "upstream prematurely closed connection while reading response header from upstream" errors in their nginx log?

    Tried tweaking buffers sizes etc but I see no difference. Get the feeling that nodebb is terminating polling clients connections.

    Running 0.7.0-dev

    bash-4.3# tail -f error.log 2015/04/16 11:08:22 [error] 3682#0: *2132594 upstream prematurely closed connection while reading response header from upstream, client: 80.215.161.163, server: forum.mysensors.org, request: "GET /socket.io/?EIO=3&transport=polling&t=1429175291349-3624&sid=RfZHfKKEwNVHpVXoAwaK HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=1429175291349-3624&sid=RfZHfKKEwNVHpVXoAwaK", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/1251/power-emission-of-nrf/3" 2015/04/16 11:08:22 [error] 3682#0: *2134758 upstream prematurely closed connection while reading response header from upstream, client: 193.0.242.40, server: forum.mysensors.org, request: "GET /socket.io/?EIO=3&transport=polling&t=1429175291692-46449&sid=viXvQ0qO3-W84q8WAwaR HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=1429175291692-46449&sid=viXvQ0qO3-W84q8WAwaR", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/category/1/your-project" 2015/04/16 11:08:22 [error] 3683#0: *2134660 upstream prematurely closed connection while reading response header from upstream, client: 193.0.242.40, server: forum.mysensors.org, request: "GET /socket.io/?EIO=3&transport=polling&t=1429175291694-5713&sid=prgDiad8lLBmOgMSAwaS HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=1429175291694-5713&sid=prgDiad8lLBmOgMSAwaS", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/1018/contest-3d-printed-battery-powered-wall-remote-control" 2015/04/16 11:08:22 [error] 3683#0: *2134796 upstream prematurely closed connection while reading response header from upstream, client: 193.0.242.40, server: forum.mysensors.org, request: "GET /socket.io/?EIO=3&transport=polling&t=1429175291697-5940&sid=8YnoBBC_BNP6ebocAwaT HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=1429175291697-5940&sid=8YnoBBC_BNP6ebocAwaT", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/796/mysensors-contest-2015/9" 2015/04/16 11:08:22 [error] 3683#0: *2135121 upstream prematurely closed connection while reading response header from upstream, client: 193.109.225.252, server: forum.mysensors.org, request: "GET /socket.io/?EIO=3&transport=polling&t=1429175292021-2931&sid=O8ibWd4vz1Xwl23sAwZ_ HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=1429175292021-2931&sid=O8ibWd4vz1Xwl23sAwZ_", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/305/mysensors-protocol-format" 2015/04/16 11:08:22 [error] 3683#0: *2136215 upstream prematurely closed connection while reading response header from upstream, client: 193.0.242.40, server: forum.mysensors.org, request: "GET /socket.io/?EIO=3&transport=polling&t=1429175291704-46206&sid=MqxqCEmwFpQygRUJAwaQ HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=1429175291704-46206&sid=MqxqCEmwFpQygRUJAwaQ", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/404/3-in-1-humidity-temp-and-motion/18" 2015/04/16 11:08:22 [error] 3682#0: *2133315 upstream prematurely closed connection while reading response header from upstream, client: 193.109.225.252, server: forum.mysensors.org, request: "GET /socket.io/?EIO=3&transport=polling&t=1429175292024-2940&sid=iBD3mJ_QApuEKMexAwaA HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=1429175292024-2940&sid=iBD3mJ_QApuEKMexAwaA", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/175/open-source-home-automation-raspberry/2" 2015/04/16 11:08:22 [error] 3682#0: *2135389 upstream prematurely closed connection while reading response header from upstream, client: 193.109.225.252, server: forum.mysensors.org, request: "GET /socket.io/?EIO=3&transport=polling&t=1429175292028-2896&sid=FGds-qrKOaArQkHwAwaB HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=1429175292028-2896&sid=FGds-qrKOaArQkHwAwaB", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/175/open-source-home-automation-raspberry" 2015/04/16 11:08:22 [error] 3682#0: *2136281 upstream prematurely closed connection while reading response header from upstream, client: 193.0.242.40, server: forum.mysensors.org, request: "GET /socket.io/?EIO=3&transport=polling&t=1429175291713-46237&sid=qdnYQxCy4rSXwKIiAwaU HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=1429175291713-46237&sid=qdnYQxCy4rSXwKIiAwaU", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/486/my-2aa-battery-sensor" 2015/04/16 11:08:22 [error] 3682#0: *2136491 upstream prematurely closed connection while reading response header from upstream, client: 94.153.230.50, server: forum.mysensors.org, request: "GET /socket.io/?EIO=3&transport=polling&t=1429175291870-45599&sid=jlQkVDgDcwlbk1yBAwaV HTTP/1.1", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=1429175291870-45599&sid=jlQkVDgDcwlbk1yBAwaV", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/303/mqtt-broker-gateway/5"

    config.json

    config.json { "secret": "xxx", "bind_address": "127.0.0.1", "database": "redis", "redis": { "host": "127.0.0.1", "port": "6379", "password": "xxx", "database": "1" }, "url": "http://forum.mysensors.org" }

    /etc/nginx/nginx.conf

    user www-data; worker_processes 2; pid /run/nginx.pid; events { worker_connections 1024; # multi_accept on; } http { proxy_buffers 8 16k; proxy_buffer_size 32k; sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # server_tokens off; server_names_hash_bucket_size 64; include /etc/nginx/mime.types; default_type application/octet-stream; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; gzip on; gzip_disable "msie6"; include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; }

    /etc/nginx/sites-enabled/default

    server { listen 80; server_name forum.mysensors.org; # prevents 502 bad gateway error large_client_header_buffers 8 32k; client_max_body_size 2M; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_redirect off; proxy_buffering off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; gzip on; gzip_min_length 1000; gzip_proxied off; gzip_types text/plain application/xml application/x-javascript text/css application/json; location @nodebb { proxy_pass http://127.0.0.1:4567; } location ~ ^/(images|language|sounds|templates|uploads|vendor|src\/modules|nodebb\.min\.js|stylesheet\.css|admin\.css) { root /usr/mysensors/mysensors-forum/NodeBB/public/; try_files $uri $uri/ @nodebb; } location / { error_page 502 =200 @maintenance; # prevents 502 bad gateway error proxy_buffers 8 32k; proxy_buffer_size 64k; proxy_pass http://127.0.0.1:4567; } location @maintenance { root /opt/nginx/maintanance/; try_files $uri /index.html =503; } }
  • hekH

    CPU utilization increased in 0.6.x

    Scheduled Pinned Locked Moved Bug Reports
    0 Votes
    39 Posts
    13546 Views
    H

    @baris said:

    @HashClub No
    Change this selected: group.name === results.userSettings[i].groupTitle to selected: true

    Thank you. ๐Ÿ™‚

  • hekH

    Upgrade from 0.5.X to 0.6.X

    Scheduled Pinned Locked Moved Bug Reports
    0 Votes
    2 Posts
    1167 Views
    PitaJP

    Did you git fetch and git checkout 0.6.x and git merge origin/v0.6.x first?

    This is the official upgrade guide:

    https://docs.nodebb.org/en/latest/upgrading/index.html

  • hekH

    Double posts

    Scheduled Pinned Locked Moved Bug Reports
    0 Votes
    5 Posts
    1728 Views
    hekH

    Thanks @baris.. Intermittent problems is the worst. ๐Ÿ™‚

  • hekH

    Cloudflare websocket problem

    Scheduled Pinned Locked Moved Bug Reports
    0 Votes
    13 Posts
    4931 Views
    hekH

    Gah.. It might be a chrome-thing? My chrome recently updated. The inspect/dev-console looks different.
    I "clicked-around" a bit and now the browser shows a websocket connection again!

    Screen Shot 2014-10-11 at 20.59.58.png

  • hekH

    Codebender plugin

    Scheduled Pinned Locked Moved NodeBB Plugins
    2 Votes
    3 Posts
    1688 Views
    hekH

    @psychobunny

    Yep, it's a strange feeling.

  • hekH

    Vanilla is missing group icon/description

    Scheduled Pinned Locked Moved Bug Reports
    0 Votes
    3 Posts
    1270 Views
    barisB

    Vanilla seems to not have those, made an issue https://github.com/NodeBB/nodebb-theme-vanilla/issues/34

  • hekH

    0.4.3 problems getting tags working

    Scheduled Pinned Locked Moved Bug Reports
    0 Votes
    8 Posts
    2548 Views
    psychobunnyP

    Leave your feedback here, and we'll address it ๐Ÿ™‚

    https://github.com/NodeBB/NodeBB/issues/1618

  • hekH

    0.4.2 UPGRADE: Generated avatar disappeared

    Scheduled Pinned Locked Moved Bug Reports
    0 Votes
    14 Posts
    3252 Views
    julianJ

    @hek What templates do you guys override in your theme? You may have to reapply those changes with the latest version of some of those files.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.