Code Monkey home page Code Monkey logo

coderr.server's Introduction

Coderr Community Server

Build status Github All Releases

Solve errors more quickly

It works on my machine!

We all have heard, and said, that expression. Solving errors can be quite frustrating. Even trivial errors which just takes a few minutes to solve can cause frustration if there are many of them.

Coderr automates the error management process. Let Coderr detect, report and analyze the errors, so that you can focus on just solving them.

Welcome screen

Search function

Search using your own data

.. don't want to host/maintain your own server? Try Coderr Cloud - Free up to five users.

Getting started

  1. Download Coderr Server, use our cloud service (free for up to five users) or use our Docker image
  2. Install one of our nuget libraries (or one of the js libraries).
  3. Follow the instructions in the package ReadMe (max three lines of code to get started).
  4. Try the code below.

Unhandled exceptions will automatically be reported by the client libraries.

To report exceptions manually:

public void UpdatePost(int uid, ForumPost post)
{
	try
	{
		_service.Update(uid, post);
	}
	catch (Exception ex)
	{
		Err.Report(ex, new{ UserId = uid, ForumPost = post });
	}
}

Sample data collected by the ASP.NET Core MVC library:

You can learn more about reporting errors here.

Running Coderr

You can run any Coderr in development, test and in production. Coderr is available in three different ways; as Coderr Community Server (AGPL license, self-hosting), as Coderr Cloud (commercial license, cloud version) or on request, as Coderr Premise (commercial license, self-hosting version). Coderr Cloud and Coderr Premise add powerful algorithms to prioritize errors and provide insight to how your code is improving over time with applied solutions.

Read more

About us

We are passionate about Open Source, Microsoft .NET and code quality. 1TCompany started in 2017 in Sweden and builds on years of coding experience and bringing products to market. Our mission is to assist fellow developers deliver quality code. To accomplish this mission, we decided to make Coderr commercially available and ready for prime time.

Community

Licensing

coderr.server's People

Contributors

dependabot[bot] avatar gauffininteractive avatar jfaquinojr avatar jgauffin avatar jorrit avatar larscoderr avatar mjohanss avatar onetrueerror avatar svoitovych0218 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coderr.server's Issues

Dashboard why show all incidents

The dashboard default shows the wrong incidents which I expect its status is "New" but all of the incidents were showing.
Below is the API URL and request payload is the dashboard was sent.
/api/cqs/?query=FindIncidents
{SortType: 0, SortAscending: false, PageNumber: 1, ItemsPerPage: 10} ItemsPerPage:10 PageNumber:1 SortAscending:false SortType:0
Obviously ,that is lack the parameter "IsNew:true"

"Close as duplicate"

when our algorithm doesn't detect that this is a duplicate of another incident.

also send all duplicate reportings to our own server so that we can analyze how the algorithm can be improved.

Object reference not set

Also posted on the discussion board but perhaps better suited here:

During installation of the server, I get an ‘Object reference not set to an instance of an object.’ error in the following URL (right after table creation): coderr/installation/setup/basics/

It appears to be caused in SetupController.cs when loading the config:

public ActionResult Basics()
{
	var model = new BasicsViewModel();
	var config = _configStore.Load<BaseConfiguration>();
	if (config != null)
	{
		model.BaseUrl = config.BaseUrl.ToString();
		model.SupportEmail = config.SupportEmail;
	}
	else
	{
		model.BaseUrl = Request.Url.ToString().Replace("installation/setup/basics/", "")
			.Replace("localhost", "yourServerName");
		ViewBag.NextLink = "";
	}


	return View(model);
}

Any idea how to fix this? I’ve tried running it on several Windows Server boxes (from 2012R2 to 2016) with the latest SQL Server (2017 express).

This is the full error page:

Server Error in ‘/coderr’ Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
codeRR.Server.Web.Areas.Installation.Controllers.SetupController.Basics() in C:\src\1tcompany\codeRR.oss\codeRR.Server\src\Server\Coderr.Server.Web\Areas\Installation\Controllers\SetupController.cs:42
lambda_method(Closure , ControllerBase , Object[] ) +86
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) +228 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) +34
System.Web.Mvc.Async.AsyncControllerActionInvoker.b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +38
System.Web.Mvc.Async.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult) +66 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +41 System.Web.Mvc.Async.AsyncInvocationWithFilters.b__3d() +71 System.Web.Mvc.Async.<>c__DisplayClass46.b__3f() +385 System.Web.Mvc.Async.<>c__DisplayClass46.b__3f() +385 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42 System.Web.Mvc.Async.<>c__DisplayClass2b.b__1c() +38 System.Web.Mvc.Async.<>c__DisplayClass21.b__1e(IAsyncResult asyncResult) +185 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38 System.Web.Mvc.Controller.b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +65
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +36 System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38 System.Web.Mvc.MvcHandler.b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +43 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +65
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +607
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0

configuring codeRR with WPF

Hi
Im trying to configure codeRR to work with WPF application. I have self hosted server and when im trying to add new app and select "Start the Configuration wizzard", then select WPF-based applications and press configure button all i get is page with: "Page not found, we could not find the page that you where looking for." How do i obtain app key and shered secret for WPF application?
There is no information link on the documentation page for WPF implementation codeRR.client.WPF (https://coderrapp.com/documentation/client/index.md)

Error when creating new application

When creating a new application, the server throws an unspecified error. Sometimes there's a flyout from the top saying something like 'unable to create application :(', sometimes there's this error page:

image

The application does get created though, and they work as expected, so there don't seem to be any breaking errors.

E-mail account password not hidden

Not a bug, just a small inconsistency. During installation, when entering the e-mail account password, the first box isn't hidden but the second one is:

image

Role SysAdmin is based on accountId instead of IsSysAdmin flag

The first account that was added for me got the id 3. And it seems that although I set the IsSysAdmin flag to true, the menu isn't shown to me, probably because the role seem to be based on the id instead of the flag?

var roles = accountId == 1 ? new[] {OneTrueClaims.RoleSysAdmin} : new string[0];

Incidents not showing

The server's up and running and incidents are being reported. They show up in the DB so communication is OK.

However, in the webclient, the stats are shown but no actual incident information:

image

Tried multiple browsers. If you need login info for the dashboard I can provide them.

Read-Only User

It would be nice to create Read-Only Users. They should not be able to create Applications or anything just see the Data of the assigend Applications.

about reopen status cannot update

After update 1.1, I have a Incidents which is closed, but if the same error occurred again the status will still be closed and not any report be generated.Is this act right?

Azure deployment from source - defining the project to deploy

I've forked the project and I'm setting it up for auto deploy in Azure, but it (Azure) gets confused as to which project it should build and deploy.

I know how to fix this (from https://github.com/projectkudu/kudu/wiki/Customizing-deployments).

My question is, would you like me to create a .deployment file as per the link above and offer it as a pull request? I appreciate you might not want this choice defined in the repo.

If you don't want it, I'll just have the project specified via the app config settings.

Add Application management

Could add a screen to manage application ?

  • Add / Modify / Delete
  • Change Public / Private Key
  • etc ....

Update applicationKey/sharedSecret

Want to be able to update key and secret.

  1. Old key must still work for a transition period
  2. Should be able to revoke old key directly
  3. The report receiver must accept all configured keys
  4. All keys should be visible in the admin area
  5. The newest key should be displayed in the application info (for all team members)

New application is not accessible via Dashboard dropdown

Hi,

I'm running the server on Windows Server 2012 R2 64bit with SQL Server 2012.
using OneTrueError.Serrver-1.0-rc3

When I add new application via Create new application button in Dashboard dropdown, the overview changes to newly created Application, but after goind to Admin Area and back, I can no longer click on newly created application as it is not listed in drop down, although the name of newly created app is visible on X axis legend in the graph.

I do not have any exception data yet.
I can see new application being created in dbo.Applications table.

Is this intenttional, or just a bug?
untitled

Add support for MySQL

  1. Copy the SqlServer project
  2. Adjust the SQL statements to work with MySQL
  3. Run the tests

System is insecure during installation

A small risk, but whilst installing I started off the install process and had to switch to another browser. I copied the URL and pasted into a different browser and was able to pick up exactly at the same place.

This implies that the URL could be directly discovered and an attacker could then carry on and gain access to the system after it has been deployed. Not a huge risk but it hints at issues around session security.

I'm not sure how to best approach this or whether you want it looked at. If sessions are enabled then this would be the easiest way to lock the user in to that browser. If sessions are not enabled, then it's not worth turning them on just for this in my opinion.

Alternatively, there may be another method of making it safe by default by having the server UI locked at installation and force the administrator to edit web.config and create a user / password that is used to kick off the install.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.