Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Warning On Gurux.DLMS.AMI Startup

Warning on Gurux.DLMS.AMI startup

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By ignalbertshan , 29 April, 2020
Forums
Gurux.DLMS.AMI

I am using windows 10, i have download and install .NET 3.1
When i started the Gurux.DLMS.AMI using "dotnet Gurux.DLMS.AMI.dll" command, there was several warning.
It said
"Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https for redirect"

1. I have tested in http://localhost:64881/api/info that the application is up and running.
2. I have tested reading DLMS parameter from Actaris SL7000 in GXDLMSDirector and it worked fine
3. I cannot read the parameter when using the data concentrator Gurux.DLMS.AMI
4. I have no reply when requesting the REST API from localhost:64881

Can anyone tell what i do wrong? I want to read some parameter from SL7000 and save to MySql database

I attached the picture below

Image
Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

If I remember right, this warning is coming because you are using http and not https. Are you running Gurux.DLMS.AMI in IIS?

I can't see what you try to read from the pic. Pic is compressed and because you have the original image you can see it, but I can't. Can you read anything from the meter? Example the clock?

BR,
Mikko

ignalbertshan

6 years 1 month ago

Hi Mikko,

Hi Mikko,
I'm not sure if this happens because of IIS or not,
nevertheless i have tried disabling my IIS but the warning still there.

Any advice?

For the picture i tried to post one by one in every post to make it clearer

Image

ignalbertshan

6 years 1 month ago

picture 2

Here is the Gurux.DLMS.AMI window screenshot from GXDLMSDirector application

Image
Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

Have you read the value? Select property and press Read-button. Then wait for a while and press "f5". It will update data from the database.

BR,
Mikko

ignalbertshan

6 years 1 month ago

Hi,

Hi,
Yes i have done all of that, but the read value is "0"
it is different than the actual value which is around "220"
I have attached screenshot from Gurux.DLMS.AMI and GXDLMSDirector reading the same value as comparison.

Can you advise?
Thank you

Image
Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

For me, it seems that you have not read the value with Gurux.DLMS.AMI. Have you press the read-button or add a schedule read?

Can you open appsettings.json and change Warnin LogLevel to Debug. Like this:
{
"Logging": {
"LogLevel": {
"Default": "Debug"
},
"Console": {
"IncludeScopes": false
},
},

You can now see log when you press the read-button.

BR,
Mikko

ignalbertshan

6 years 1 month ago

Hi Mikko,

Hi Mikko,
I was wondering, is the log line generate continuously overtime ?

I have attached a video when i started gurux.ami after i set the log level to debug

is this normal ?

Image
Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

Open appsettings.json and change "TaskWaitTime": 60000
It's now 60.

I add to the worklist that it's given as seconds, not ms.

BR,
Mikko

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

Actually there is a new version where this is fixed. Get the latest version from the GitHub.

BR,
Mikko

ignalbertshan

6 years 1 month ago

Hi Mikko,

Hi Mikko,
I have used the latest version from github and got the same result...

Can you advise about the warning i got from the first post?

"Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https for redirect"

I have disabled the IIS and the warning still appeared

Thank you

Image

prashanth

4 years 11 months ago

Hi I m facing same issues

Hi I m facing same issues stacktrace is as follows . Is there any solution
E:\ami file>dotnet Gurux.DLMS.AMI.dll
RestAddress: http://localhost:64881
Database type: SQLite
Connecting: Data Source=:memory:
Creating tables.
Service started: http://localhost:64881
Reader trace level is Verbose
Listener trace level is Verbose
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.
warn: Gurux.DLMS.AMI.Scheduler.GXSchedulerService[0]
Timed Background Service is working.

Profile picture for user Kurumi

Kurumi

4 years 11 months ago

Hi,

Hi,

Your SSL is not enabled. You need SSL certificate to use https.
You can get more information on how to solve this:
https://docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl

BR,
Mikko

prashanth

4 years 11 months ago

tanx for the reply

tanx for the reply

aeeccims@tnebnet.org

4 years 7 months ago

Hi

Hi
I am getting blank page while opening http://localhost:64881/

How the Gurux.DLMS.AMI has to be used as an application.

Total no. of meters may be around 2000 at present

Guidance in this regard is appreciated.

Profile picture for user Kurumi

Kurumi

4 years 7 months ago

In reply to Hi by aeeccims@tnebnet.org

Hello,

Hello,

Please, create a new topic if you have a new question.
http://www.gurux.fi/ForumRules

BR,
Mikko

aeeccims@tnebnet.org

4 years 7 months ago

In reply to Hi by aeeccims@tnebnet.org

Hi ok thanks for the response

Hi
ok thanks for the response

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin