MetacoSA / QBitNinja

An Open Source and powerful blockchain API
MIT License
68 stars 42 forks source link

api.qbit.ninja is down #72

Open bazooka70 opened 6 years ago

bazooka70 commented 6 years ago

500 (Internal Server Error)

[FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.]
   System.Web.Http.GlobalConfiguration..cctor() +0

[TypeInitializationException: The type initializer for 'System.Web.Http.GlobalConfiguration' threw an exception.]
   System.Web.Http.GlobalConfiguration.get_Configuration() +14
   System.Web.Http.GlobalConfiguration.Configure(Action`1 configurationCallback) +15
   QBitNinja.WebApiApplication.Application_Start() in C:\Users\NicolasDorier\Desktop\Mainnet-QBitNinja\QBitNinja\QBitNinja\Global.asax.cs:14

[HttpException (0x80004005): The type initializer for 'System.Web.Http.GlobalConfiguration' threw an exception.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +475
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +176
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +347
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +297

[HttpException (0x80004005): The type initializer for 'System.Web.Http.GlobalConfiguration' threw an exception.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +652
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +89
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +188
jrmaciel commented 6 years ago

is a dll, please check mr Nicolas

NicolasDorier commented 6 years ago

Yep I know :/

I bandaged it for now.

jrmaciel commented 6 years ago

the server is very slow :/

NicolasDorier commented 6 years ago

Looking to it... indeed very slow. Trying to find out what happens.

NicolasDorier commented 6 years ago

I scaled up the machine. Unsure if it is the root cause though. Let me know how it goes.

dayannecosta commented 6 years ago

the server is very slow again :/

NicolasDorier commented 6 years ago

just restarted the web app now. I need to find out the underlying issue. That said, please all host your own qbit ninja, I documented better, my servers are not meant for production use.

dayannecosta commented 6 years ago

Okay, thank you, I'll start setting up my server tomorrow.

jrmaciel commented 6 years ago

Hi, the api.qbit.ninja is off?

NicolasDorier commented 6 years ago

it is not

jrmaciel commented 6 years ago

https://api.qbit.ninja/ is very very slow :/, I'm setting up a qbit, it's in sync. thnks a lot.

NicolasDorier commented 6 years ago

restarted it, might be a bit better. I will eventually find out what the slowness, it seems quite recent.

jrmaciel commented 6 years ago

I'm still waiting to sync my qbit, did you find out the reason for the slowness?

NicolasDorier commented 6 years ago

I think there is a memory leak. I have not yet identified the root cause. My server is processing around 55 request per second, which is quite significant. I probably did not had the problem in the past because people were using it way less.

jrmaciel commented 6 years ago

I understand, the qbit is very good, congratulations. tries to restart the application

jrmaciel commented 6 years ago

transactions are not appearing in the blockchain https://api.qbit.ninja/transactions/7da18136a14598a4b6ca459e5f2a5927f642cfc92296d0bf2362c2ff8ec0cc47

NicolasDorier commented 6 years ago

Yep, the indexer froze, restarted it.