error launching web app: "tinyproxy was unable to connect to the remote web server"

Description

  1. Launch HVAC-ENACT

  2. Click "Launcher"

  3. Click "Annex"

  4. The error message is shown instead of the application

Environment

None

Activity

Walt Miner 
February 11, 2019 at 11:11 PM

Close for FF 6.0.4 and GG 7.0.0

Henrique Ferreiro 
November 14, 2018 at 12:02 PM

The pull request was merged.

José Dapena Paz 
November 8, 2018 at 3:45 PM

After taking alook to the WIP patch 

This is not the right solution... Though it points to the reason behind the proxy mess we have with tinyproxy launching several apps.
BlinkWebView inherits from WebViewBase, and there's the API we can set a profile to. We need to create a profile that we'll keep alive for each app and that's the one we will set the proxy to.

I think you need to make the helper keep a map of app ids to WebViewProfile. Then, when the BlinkWebView is created, it should check if there is a profile available for that app id, and set it to the webview. Looks to me a good place would be WebPageView::init, before the call to Initialize(). The profile would be destroyed in the WebPageView destructor, after d is destroyed, and not before, as it could cause a crash.

Henrique Ferreiro 
November 8, 2018 at 12:15 PM
(edited)

This issue is actually the one described in https://lf-automotivelinux.atlassian.net/browse/SPEC-1870?focusedCommentId=19152&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

The white screen instead of the tinyproxy error is probably due to not having fixed https://lf-automotivelinux.atlassian.net/browse/SPEC-1889 at the time of reporting the issue.

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Priority

Created November 5, 2018 at 1:48 PM
Updated February 11, 2019 at 11:11 PM
Resolved November 14, 2018 at 12:02 PM

Flag notifications