B11.1 web error message "The client application is not known or is not authorized"

Hello,

 

I am trying to connect to my Board Web server from a remote computer and the web page gives this error message: The client application is not known or is not authorized

 

image


note that, when using the local browser direct from the BOARD Server, the http://localhost address resolves properly and i can log-in as a BOARD administrator for example.

 

does anyone know where to fix this #remote connection issue?

 

The error message in the web log file (from C:\inetpub\wwwroot\BOARDWEB11_1\App_Data\log) says:

 

<span>2019-09-20 [Error] LogEntry { Feature: Authentication, Username: null, ConnectionId: "00000000-0000-0000-0000-000000000000", Message: "\"Invalid redirect_uri: </span><a class="jive-link-external-small" href="http://myServerIPaddress/Callback.html" rel="nofollow noopener" target="_blank">http://myServerIPaddress/Callback.html</a><span>\"</span><br /> \"{<br /> \\"ClientId\\": \\"boardwebapplication\\",<br /> \\"ClientName\\": \\"BOARD Web Application\\",<br /><span> \\"RedirectUri\\": \\"</span><a class="jive-link-external-small" href="http://myServerIPaddress/Callback.html" rel="nofollow noopener" target="_blank">http://myServerIPaddress/Callback.html</a><span>\\",</span><br /> \\"AllowedRedirectUris\\": [<br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2F" rel="nofollow noopener" target="_blank">http://localhost/</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2FCallback.html" rel="nofollow noopener" target="_blank">http://localhost/Callback.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2FSilentRefreshFrame.html" rel="nofollow noopener" target="_blank">http://localhost/SilentRefreshFrame.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=http%3A%2F%2F10.1.13.4%2F" rel="nofollow noopener" target="_blank">http://10.1.13.4/</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=http%3A%2F%2F10.1.13.4%2FCallback.html" rel="nofollow noopener" target="_blank">http://10.1.13.4/Callback.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=http%3A%2F%2F10.1.13.4%2FSilentRefreshFrame.html" rel="nofollow noopener" target="_blank">http://10.1.13.4/SilentRefreshFrame.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=http%3A%2F%2Fbecoe-bi%2F" rel="nofollow noopener" target="_blank">http://becoe-bi/</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=http%3A%2F%2Fbecoe-bi%2FCallback.html" rel="nofollow noopener" target="_blank">http://becoe-bi/Callback.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=http%3A%2F%2Fbecoe-bi%2FSilentRefreshFrame.html" rel="nofollow noopener" target="_blank">http://becoe-bi/SilentRefreshFrame.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=https%3A%2F%2Flocalhost%2F" rel="nofollow noopener" target="_blank">https://localhost/</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=https%3A%2F%2Flocalhost%2FCallback.html" rel="nofollow noopener" target="_blank">https://localhost/Callback.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=https%3A%2F%2Flocalhost%2FSilentRefreshFrame.html" rel="nofollow noopener" target="_blank">https://localhost/SilentRefreshFrame.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=https%3A%2F%2F10.1.13.4%2F" rel="nofollow noopener" target="_blank">https://10.1.13.4/</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=https%3A%2F%2F10.1.13.4%2FCallback.html" rel="nofollow noopener" target="_blank">https://10.1.13.4/Callback.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=https%3A%2F%2F10.1.13.4%2FSilentRefreshFrame.html" rel="nofollow noopener" target="_blank">https://10.1.13.4/SilentRefreshFrame.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=https%3A%2F%2Fbecoe-bi%2F" rel="nofollow noopener" target="_blank">https://becoe-bi/</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=https%3A%2F%2Fbecoe-bi%2FCallback.html" rel="nofollow noopener" target="_blank">https://becoe-bi/Callback.html</a><span>\\",</span><br /><span> \\"</span><a class="jive-link-external-small" href="https://community.board.com/external-link.jspa?url=https%3A%2F%2Fbecoe-bi%2FSilentRefreshFrame.html" rel="nofollow noopener" target="_blank">https://becoe-bi/SilentRefreshFrame.html</a><span>\\"</span><br /> ],<br /> \\"SubjectId\\": \\"unknown\\",<br /> \\"Flow\\": \\"AuthorizationCode\\",<br /> \\"RequestedScopes\\": \\"\\",<br /> \\"Raw\\": {<br /> \\"client_id\\": \\"boardwebapplication\\",<br /><span> \\"redirect_uri\\": \\"</span><a class="jive-link-external-small" href="http://myServerIPaddress/Callback.html" rel="nofollow noopener" target="_blank">http://myServerIPaddress/Callback.html</a><span>\\",</span><br /> \\"response_type\\": \\"id_token token\\",<br /> \\"scope\\": \\"openid\\",<br /> \\"state\\": \\"68553623da874428a2cdf77e7e105b68\\",<br /> \\"nonce\\": \\"80caa6a77b0e479abf5b2c1fc6464da8\\"<br /> }<br />}\"", Exception: null, RefCode: null, Elapsed: null, AdditionalInfo: { From: "IdentityServer3", RequestId: "fe7268f6-78ee-444c-880e-c49c9debf7a0" } }
<span class="line-numbers-rows"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></span>

 

These are my BOARD Server details:

  • Board Version 11.1.0.0.27677
  • on premises
  • using IIS Server

 

thanks in advance for your help,

Answers

  • Hi interested typ,

     

    for me a restart of the BOARD WebApi Engine (maybe also a restart of BoardEngine) resolved this issue. Clearing the Cache of the browser too.

  • From your laptop try just pointing to http://10.1.13.4/

  • Thanks for your advice.

    I did this

    1. restart Board Engine
    2. restart the IIS Web Server
    3. clear cache of my local computer's browser
    4. test to connect to myServerIPaddress from my local computer

    unfortunately the error message in the browser stays the same "The client application is not known or is not authorized"

     

    Maybe i am missing to configure some IIS Parameter? I don't know...

  • thanks for your comment.

    actually i am not sure if it solves my issue.

    my issue is a remote-client to Server connection issue. (On the server itself, i can connect from the server's browser to BOARD)

  • Hi interested typ,

     

    in my Environment there is no iis. I use the BOARD Web Api Engine without integrating in iis.

  • Can you get to the Board WebAPI install folder on the server 

    C:\Program Files (x86)\Board\Board WebApi Server\App_Data\config  and display the line from appsettings.config

     

    <add key="host" value= 

  • I think in IIS Environment the Folder is on another Location. See this article:

     

    How to setup Microsoft IIS with Board 10 Web Server (HTML 5) 

  • thanks for this piece of advice!

    I have no knowledge regarding all these files in the folder \App_Data\config

    (you are right Dietmar Jeschkeit, the folder in IIS Environment is antoher, C:\inetpub\wwwroot\BOARDWEB11_1\App_data ... but has the same structure as the Board Web environment)

     

     

    Does anyone know a web page (which is applicable for BOARD 11) of the Board manual which explains these files and how to setup each parameter?

     

    Mike Cirillo, this is the current content of the file appsettings.config

     

    <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>appSettings</span><span class="punctuation token">></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>host<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span><a class="jive-link-external-small" href="http://*:80/" rel="nofollow" target="_blank">http://*:80/</a><span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>publicOrigin<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span><span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>boardEngine<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>localhost<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>port<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>9700<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>localAuthEnabled<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>true<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>winAuthEnabled<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>true<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>anonymousAuthEnabled<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>false<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>anonymousAuthUsername<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span><span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>anonymousAuthPassword<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span><span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>useSSL<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>false<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>headerTitleHidden<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>false<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>chatEnabled<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>true<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>presentationEnabled<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>true<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>cognitiveSearchEnabled<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>true<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>cognitiveAnalysisEnabled<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>true<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>cognitiveCapsulesEnabled<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>true<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>hideProcedureHasBeenTerminatedMailboxMessage<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>false<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/>&#160; <span class="token tag"><span class="token tag"><span class="punctuation token"><</span>add</span> <span class="attr-name token">key</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>environmentType<span class="punctuation token">"</span></span> <span class="attr-name token">value</span><span class="attr-value token"><span class="punctuation token">=</span><span class="punctuation token">"</span>Development<span class="punctuation token">"</span></span> <span class="punctuation token">/></span></span><br/><span class="token tag"><span class="token tag"><span class="punctuation token"></</span>appSettings</span><span class="punctuation token">></span></span><span class="line-numbers-rows"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></span>

     

    and i thank you very much for your comment, i see that the host is empty

     

    I filled it with the IP Address of my server, and the remote connection to the BOARD applications from my PC local browser works

  • Hi,

     

    just have a look at this post: BOARD Web - Application Settings 

  • thanks!

    but something is strange.

    My issue was exactly that the host was empty in my file, and in the document you linked, i read

    host : Host and port of the web service , this settings is not used if installed under Microsoft IIS.

    in my case, this instruction does not make sense, since i am precisely using Microsoft IIS

  • Hi,

     

    maybe your IIS isn´t configured right. Or the instructions aren´t correct. Like I said before I don´t have much experience with the IIS.

  • Dear interested typ,

     

    I guess you are looking for this page: BOARD Web - Application Settings .

    In particular, the section that interests you is the Optional Settings.

     

    Best Regards

    Davide

  • Hi,

    maybe it's no longer necessary,

    but I had the same problem and I solved by simply using a dns and changing the appSettings.config file with the dns in the host field:

     

    i.e.  <add key="host" value="http://*:80/"       --------->   <add key="host" value="http://xxxx.dyndns.org/"

     

    Regards

     

    Daniele