Skip to content

500 Internal Server Error - Application not working properly #1124

@Destroyer061090

Description

@Destroyer061090

The application since a long time is not working properly and I dont know what trials to do now.

Web interface is this:

Image

and I create sensor using following code:

rest:
  - resource: "http://MYIP:MYPORT/get_vehicleinfo/MYVIN"
    scan_interval: 300
    sensor:
      - name: PSA
        unique_id: psa
        value_template: "OK"
        json_attributes:
          - energy
          - timed_odometer
          - battery
          - last_position
          - preconditionning
          - kinetic

  - resource: "http://MYIP:MYPORT/charge_control?vin=MYVIN&always_check=true"
    scan_interval: 300
    sensor:
      - name: "PSA Charge Control"
        unique_id: psa_charge_control
        value_template: "OK"
        json_attributes:
          - _next_stop_hour
          - percentage_threshold

To check it I normally go to browser but:

if i punt on the browser http://MYIP:MYPORT/get_vehicleinfo/MYVIN i get this
Image

if I put on the browser http://MYIP:MYPORT/charge_control?vin=MYVIN&always_check=true%22
Image

This is the "end result" in the system and how you see it is not working properly providing randomly the information whitout understanding what's happened.
Image

I tried already to remove the container and starting from a new installation and configuration to avoid any problem but problem persists.

This is the full log of the container

addon_b9f12d83_psacc.csv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions