CloudFlare


  • Admin

    To speed up the main site we're setting up a CDN from CloudFlare. This should improve image downloads and speed up things for our US friends.

    Hopefully the migration won't affect the site availability more than a few seconds.

    We will later look at CDN/caching (at least images) on the forum as well.


  • Mod

    @hek Interesting...
    Maybe also switch to more conventional forum software (current version still behaves like cr*p if you ask me, especially on mobile devices. And yes, I did clean out my cache/cookies multiple times...)


  • Admin

    Thats weird. Nodebb is mobile-first and it works quite nice for me on android. But I agree there still is a few bugs that needs to be sorted out. The team behind it seems to be working hard on fixing problems that is reported.

    I like that there is no need for special apps to read forum like you need for SMF and many others.


  • Code Contributor

    @hek I also think this forum sucks (sorry, no offence, you did a good job setting all this up, but the forum software sucks) It works to look at on a android phone / tablet, but on PC with chrome, opera, mozilla it just doesnt work as it should do. I actually use the tablet to view the forum becos I just have this iterface on a PC, its too big! I'll havetozoom out 😛


  • Hero Member

    I don't mind the forum, but I'd still like to see tapatalk support. Don't know if it exists, seeing as nodebb is already supposed to be mobile-centric. Saw some discussion about this elsewhere, there sure are some tapatalk haters around 😕 I just like the ability to get push notifications of replies and such. And have all forums in one app and not have to open a web browser, which is still sort of slow on my Galaxy SII.


  • Admin

    @Damme said:

    I actually use the tablet to view the forum becos I just have this iterface on a PC, its too big! I'll havetozoom out

    What resolution are you using? What parts is too big? A screenshot could help to understand the problem.
    It could be theme related. Do you see the same problems here: https://community.nodebb.org


  • Mod

    Just some annoyances that come to mind:

    • The popup to jump to where I left off works on chrome on a PC, but doesn't work on android tablet/phone. I have to scroll down all the time and when I finally get to the bottom the whole thing does not display the new messages...
    • When entering text on android the other messages are completely obscured by the text entry window.
    • The top/end navigation buttons on the top (that are only visible on PC( why not on android?)) only jump one page down or so.
    • both my android devices are full HD and yet I'm typing this message with only 2 (two!) lines visible because there's too much space reserved by stuff I don't care about (my sensors logo, subject, 'replying to' same subject, formatting buttons, discard/submit buttons and then finally my text entry box with keyboard below)

  • Admin

    @Yveaux said:

    The top/end navigation buttons on the top (that are only visible on PC( why not on android?)) only jump one page down or so.

    Agree should be there!

    both my android devices are full HD and yet I'm typing this message with only 2 (two!) lines visible because there's too much space reserved by stuff I don't care about (my sensors logo, subject, 'replying to' same subject, formatting buttons, discard/submit buttons and then finally my text entry box with keyboard below)

    Press the little button just left of spacebar on android keyboard. This should make keyboard movable and a bit smaller.


  • Mod

    The only two things that do not work well are jumping to where you were with your last visit and (sometimes) sending a message does not work on first click but that is it.
    I quite like the way the forum looks.


  • Admin

    @bjornhallberg said:

    I just like the ability to get push notifications of replies and such.

    As soon as 0.5 is out I will add pushbullet support.

    https://community.nodebb.org/topic/1796/nodebb-plugin-pushbullet-push-notifications-for-nodebb


  • Hero Member

    @hek said:

    @bjornhallberg said:

    I just like the ability to get push notifications of replies and such.

    As soon as 0.5 is out I will add pushbullet support.

    https://community.nodebb.org/topic/1796/nodebb-plugin-pushbullet-push-notifications-for-nodebb

    That'll be great, thanks!


  • Mod

    @hek said:

    Press the little button just left of spacebar on android keyboard

    I have a button with a globe, microphone and '123' to the left of the spacebar. These will not make the keyboard moveable.
    Which one do you mean?


  • Admin

    samsung.png

    Maybe a samsung feature? Before I took screendump I did a press-and-hold on the button left of spacebar.


  • Mod

    @hek That's definately not a standard Android keyboard!
    I'm on stock Android, and this is how it looks on my Nexus 5:

    2014-07-25 15.20.07.png


  • Code Contributor

    OT: I recommend hackers keyboard for android devices.. 🙂


  • Mod

    @Damme I'll try it. Thanks for the tip! 👍


  • Hero Member

    About the forum, see also http://forum.mysensors.org/topic/213/can-not-reply-on-the-forum-or-locked, I can not post or reply using Firefox.


  • Admin

    Ok, CloudFlare has now been deployed for http://www.mysensors.org. Guess it takes a couple of hours for caches to be filled with content.

    Would be great if someone in US/Asia region could give some feedback. Do you notice any speed change when browsing the build instructions?


  • Contest Winner

    @hek said:

    Ok, CloudFlare has now been deployed for http://www.mysensors.org. Guess it takes a couple of hours for caches to be filled with content.

    Would be great if someone in US/Asia region could give some feedback. Do you notice any speed change when browsing the build instructions?

    I'm in China in a small village and can see it is improved.


  • Admin

    @BulldogLowell said:

    I'm in China in a small village and can see it is improved.

    Ha.. good to have the mysesnors family team spread around the globe 😄


  • Mod

    @BulldogLowell just wondering ; how are your postal delivery times when ordering from China?


  • Contest Winner

    @Yveaux

    Well, when I'm home in the US it is usually four weeks. Sometimes three.

    Here in china I don't really get the chance to shop!


  • Mod

    @BulldogLowell thought you were living in China and shopped the hell out there 🙂 It must be electronics heaven over there!



  • @hek said:

    Ha.. good to have the mysesnors family team spread around the globe

    Agree!!!! This is nice:)


  • Mod

    @hek maybe things improved for others but since today I have terrible issues with the forum.
    Empty topics, boards not showing up, I need to click several times to reply to a topic.

    Me not happy 😞


  • Admin

    Strange. The forum should be unaffected. Nothing in the forum.mysensors.org domain is passed through the CDN.
    I've kept an eye on the load on the server and it has been low since we separated forum and web to different machines (it's all virtual digitalocean stuff.. ) a couple of days ago. Hmm.. Keep me posted on your status.


  • Mod

    @hek I will. Maybe it is just a coincidence but it sure was terrible today.
    I will let you know when I experience the same issues tomorrow or the day after.


  • Mod

    OK, included are 2 screenshots.
    One was taken while loading (or not) a topic and the other was taken while loading the boards/home page.
    The time interval was a little over 2 hours.
    And no, I did not make the screenshot before or while loading but really after (during loading there is a cross visible on the right hand side of the input field.

    Screen Shot 2014-07-29 at 13.06.49.png
    Screen Shot 2014-07-29 at 15.14.45.png


  • Mod

    @marceltrapman Don't worry man! It's not cloudflare, but the forum software 🙂
    I'm also having the same troubles, especially on Android...


  • Admin

    Yea, something is definitely wrong (I've gotten the blank page also). But it is problematic to find the source. I'm suspecting a ngnix misconfiguration. See lots of the following in the nginx log (while nodebb report nothing suspicious):

    2014/07/29 18:01:44 [error] 37#0: *356437 upstream timed out (110: Connection timed out) while connecting to upstream, client: XXXXXXX, server: forum.mysensors.org, request: "GET /topic/242/wireless-nrf24l01-sniffer-for-mysensors/404 HTTP/1.1", upstream: "http://XXXXXXXX:4567/topic/242/wireless-nrf24l01-sniffer-for-mysensors/404", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/242/wireless-nrf24l01-sniffer-for-mysensors/38"
    2014/07/29 18:01:53 [error] 37#0: *356439 upstream timed out (110: Connection timed out) while connecting to upstream, client:XXXXXXXXX, server: forum.mysensors.org, request: "GET /api/widgets/render?location=sidebar&template=home.tpl&url= HTTP/1.1", upstream: "http://172.17.0.3:4567/api/widgets/render?location=sidebar&template=home.tpl&url=", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/"
    2014/07/29 18:02:04 [error] 33#0: *356496 upstream timed out (110: Connection timed out) while connecting to upstream, client: XXXXXXXXX, server: forum.mysensors.org, request: "GET /plugins/nodebb-plugin-emoji-extended/images/grinning.png HTTP/1.1", upstream:       "http://172.17.0.3:4567/plugins/nodebb-plugin-emoji-extended/images/grinning.png", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/topic/175/open-source-home-automation-software/66"
    2014/07/29 18:02:05 [error] 37#0: *356400 upstream timed out (110: Connection timed out) while connecting to upstream, client: XXXXXXXXX, server: forum.mysensors.org, request: "GET /socket.io/1/xhr-polling/DUIl4fNbuNdLgvgIVTj9?t=1406656614013 HTTP/1.1", upstream: "http://XXXXXXXXX:4567/socket.io/1/xhr-polling/DUIl4fNbuNdLgvgIVTj9?t=1406656614013", host: "forum.mysensors.org", referrer: "http://forum.mysensors.org/search/hc-sr501"
    

    Need some time to investigate (read google).


  • Mod

    @hek Sorry can't help you with this one...
    Good luck! Would be great if all difficulties could be solved as many of us experience them.
    (Btw I'd rather have you spend your precious time on the MySensors library, but that's the price you pay for fame 👊 )


  • Admin

    @Yveaux

    (Btw I'd rather have you spend your precious time on the MySensors library, but that's the price you pay for fame facepunch )

    Yeah, me too!

    Any good sysadmin out there with some time over?


  • Admin

    Turned off proxy_buffering. Lets test this for a while to see if it helps.

    Also noting we're running an pretty old ngnix version. Will update this as well.


  • Admin

    nginx updated to 1.6.0


  • Mod

    @hek said:

    nginx updated to 1.6.0

    Let's hope this improves things.
    I still wonder why this issue first popped up only yesterday and not before...


  • Admin

    @marceltrapman

    Could be because of this change:
    http://forum.mysensors.org/topic/213/can-not-reply-on-the-forum-or-locked/6
    Unlikely but possible.
    Websocket proxying was pretty new when we picked up nginx 8 months ago. Hopefully the update I just did stabilize things.


  • Code Contributor

    @hek For the last couple of days the forum have been somewhat unsuable for me. And the worst is long threads, it only loads a small number of posts at the time, and alot of times it just stops and dont load the latest one.


  • Admin

    @Damme

    Yes, I know. I've experienced this for longer than a couple of days also. Using the arrows in header works for me (but they don't exist on mobile!). The forum software is buggy and I'm keeping an eye on the development regarding this issue.

    One alternative is to reverse order of thread (latest first) until this has been fixed. There is also an pagination alternative in the admin but nothing happens if i select it.


  • Hero Member

    "Reverse order of thread" sounds good to me. Is this a personal setting I can choose or is it "global"?


  • Mod

    @korttoma the the 'sort by' button on the bottom right of the page...


  • Mod

    @hek said:

    There is also an pagination alternative in the admin but nothing happens if i select it.

    Even worse, I tried urning it on and previous/next page buttons appear on the bottom of the screen. If you press them nothing happens, so view is limited to first 20 replies in a topic...
    I still experience the empty page displays now and then...


  • Admin

    @Yveaux

    Ahh. yes.. now I see the pagination! Didn't realize I had to activate it for my own user. Thanks! Paging seems to work fine here in chrome (mac) and on my Android.

    Yes, I also still get 504 (time-out) sporadically on the websocket connection. Mostly after my computes has been asleep.


  • Mod

    @hek said:

    work fine here in chrome

    Not in chrome x64 on Win7....


Log in to reply
 

Suggested Topics

  • 3
  • 110
  • 5
  • 347
  • 163
  • 109

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts