Unable to load DNG widget catalog
![]() Hello,
I have downloaded the example widget catalog provided here: https://jazz.net/wiki/pub/Main/RMExtensionsExamples604/extensions.zip
After making this catalog accessible via our intranet infrastructure I have configured DNG to use this catalog.
Since the widgets did not show up I looked at the logs.
There I could find the following:
Unable to load catalog: ... Respose status: HTTP/1.1 406 Not Acceptable
How can I now find out what the problem is?
Any ideas?
showing 5 of 13
show 8 more comments
|
Comments
What exact URL do you use? Does it open in a browser? The catalog is basically static content, and I can't image how you can get an HTTP 406 error.
The file opens just fine in the browser.
You may need to consider what Stefan said. The HTTP 406 error is returned by the server hosting the widget catalog, and it may not accept what the DNG server sends out in the "Accept" header.
Is there any "debug" setting available on the DNG server side so that I can really protocol what mime type exactly is requested by DNG so that I can talk to our intranet web space provider.
Your server provider should be able to trace what comes in, Marko. Otherwise you can try to use the developer tools of your browser for network tracing and have a look at the requests.
This is what I am already trying anyway but I am not sure if my server provider can easily track it down since this "server" is the whole intranet of my company and I just got some web space on it.
There are network trace tools that you can install on servers that can trace the communication. I have no real experience with them.
I know, thanks. The question is only whether I am allowed to set it up on the DNG server.
I usually use a local test server to not have to rely on uncontrollable infrastructure like this: https://rsjazz.wordpress.com/2016/03/02/alien-skies-peeking-into-doors-next-extensibility/
Good hint.
I checked the source code, and can confirm what Stefan said - when DNG requests the external catalog, it uses the header "Accept: application/xml" only. There is no debugging option to reveal this in the log files.
Hi Donald,
Here is the ER: https://jazz.net/jazz03/resource/itemName/com.ibm.team.workitem.WorkItem/121727