Project

General

Profile

Actions

Bug #2

closed

Can't use helloworld binding example to create an app through the redpesk UI

Added by Emmanuel Jubera [SAFT] over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Low
Target version:
Start date:
03/10/2022
Due date:
% Done:

100%

Estimated time:
Affects Version/s:
armel-1.0
Fix Version/s:
Labels:

Description

When trying to create a new app in an existing project through redpesk UI, step 3 (Choose add method) fails when selecting "# Add Sample App / Helloworld binding". Reason for failure is "408 Request Time-out" (please see attached screenshot).

Debugging information

Gathered from various spots/sessions/conversations and centralized here:

2022-04-10

  • with Emmanuel's machine (OpenSuse VM via Virtualbox on a Windows host)
    • using his phone Wifi hotspot (Free network), application creation fails
    • on the SAFT network, application creation succeeds (i.e. the problem does not occur)
    • using Frederic's phone Wifi hotspot (Orange network), application creation succeeds
  • with Frederic's Mac machine using the same OpenSuse VM (via Virtualbox) and the SAFT network, application creation works

Based on the information above, it looks like a particular behavior with the Free mobile network which might be filtering certain network packets when using a Wifi hotspot

2022-04-01

Emmanuel mentions that creation via rp-cli works fine.

2022-09-22 debugging session

  • with Emmanuel's machine (OpenSuse VM via Virtualbox on a Windows host) on Emmanuel's phone (Android on the Free mobile network)
    • changing the Wireguard MTU to 1416 in the OpenSuse VM does not change anything
  • Emmanuel mentions that he had the same issue on a native OpenSuse distribution running the Wireguard client (his own machine)
    • this rules out an interaction between the VM/hypervisor in Windows and the Wireguard client
  • Request type
    • application creation uses a PUT request and fails (request size = 1089 bytes, as shown via curl -w '%{size_request} %{size_upload}'
      • same is true for project creation/save
    • editing the user's profile (changing the telephone number) also uses PUT but does NOT fail
    • doing a build (via a POST request) works fine
  • using curl instead of the UI for saving an application/project settings works fine
    • this works fine whether this is using a token or a session ID
  • Emmanuel also sees a similar 408 Timeout issue when trying to use Chrome to log into the stack (GET request)

TODOs

  • Emmanuel
    • with Emmanuel's other phone: also on the Free mobile network but with a different Android version (purpose: rule out Android interactions)
    • retry with native OpenSuSe machine w/ Wireguard client (purpose: rule out Windows/Virtualbox interactions)
  • IoT.bzh
    • try the same setup as Emmanuel (Wifi connection sharing over Free network)

2022-09-29

Issue solved by adding "MTU = 1280" in the client wireguard configuration file.
More information here : https://keremerkan.net/posts/wireguard-mtu-fixes/


Files

Screenshot 2022-03-10 at 12-18-47 redpesk Dashboard.png (20.6 KB) Screenshot 2022-03-10 at 12-18-47 redpesk Dashboard.png UI error screenshot Emmanuel Jubera [SAFT], 03/10/2022 12:19 PM
retrieve-UI-logs.png (9.94 KB) retrieve-UI-logs.png Vincent Rubiolo, 03/30/2022 10:14 AM
log_errors_20220330103540.zip (1.27 KB) log_errors_20220330103540.zip logs for app creation from helloworld binding Emmanuel Jubera [SAFT], 03/30/2022 10:37 AM
Actions

Also available in: Atom PDF