sugarlabs / sugar-web

Components for Sugar web activities
Apache License 2.0
13 stars 32 forks source link

Use 0.0.0.0 instead of localhost #120

Closed tchx84 closed 9 years ago

tchx84 commented 9 years ago

As previously discussed in [1] and [2], all web activities running in sugar shell should use "0.0.0.0" instead of "localhost", considering the server is always going to be used via the local network interface.

This fixes the problem in Ubuntu 14.04 LTS where libsoup is not able to resolve localhost when no active network is present, breaking web activities integration with sugar shell.

[1] https://dev.laptop.org/ticket/12479 [2] https://dev.laptop.org/ticket/12503

Signed-off-by: Martin Abente Lahaye tch@sugarlabs.org

tchx84 commented 9 years ago

@godiard can you give it a try?

godiard commented 9 years ago

Tested on XO-1, disconnecting wifi and ad-hoc, the same error is present. Merged. Please send a email to sugar-devel explaining the problem and requesting activity developers do a update.