Closed Daerthox closed 8 years ago
The UI queries the /api/journal
for the desktop notifications. Since you're adding the sba server to your application I guess there is a conflict with it's ContentType configurations..,
You need to provide a complete stacktrace and sample code to reproduce the error.
@RequestMapping(path = "/api/journal", produces = "text/event-stream")
public SseEmitter getJournalEvents() {
...
You can see the result of the console online here: https://justpaste.it/yyak I will provide a gist with a sample code later. I noticed that the exception manifests itself when I hit the UI from two different tabs.
-----EDIT----------------- I noticed that the exception has nothing to do with how the UI is accessed or how the Apps are registered to the server. In fact setting up the UI without registering any app to the admin server is enough to trigger the error. You can see a sample code on this gist: https://gist.github.com/Daerthox/54476e62f3a3139b433fa7df9349f817
@Daerthox sorry but the gist is of no use. Can you provide the sample project as zip?
@Daerthox After 7 days still waiting on a response. Does the problem still remain? Please provide the needed info in the next days or I'll close the issue.
sorry but the gist is of no use. Can you provide the sample project as zip?
There you go http://tinyurl.com/hg44ceo However I now believe it was just a network or proxy issue. I recently tried it on another network and found no error.
I'm closing this issue, when you can't reproduce it yourself.
We are developing micro-services in Java using spring boot. We were interested in a way to change the logging level of each of our loggers at run-time. I have integrated admin UI to one of our services. The service is acting as both the sever and the client, monitoring itself. We really are mostly interested in changing the logging level at run time, so we would rather not have separate server for that purpose.
Even though the UI is working fine, I noticed that there is an error coming up periodically, about twice a minute, and saturating the logs. It comes soon after I hit the admin UI route for the service and is a HttpMediaTypeNotAcceptable exception that displays the message "Could not find an acceptable representation". It seems to be coming from the "/api/journal;client=0:0:0:0:0:0:0:1" route.
Could you shed some light on this issue, as I am in the dark? I don't know what is causing this issue and how to stop it.