ARM Technical Support Knowledge Articles

When building in Ubuntu, CoAP tests do not continue and keep failing with a timeout

Applies to: mbed Device Server

Answer

If your CoAP tests do not continue and keep failing with a timeout when you are building in Ubuntu, follow these instructions:

  1. Open the file /etc/hosts to check if it looks as follows:
    127.0.0.1 localhost
    127.0.1.1 ubuntu-host
    

    The tests fail because the ubuntu host name is 127.0.1.1, instead of 127.0.0.1.

  2. Edit the file so that both the ubuntu and localhost point to 127.0.0.1.

Article last edited on: 2015-02-25 14:30:04

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential