Comments (10)
I tried again with a new asp dotnet core project, I added BeatPulse.SqlServer and BeatPulse.UI, setup with the example config from the project readme, and same issue again.
The xhr request that beatpulse UI is performing against the beatpulse-api is the one I posted in my first post, and is working properly...
I tried on Firefox, Vivaldi, even on Edge... no success
from beatpulse.
Hi @Necriis
@CarlosLanderas could you follow this issue?
from beatpulse.
Hello @Necriis , I have been configuring a project and I am unable to reproduce this bug.
Although the call to the /hc segment is working, can you check if the xhr request that beatpulse UI is performing against the beatpulse-api endpoint is working correctly? Check it with F12 chrome tools and come back to me please.
Thank you
from beatpulse.
Thanks @Necriis, Let me test it further and I come back to you. The samples are working but maybe I missed something. Are the samples working for you?
from beatpulse.
The sample works fine, but I forgot to specify a point... my app is deployed in a linux docker container. It seems to be the only difference.
from beatpulse.
Hi @Necriis
Can you check https://github.com/Xabaril/BeatPulse/blob/master/doc/ui-docker.md yo see how configure UI on Docker ?
from beatpulse.
Ok, starting from the sample (BeatPulseIntegratedUI not in docker, in IIS Express):
I add the BeatPulse Nuget
<ItemGroup>
<PackageReference Include="BeatPulse" Version="3.0.0" />
<PackageReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
I add detailedOutput
WebHost.CreateDefaultBuilder(args)
.UseBeatPulse(options =>
{
options.ConfigureDetailedOutput(detailedOutput: true, includeExceptionMessages: false);
})
.UseStartup<Startup>();
I configure the API path in Startup class
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
app.UseBeatPulseUI(apiOptions =>
{
apiOptions.BeatPulseApiPath = "/hc";
});
}
And add BeatPulse service
public void ConfigureServices(IServiceCollection services)
{
services.AddBeatPulseUI();
services.AddBeatPulse();
}
I run the app and the error is here.
Maybe it's not designed to use both BeatPulse and UI on the same app ?
from beatpulse.
@unaizorrilla I configured my project with the UI docker image and it works great. However, in this context, I have to configure manually each liveness.
With the NuGet version, I only configure the main BeatPulseApiPath in the UseBeatPulseUI extension method and let him discover the livenesses... unless I'm wrong ...
from beatpulse.
@Necriis, other user suffered the same problem here:
Xabaril/AspNetCore.Diagnostics.HealthChecks#18
Make sure you are pointing to the health-ui endpoint
from beatpulse.
Hi @CarlosLanderas,
What do you mean by pointing to the health-ui endpoint?
Default BeatPulse endpoint is "/hc"
Is this the thing I should do to config BeatPulseUI API Path?
app.UseBeatPulseUI(apiOptions => { apiOptions.BeatPulseApiPath = "/hc"; });
from beatpulse.
Related Issues (20)
- Custom response HOT 2
- BeatPulse UI show old state after degraded one of services
- BeatPulse.Redis has reference to unsuported StackExchange.Redis.StrongName package HOT 2
- Inconsistent log level used in liveness checkers HOT 1
- Liveness checkers logs connection string HOT 1
- Question : Call health check from code HOT 1
- GetAllLiveness not accessible when creating new BeatPulse for Akka
- Adding multiple liveness results in Exception, "More then one sequence found" HOT 1
- Disable logs
- Add deprecated status to this repo HOT 2
- Liveness configuration from configuration file HOT 1
- Add Elasticsearch Provider HOT 2
- UI behind reverse proxy HOT 14
- How to use beatpulse in iis authentication
- Incorrect NuGet Package HOT 7
- Redis livepoint creates numerous connections to Redis HOT 9
- Question: Can beatpulse be used with MVC 5 apps and full framework windows services? HOT 3
- Migrate to new aspnet core version.
- BeatPulse UI memory leak HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beatpulse.