question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Content Import - Cannot add server on LAN as import Network Address

See original GitHub issue

Try to import using the LAN method on a specific port.

The images attached show a valid Kolibri address on the same LAN and a failed import/.

2019-05-21 15 46 25 192 168 1 104 c308e1cf160f

2019-05-21 15 46 52 192 168 1 100 90bd014cbb4f

Context

  • Kolibri version 12.3 Linux alarm 5.0.11-1-ARCH #1 SMP Fri May 3 01:14:14 UTC 2019 aarch64 GNU/Linux

Vivaldi

✅ Workaround

As, explained in https://github.com/learningequality/kolibri/issues/5519#issuecomment-495805834, this error might appear if the “Allow users to access content without signing in” setting is unchecked on the facility/#/settings page.

The current workaround is to uncheck that box and save the settings. (This will have the possibly unwanted result that people can explore content as a “guest”).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
nobicyclecommented, May 26, 2019

“do you by any chance have the “Allow users to access content without signing in” box unchecked on the /facility/#/settings page?”

That is correct. Import stage is now working.

Thanks

1reaction
jamalexcommented, May 24, 2019

Thanks, that was helpful!

I have a theory… do you by any chance have the “Allow users to access content without signing in” box unchecked on the /facility/#/settings page?

The following middleware prevents that endpoint from being accessed when not authenticated: https://github.com/learningequality/kolibri/blob/release-v0.12.x/kolibri/core/middleware/signin_page.py#L34

I suggest we update the middleware to be a blacklist (of /learn/) rather than a whitelist, since there will otherwise likely be additional things that break when that setting is toggled.

(In the interim, until this is fixed, you can toggle that box back on when syncing content)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python TCP Server Doesnt Work on LAN or WAN?
I programmed a TCP server using python 3. It works normally on localhost (127.0.0.1) port 1200 using both Telnet and client program but...
Read more >
Name resolution and connectivity issues - Windows Server
Provides a solution to name resolution and connectivity issues on a Routing and Remote Access Server that also runs DNS or WINS.
Read more >
Chapter: Using the Host Input Import Tool - Cisco
This chapter explains how to create an import file and process it with the host input import tool.
Read more >
Connect servers or external devices with Files on iPhone
Enter a local hostname or a network address, then tap Connect. Tip: After you connect to a computer or file server, it appears...
Read more >
Channels and resources — Kolibri User Guide - Read the Docs
You can import and export channels in Kolibri from the Channels tab of the ... Click Add new address link to add a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found