Json-RPC in Asp.net Core C#
How to work with JSON-RPC for Back-end process(Web API) in ASP.Net Core C# Without using any third party tools,Is there Any Native Codes available in Dot-net Core Framework related to Json-Rpc except GRPC
See also questions close to this topic
-
Connection string for several PC
The app(wpf,c#) should run on several machines on the network, but mssql will only run on one. Do i need to change something in the connection string to work correctly? Or is it enough just to change "source" to ip address\server name? The end result should be a setup file. Sorry for the silly questions.
-
Chilkat File Upload Getting Failed By Socket Error
Ok. i have developed a script.. that upload file to server..
it's working very nice on my computer and also on my vm..
but on my client pc.. it just shows following error every time.. Upload didn't go through for single time :(
here is the error:
<fullHttpRequest> <domain>domain.com</domain> <port>443</port> <ssl>True</ssl> <openHttpConnection> <info>Opening connection directly to HTTP server.</info> <httpHostname>domain.com</httpHostname> <httpPort>443</httpPort> <tls>True</tls> <info>HTTPS secure channel established.</info> </openHttpConnection> <connectTime>Elapsed time: 1687 millisec</connectTime> <sendRequestHeader> <sendHeaderElapsedMs>0</sendHeaderElapsedMs> </sendRequestHeader> <sendRequestBody> <genMultipartFormData> <requestParam> <name>Data</name> </requestParam> <requestParam> <name>vidFile</name> <filename>C:\U3_2021-01-25-23-52-38_S0001.mp4</filename> <sendDataToOutput> <error>socket write aborted by application..</error> <error>Socket send aborted by application</error> <error>Failed to send TLS message.</error> <error>Failed to write bytes.</error> <error>Failed to write data to output.</error> <error>Failed to copy file data to output.</error> </sendDataToOutput> </requestParam> </genMultipartFormData> <sendBodyElapsedMs>56422</sendBodyElapsedMs> <error>Failed to send HTTP request body.</error> </sendRequestBody> <error>sendRequestBody failed.</error> <numBytesReceivedWhileSending>0</numBytesReceivedWhileSending> </fullHttpRequest>
i can't understand the error and thus what would be solution as well..
so, looking here for an help please?
best regards
-
Newtonsoft.JSON is taking way too much memory with large JSONs
I'm using Newtonsoft.Json to parse Jsons of about 100MB in size. I'm deserializing them into dynamic objects to work with them later. I was expecting the app to not use much more than the 100MB of ram, however this it not the case at all. I made a debug application to test the memory usage and to my surprise, it is at 435MB after deserializing.
I'm using a memory effcient code with disposing and streams:
dynamic json; using (StreamReader sr = new StreamReader("C://Users/Brigan/JSON.json")) using (JsonReader reader = new JsonTextReader(sr)) { JsonSerializer serializer = new JsonSerializer(); json = serializer.Deserialize<dynamic>(reader); }
This is all the application does. The code was taken and changed for reading a file from the official suggestions at https://www.newtonsoft.com/json/help/html/Performance.htm#MemoryUsage.
Looking at the memory profile: Object type : Amount : Size in bytes : Total size in bytes
-
I am getting configuration error on ASP.Net Webform application
I am working on old website which was developed in ASP.Net webform and now i had to enable SSL for this website using Plesk.
After i enable SSL for from Plesk backend section of website started to show error. all backend files are under "backofficeCMS" folder.
It was working fine unless SSL was not enable once we enable SSL backend of this CMS started giving below error
Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Source File: C:\Inetpub\vhosts\domainName.com\httpdocs\web.config Line: 96 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.3928.0
Now i am not able to make it work even if i turn off SSL Support
My web config file is same as it was, i am getting error for all folder which are protect by asp.net membership
<location path="backofficeCMS" allowOverride="false"> <system.web> <authorization> <deny users="?" /> </authorization> <trust level="Full" /> </system.web> </location>
i get this error when i try to access any file in this folder
backofficeCMS
it shows same error message for even a simple asp.net webform file as show below
Test.aspx File
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="_Test" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> WORKING </div> </form> </body> </html>
Any idea how this problem can be solved and any pointer
-
fetch post method with razor page doesn't send body
I would like to trasnfer some data from the page to the page model with ajax (fetch api) post. I manage to get to "OnPostTest" handler, but I don't recive any data - variable "json" is null. Where is my problem? Is it on my ajax call or in the razor page model method? thanks
razor page- page model
public JsonResult OnPostTest(string json) { return new JsonResult(json); }
js
async function getData() { fetch('./test/Test', { method: "POST", body: JSON.stringify({ json: 'yourValue' }), headers: { 'X-CSRF-TOKEN': document.getElementsByName("__RequestVerificationToken")[0].value, 'Content-Type': 'application/json', Accept: 'application/json', } }) .then(function (res) { return res.json(); }) .then(function (data) { alert((data)) }) }
razor page
<form method="post"> <button type="button" onclick="getData(this)" value="1">send</button> </form>
-
Do i use groupby datagrid to group same dates to not exceed value c#
I have a problem, It involves filtering/grouping by the same dates to not exceed a certain amount.
The incoming source is a datatable that will be parsed into a gridview. I will loop through the gridview to accomplish what i desire. This is the code
DataTable dt = Session["myDatatable"] as DataTable; try { using (SqlConnection sqlConnection = new SqlConnection(strCon)) { SqlCommand cmd = sqlConnection.CreateCommand(); if (sqlConnection.State == ConnectionState.Closed) { sqlConnection.Open(); for (int i = 0; i < dt.Rows.Count; i++) { cmd.CommandType = CommandType.Text; cmd.CommandText += "INSERT INTO tblTimeSheet (StaffId, StaffName, ProjectCode, SolutionCode, CustomerCode, ActivityCode, ActivityDate, Remarks," + " RecStatus, DateCreated, CreatedBy, DateModified, ModifiedBy, HoursSpent) VALUES ('" + dt.Rows[i]["StaffId"].ToString() + "'," + "'" + dt.Rows[i]["StaffName"].ToString() + "','" + dt.Rows[i]["ProjectCode"].ToString() + "','" + dt.Rows[i]["SolutionCode"].ToString() + "'" + ",'" + dt.Rows[i]["CustomerCode"].ToString() + "' ,'" + dt.Rows[i]["ActivityCode"].ToString() + "' " + ",CONVERT(datetime,'" + dt.Rows[i]["ActivityDate"].ToString() + "',103)" + ",'" + dt.Rows[i]["Remarks"].ToString() + "' ,'" + dt.Rows[i]["RecStatus"].ToString() + "' " + ",CONVERT(datetime,'" + dt.Rows[i]["DateCreated"].ToString() + "',103)" + ",'" + dt.Rows[i]["CreatedBy"].ToString() + "'" + " ,CONVERT(datetime,'" + dt.Rows[i]["DateModified"].ToString() + "',103)" + ",'" + dt.Rows[i]["ModifiedBy"].ToString() + "'" + ",'" + dt.Rows[i]["HoursSpent"].ToString() + "'); "; cmd.ExecuteNonQuery(); }
What im trying to do is to only insert the query string only if the HoursSpent in the same day exceeds a certain range. The output image looks like this. Sample of how the FrontEnd Looks like
I know i have to group the same ActivityDate into a collection then use that collection to check if the value is greater or lesser to the range i want to check. But the problem is.
I dont know where to begin, i tried searching on google and the only method i found was groupby. Im sure there are other methods, maybe im too tired and can't think of the solution now but does anyone know of any methods to solve this problem?
-
HTTP response body for server command request
I am solving one question with my team about REST API specification. We have a case where in some requests we are sending only some particular command via HTTP request for example : We are using POST (now considering PATCH request) to endpoint :
/server/startSomeOperation
. Backend developers told us that this request is only telling hardware to start some functionality on backend that affects the measurement of the user but it really has nothing to return. My question is : Should we (according to some REST API specification) always return body of such a request when we know that no additional returned data will be needed except HTTP status code? Until now we were strictly following the rule that every request needs to have some sort of body returned but until now every body response even when it was a command to a server made sense. -
How can I send post request with base64 image?
I am making an image upload component in vue js with custom cropping option. The cropped version is being saved in my state as a base64 string. This is it:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAHgCAYAAAB91L6VAAAgAElEQVR4Xu2dCdh+1dT/v3+UDA1KMiQhlCEylDGZSqbI0Jy8JMmYUEloRFIpVJK5EpL0ilJmr6IQKiXzrCKESP2v72vfb8/z/O7hnH2fc/be53z2df2uoj1+9vrd6+y1117r/4kCAQhAAAIQgEDnBP5f5yMyIAQgAAEIQAACQgEjBBCAAAQgAIEEBFDACaAzJAQgAAEIQAAFjAxAAAIQgAAEEhBAASeAzpAQgAAEIAABFDAyAAEIQAACEEhAAAWcADpDQgACEIAABFDAyAAEIAABCEAgAQEUcALoDAkBCEAAAhBAASMDEIAABCAAgQQEUMAJoDMkBCAAAQhAAAWMDEAAAhCAAAQSEEABJ4DOkBCAAAQgAAEUMDIAAQhAAAIQSEAABZwAOkNCAAIQgAAEUMDIAAQgAAEIQCABARRwAugMCQEIQAACEEABIwMQgAAEIACBBARQwAmgMyQEIAABCEAABYwMQAACEIAABBIQQAEngM6QEIAABCAAARQwMgABCEAAAhBIQAAFnAA6Q0IAAhCAAARQwMgABCAAAQhAIAEBFHAC6AwJAQhAAAIQQAEjAxCAAAQgAIEEBFDACaAzJAQgAAEIQAAFjAxAAAIQgAAEEhBAASeAzpAQgAAEIAABFDAyAAEIQAACEEhAAAWcADpDQgACEIAABFDAyAAEIAABCEAgAQEUcALoDAkBCEAAAhBAASMDEIAABCAAgQQEUMAJoDMkBCAAAQhAAA....
now I am trying to send this image to my node js server using post request API. In Postman, I am writing the body selecting "raw" and "json" in this the body in this way:
{ "image" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAHgCAYAAAB91L6VAAAgAElEQVR4Xu2dCdh+1dT/v3+UDA1KMiQhlCEylDGZSqbI0Jy8JMmYUEloRFIpVJK5EpL0ilJmr6IQKiXzrCKESP2v72vfb8/z/O7hnH2fc/be53z2df2uoj1+9vrd6+y1117r/4kCAQhAAAIQgEDnBP5f5yMyIAQgAAEIQAACQgEjBBCAAAQgAIEEBFDACaAzJAQgAAEIQAAFjAxAAAIQgAAEEhBAASeAzpAQgAAEIAABFDAyAAEIQAACEEhAAAWcADpDQgACEIAABFDAyAAEIAABCEAgAQEUcALoDAkBCEAAAhBAASMDEIAABCAAgQQEUMAJoDMkBCAAAQhAAAWMDEAAAhCAAAQSEEABJ4DOkBCAAAQgAAEUMDIAAQhAAAIQSEAABZwAOkNCAAIQgAAEUMDIAAQgAAEIQCABARRwAugMCQEIQAACEEABIwMQgAAEIACBBARQwAmgMyQEIAABCEAABYwMQAACEIAABBIQQAEngM6QEIAABCAAARQwMgABCEAAAhBIQAAFnAA6Q0IAAhCAAARQwMgABCAAAQhAIAEBFHAC6AwJAQhAAAIQQAEjAxCAAAQgAIEEBFDACaAzJAQgAAEIQAAFjAxAAAIQgAAEEhBAASeAzpAQgAAEIAABFDAyAAEIQAACEEhAAAWcADpDQgACEIAABFDAyAAEIAABCEAgAQEUcALoDAkBCEAAAhBAASMDEIAABCAAgQQEUMAJoDMkBCAAAQhAAAWMDEAAAhCAAAQSEEABJ4DOkBCAAAQgAAEUMDIAAQhAAAIQSEAABZwAOkNCAAIQgAAEUMDIAAQgAAEIQCABARRwAugMCQEIQAACEEABIwMQgAAEIACBBARQwAmgMyQEIAABCEAABYwMQAACEIAABBIQQAEngM6QEIAABCAAARQwMgABCEAAAhBIQAAFnAA6Q0IAAhCAAARQwMgABCAAAQhAIAEBFHAC6AwJAQhAAAIQQAEjAxCA..... }
The request not detecting this json data in the body and returning error:
{ "image": "\"image\" is required" }
Also tried the form_data sending method in this way:
var axios = require('axios'); var FormData = require('form-data'); // var fs = require('fs'); var data = new FormData(); data.append('image', formdata.logoFinalImage); var config = { method: 'post', url: myurl, headers: { 'Authorization': this.state.token, 'Content-Type': 'application/json' }, data: data }; axios(config) .then(function (response) { console.log(JSON.stringify(response.data)); }) .catch(function (error) { console.log(error); });
Same issue. How can I send the final cropped version to the node api endpoint?
-
Is there an attribute for saving string as plain text while serializing object by using Json Convert
while hitting api on postman I am getting like this :
"{\"Id\":510001,\"Action\":\"Add\",\"Resource\":\"Case\",\"Fields\":[{\"FieldName\":\"Title\",\"Before\":\"\",\"After\":\"string\"},{\"FieldName\":\"Formatted\",\"Before\":\"\",\"After\":\"string\"},{\"FieldName\":\"Description in PLain Text\",\"Before\":\"\",\"After\":\"string\"},{\"FieldName\":\"PoliceDepartmentId\",\"Before\":\"\",\"After\":\"1\"},{\"FieldName\":\"UniqueId\",\"Before\":\"\",\"After\":\"cas123163\"},{\"FieldName\":\"Status\",\"Before\":\"\",\"After\":\"Initial\"},{\"FieldName\":\"Priority\",\"Before\":\"\",\"After\":\"Top\"},{\"FieldName\":\"Severity\",\"Before\":\"\",\"After\":\"Critical\"},{\"FieldName\":\"Type\",\"Before\":\"\",\"After\":\"Normal\"},{\"FieldName\":\"NotifyWatcher\",\"Before\":\"\",\"After\":\"True\"},{\"FieldName\":\"IsDeleted\",\"Before\":\"\",\"After\":\"False\"},{\"FieldName\":\"CreatedBy\",\"Before\":\"\",\"After\":\"1\"}],\"Childs\":[]}"
I want to show it like this :
{"Id":510001,"Action":"Add","Resource":"Case","Fields":[{"FieldName":"Title","Before":"","After":"string"},{"FieldName":"Formatted","Before":"","After":"string"},{"FieldName":"Description in PLain Text","Before":"","After":"string"},{"FieldName":"PoliceDepartmentId","Before":"","After":"1"},{"FieldName":"UniqueId","Before":"","After":"cas123163"},{"FieldName":"Status","Before":"","After":"Initial"},{"FieldName":"Priority","Before":"","After":"Top"},{"FieldName":"Severity","Before":"","After":"Critical"},{"FieldName":"Type","Before":"","After":"Normal"},{"FieldName":"NotifyWatcher","Before":"","After":"True"},{"FieldName":"IsDeleted","Before":"","After":"False"},{"FieldName":"CreatedBy","Before":"","After":"1"}],"Childs":[]}
Only Plain Text, no \n \r \t \
..
-
Serilog different levels for different sinks
I have the following piece of c# code for writing logs with multiple sinks (console and file), how do i restrict the console to log only (info, warn and error) and file to log everything.
var outputTemplate = "[{Level:u3}] {Message:lj}{NewLine}{Exception}"; // Logger Log.Logger = new LoggerConfiguration() .MinimumLevel.Verbose() .WriteTo.Console(outputTemplate: outputTemplate, theme:SystemConsoleTheme.Literate) .WriteTo.File($"logs/log-{DateTime.Now:yyyy-MM-dd_HH:mm:ss.fff}.log") .CreateLogger();
-
.NET Core WebAPI - 404 fallback with attribute routing
While implementing my first restful webapi in .NET Core 3.1 I am trying to implement a fallback routine for 404 Errors. My Startup.cs is actual looking like this:
public void ConfigureServices(IServiceCollection services) { services.AddControllers(); // ... } public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { // ... app.UseRouting(); app.UseEndpoints(endpoints => { endpoints.MapControllers(); endpoints.MapFallbackToController("EndpointNotFound", "Fallback"); }); }
In this configuration, the 404 fallback takes effect before the actual route to the respective controller. I am using the attribute routing in the api controllers. Is it generally possible to use the
MapFallbackToController()
method inside attribute routing? If not, is there an useful middleware alternative to it?Greetings
-
How to use resx file in javascript file. .net core 3.1 mvc
I'am developing multi language web site with .net core mvc. I used Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer.
This code is work fine in .cshtml for me
@inject Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer<ExampleProject.WEB.Controllers.HomeController> localizer @localizer["NotificationManage"]
Also works between <script> tags in _Layout page
alert('@localizer["NotificationManage"]');
But don't working in js file.
How to use Resx file in javascript file.?
What another best to way make multi language to javascript?
alert('@localizer["NotificationManage"]');
Not working for me.
Alert Result is:@localizer["NotificationManage"];
-
Lsp4j JSON RPC library throwing NoClassDefFoundError exception on Android 21
I'm using the eclipse lsp4j library to connect to a remote language server. My app needs to support API Level 21 systems, and this exception is not thrown on newer android versions. (I tested on API level 30). I'm kind of at a loss on how to possibly fix it.
This is the code I have to connect to the language server:
val launcher = LSPLauncher.createClientLauncher(this, inputStream, outputStream)
And these are the logs I'm getting from the debugger:
I/art: Rejecting re-init on previously-failed class java.lang.Class<org.eclipse.lsp4j.jsonrpc.MessageTracer> Rejecting re-init on previously-failed class java.lang.Class<org.eclipse.lsp4j.jsonrpc.MessageTracer> Rejecting re-init on previously-failed class java.lang.Class<org.eclipse.lsp4j.jsonrpc.MessageTracer> Rejecting re-init on previously-failed class java.lang.Class<org.eclipse.lsp4j.jsonrpc.MessageTracer> I/art: Rejecting re-init on previously-failed class java.lang.Class<org.eclipse.lsp4j.jsonrpc.services.-$$Lambda$ServiceEndpoints$eKMG28mxVS2rcQINSfNNvWiJqVc> Rejecting re-init on previously-failed class java.lang.Class<org.eclipse.lsp4j.jsonrpc.services.-$$Lambda$ServiceEndpoints$eKMG28mxVS2rcQINSfNNvWiJqVc> I/art: Rejecting re-init on previously-failed class java.lang.Class<org.eclipse.lsp4j.jsonrpc.services.-$$Lambda$ServiceEndpoints$eKMG28mxVS2rcQINSfNNvWiJqVc> E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.lsp_client, PID: 6699 java.lang.NoClassDefFoundError: org.eclipse.lsp4j.jsonrpc.services.-$$Lambda$ServiceEndpoints$eKMG28mxVS2rcQINSfNNvWiJqVc at org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints.getSupportedMethods(ServiceEndpoints.java:90) at org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints.getSupportedMethods(ServiceEndpoints.java:82) at org.eclipse.lsp4j.jsonrpc.Launcher$Builder.getSupportedMethods(Launcher.java:404) at org.eclipse.lsp4j.jsonrpc.Launcher$Builder.createJsonHandler(Launcher.java:335) at org.eclipse.lsp4j.jsonrpc.Launcher$Builder.create(Launcher.java:319) at org.eclipse.lsp4j.launch.LSPLauncher.createClientLauncher(LSPLauncher.java:106) at com.example.lsp_client.server.LanguageServerSocket.startSession(LanguageServerSocket.kt:68) ...
I'm guessing there is some sort of compatibility issue with the lsp4j library, but I'm not sure where to begin in how to debug that. My Gradle config for context with relevant dependencies:
plugins { id 'com.android.application' id 'kotlin-android' id 'org.jetbrains.kotlin.plugin.serialization' } android { compileSdkVersion 30 defaultConfig { minSdkVersion 21 targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' useIR = true } buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion compose_version kotlinCompilerVersion kotlin_version } } dependencies { ... implementation 'org.eclipse.lsp4j:org.eclipse.lsp4j:0.10.0' implementation 'org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc:0.10.0' ... }
-
ionic 5 and Odoo connection got error on handling json response
I am trying to connect odoo and ionic 5 using api interface. below is my Odoo controller:
@http.route('/ionicon/authenpost',type="json",csrf=False,cors="*", auth="public",website=False, method=['POST']) def authenPost(self, login,pwd,base_location=None): env = request.env(context=dict(request.env.context, show_address=False, no_tag_br=True)) db = env.cr.dbname request.session.authenticate(db,login,pwd) return request.env['ir.http'].session_info()
deployment is ok and already tested with Postman. the response is ok as well.
but when I tried to call with ionic 5 android app, I got the following error:
{"status":400,"url":"http://172.20.10.3:8069/ionicon/authenpost","headers":{"date":"Mon, 18 Jan 2021 17:01:05 GMT","content-length":"308","server":"Werkzeug/0.16.1 Python/3.8.2","x-android-selected-protocol":"http/1.0","x-android-response-source":"NETWORK 400","x-android-received-millis":"1610989264019","x-android-sent-millis":"1610989263965","content-type":"text/html"},"error":"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>400 Bad Request</title>\n<h1>Bad Request</h1>\n<p><function ionic_conController.authenPost at 0x7fc9687620d0>, /ionicon/authenpost: Function declared as capable of handling request of type 'json' but called with a request of type 'http'</p>\n"}
actually I already pass 'application/json' header. please see the below code:
this.http.sendRequest("http://172.20.10.3:8069/ionicon/authenpost", { method: 'post', responseType: 'json', data:{ 'jsonrpc':'2.0', 'params' : { 'login':'testuser@sample.com', 'pwd':'testabc' }}, headers: { accept: 'application/json', 'Content-Type': 'application/json' }}).then(data=>{ console.log(JSON.stringify(data)); }).catch(err =>{ console.log(JSON.stringify(err)); });
I am using
import { HTTP } from '@ionic-native/http/ngx';
it did work with HTTPClient, below is my working code.
const httpHeader_ = { headers: new HttpHeaders({ 'Content-Type': 'application/json' }) }; let config ={ headers: new HttpHeaders().set('Content-Type', 'application/json') }; this.httpCli.post("http://172.20.10.3:8069/ionicon/authenpost", {jsonrpc : "2.0", params : { 'login':'sampleuser@test.com', 'pwd':'password123' } }, config).subscribe(data => { console.log(data); },err => { console.log(err); });
I would like to know how can i get with HTTP?
Where can i put content-type ?
Best Rgds, jm
-
Issue with json_rpc over https
Hello my site is powered by https. The config.js file is located in the root folder of the site, it specifies which address to access via the API. The address is specified https://127.0.0.1:10000/json_rpc, requests to this address do not work. If you specify http://127.0.0.1:10000/json_rpc, then everything works. How can I call the API over https and not over http? Or is there a workaround in the config.js itself?
If you make a request via curl https://127.0.0.1:10000/json_rpc, then curl error appears: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to 127.0.0.1:10000