censorship-no-archive / ceno1

(Deprecated PoC) Innovative censorship evading technology based on p2p distributed caching network
https://censorship.no
GNU Affero General Public License v3.0
58 stars 14 forks source link

Connectivity status not accurate when page first loads #185

Closed graphiclunarkid closed 8 years ago

graphiclunarkid commented 8 years ago

Reproduction steps:

  1. Open the CENO portal.
  2. Wait for the connectivity indicator to reflect the current status.
  3. Navigate to a different page.

Expected results

The connectivity indicator continues to display the current status, and does not change unless the status changes

Actual results

The indicator always starts at "not connected" then updates to the correct status after ten seconds or more

ivilata commented 8 years ago

In my case, I run CENO and as soon as the status shows CONNECTED, I open a different tab with a channel. However, while the channel loads, the indicator in the first tab seems to stay as CONNECTED, so I'm not able to reproduce the problem. Maybe the issue is already fixed in CENO 1.0?

misaakidis commented 8 years ago

The issue has been fixed. As an improvement, the status should be set while the page is getting generated via the templates (in the CENO Client golang code) and not by an independent request.