Accessing Web Client - 10.5

Options
Stephen Kirk
Stephen Kirk Active Partner
Level 200: Leveraging Board for Business Insights Level 100: Foundations of Building in Board First Comment 5 Up Votes
edited April 2020 in Platform

Hi,

 

I am not able to access the web client outside of the server as I was able to in the prior version. I get the following error:

image

 

I can however access the client through the local host on the server.

 

How am I able to access the new web client?

 

Thanks,

Stephen

Tagged:

Answers

  • Helmut Heimann
    Options

    Hi Stephen Kirk,

     

    I don't want to sound provocative, but do the versions of web server and BOARD server match?

     

    Kind Regards,

    Helmut 

  • Stephen Kirk
    Stephen Kirk Active Partner
    Level 200: Leveraging Board for Business Insights Level 100: Foundations of Building in Board First Comment 5 Up Votes
    edited March 2020
    Options

    Hi Helmut,

     

    They are the same versions.

     

    My BOARD server:

    image

     

    My Web server (accessed via localhost):

    image

     

    Thanks,

    Stephen

  • Helmut Heimann
    Options

    Hi Stephen Kirk,

     

    does the WebLog file give any further explanations (The log file is located in the following path: «C:\Program Files (x86)\Board\Board WebApi Server\App_Data\logBoarWeb.log” on your server)?

    Did you try to use a different browser?

     

    Regards,

    Helmut

  • Stephen Kirk
    Stephen Kirk Active Partner
    Level 200: Leveraging Board for Business Insights Level 100: Foundations of Building in Board First Comment 5 Up Votes
    Options

    Hi Helmut,

     

    I have tried a few different browsers and devices. I get the same error regardless.

     

    The log file I'm not entirely sure what it is telling me, but I have included here the events that occur when I try to access the web client:

     

    2019-03-22 14:20:44.093 +08:00 [Debug] LogEntry { Feature: NotDefined, Username: "UNKNOWN", ConnectionId: "00000000-0000-0000-0000-000000000000", Message: "Infos.Get [GET]", Exception: null, RefCode: null, Elapsed: null, AdditionalInfo: [] }
    2019-03-22 14:20:44.171 +08:00 [Debug] LogEntry { Feature: Authentication, Username: "UNKNOWN", ConnectionId: "00000000-0000-0000-0000-000000000000", Message: "Start discovery request", Exception: null, RefCode: null, Elapsed: null, AdditionalInfo: { From: "IdentityServer3" } }
    2019-03-22 14:20:45.250 +08:00 [Debug] LogEntry { Feature: Authentication, Username: "UNKNOWN", ConnectionId: "00000000-0000-0000-0000-000000000000", Message: "Start authorize request", Exception: null, RefCode: null, Elapsed: null, AdditionalInfo: { From: "IdentityServer3" } }
    2019-03-22 14:20:45.250 +08:00 [Debug] LogEntry { Feature: Authentication, Username: "UNKNOWN", ConnectionId: "00000000-0000-0000-0000-000000000000", Message: "Start authorize request protocol validation", Exception: null, RefCode: null, Elapsed: null, AdditionalInfo: { From: "IdentityServer3" } }
    2019-03-22 14:20:45.250 +08:00 [Error] LogEntry { Feature: Authentication, Username: null, ConnectionId: "00000000-0000-0000-0000-000000000000", Message: "\"Invalid redirect_uri: http://board.bi5.com.au/Callback.html\"
    \"{
    \\"ClientId\\": \\"boardwebapplication\\",
    \\"ClientName\\": \\"BOARD Web Application\\",
    \\"RedirectUri\\": \\"http://board.bi5.com.au/Callback.html\\",
    \\"AllowedRedirectUris\\": [
    \\"http://localhost/\\",
    \\"http://localhost/Callback.html\\",
    \\"http://localhost/SilentRefreshFrame.html\\",
    \\"http://100.72.50.85/\\",
    \\"http://100.72.50.85/Callback.html\\",
    \\"http://100.72.50.85/SilentRefreshFrame.html\\",
    \\"http://52.163.86.252/\\",
    \\"http://52.163.86.252/Callback.html\\",
    \\"http://52.163.86.252/SilentRefreshFrame.html\\",
    \\"http://board-bi5/\\",
    \\"http://board-bi5/Callback.html\\",
    \\"http://board-bi5/SilentRefreshFrame.html\\"
    ],
    \\"SubjectId\\": \\"unknown\\",
    \\"Flow\\": \\"AuthorizationCode\\",
    \\"RequestedScopes\\": \\"\\",
    \\"Raw\\": {
    \\"client_id\\": \\"boardwebapplication\\",
    \\"redirect_uri\\": \\"http://board.bi5.com.au/Callback.html\\",
    \\"response_type\\": \\"id_token token\\",
    \\"scope\\": \\"openid\\",
    \\"state\\": \\"727c57fdd95741b9ad2a37f4635d1454\\",
    \\"nonce\\": \\"baf1bc809a0d4a24ab50638422efe8fc\\"
    }
    }\"", Exception: null, RefCode: null, Elapsed: null, AdditionalInfo: { From: "IdentityServer3" } }
    2019-03-22 14:20:45.250 +08:00 [Debug] LogEntry { Feature: Authentication, Username: "UNKNOWN", ConnectionId: "00000000-0000-0000-0000-000000000000", Message: "End authorize request", Exception: null, RefCode: null, Elapsed: null, AdditionalInfo: { From: "IdentityServer3" } }
    2019-03-22 14:20:45.703 +08:00 [Debug] LogEntry { Feature: NotDefined, Username: "UNKNOWN", ConnectionId: "00000000-0000-0000-0000-000000000000", Message: "TranslateManager.TranslationsJson [GET]", Exception: null, RefCode: null, Elapsed: null, AdditionalInfo: [("q-0-lang": "en")] }

     

    If possible, could you take a look and let me know if this can help identify the issue.

     

    Thanks,

    Stephen

  • Vasile Minea
    Vasile Minea Active Partner
    First Comment 5 Up Votes First Anniversary Photogenic
    Options

    Hi,

    We have the same problem.

    We install the new version on a new computer.

    Web version work on localhost.

    We tried to run on another computer, but we discover that we didn't allow in firewall.

    We made the change to the firewall on the server.

    Now, we got your error message.

    After we restart board web api service, the problem dissapear.

    Please check.

    Vasile

  • Stephen Kirk
    Stephen Kirk Active Partner
    Level 200: Leveraging Board for Business Insights Level 100: Foundations of Building in Board First Comment 5 Up Votes
    Options

    Hi Vasile,

     

    What change did you make to the firewall? I have allowed the BoardWebAPIEngine.exe and ensured that port 8080 is allowed through.

     

    Helmut Heimann

    Are you aware if any of the ports that need to be allowed have changed on the upgrade?

     

    Thanks,

    Stephen

  • Vasile Minea
    Vasile Minea Active Partner
    First Comment 5 Up Votes First Anniversary Photogenic
    Options

    Hello,

    I have Board Server and Board Web Api on the same computer.

    So, all I need to do, was to open incoming traffic on port 80 (i didn't use custom ports for Web Api Engine).

    In this moment I get you exception.

    After that, I restart Web Api Engine and remote computers can connect by web browser.

    I take a look, on your log, and I have some observations:

    1. Do not put real log with public host on internet. You could be hacked.

    2. I think you have Windows Authentication, so maybe the problems are from there. My tests where with Board authentication.

    Hope my informations are helpfull,

    Vasile Minea

  • Brendan Broughton
    Brendan Broughton Active Partner
    Level 200: Leveraging Board for Business Insights Level 100: Foundations of Building in Board First Anniversary First Comment
    Options

    Hi All,

    We aren't using win-authentication so that is not the issue (and the error is BEFORE log-in, it doesn't even bring up the login screen).

     

    From my investigation the issue seems to be with the redirect to callback.html as per the log above.  It seems 10.5 has an issue with the redirect to DNSname/callback.html, and only allows for (as per the log) to the IPaddress/callback.html or the Servername/callback.html.

     

    When we access via the web using the IP address it works fine.  When we use the DNSname it gives the error due to the callback.html redirect.

     

    Is this a change in 10.5, as we haven't changed anything on our server.

  • Samuele Marchetto
    Samuele Marchetto Active Partner
    First Anniversary First Comment 5 Up Votes 5 Likes
    Options

    Hi, I had the same issue, not solved managing firewall settings. Changing the appSetting.config file has instead resolved. Thanks.