Skip to content

Status 403 - Toegang geweigerd #6

Description

@Sarnog

or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
Log level is set to INFO
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[15:53:12] INFO: Log_level: info
[15:53:12] INFO: mqtt_host: 192.168.1.52
[15:53:12] INFO: mqtt_port: 1883
[15:53:12] INFO: Starting dutch gas prices...
[2024-02-01 15:53:14] INFO : DGP initialized, launching client
[2024-02-01 15:53:14] INFO : Connecting to mqtt host '192.168.1.52' with clientname 'f5a8083e-dutch-gas-prices'
[2024-02-01 15:53:14] INFO : Using username 'mqtt-user' to connect to '192.168.1.52'
[2024-02-01 15:53:14] INFO : Connected with result code '0'
[2024-02-01 15:54:05] INFO : Received payload '{"station_id":4121,"fuel_type":"euro95","friendly_name_template":"[brand] ([station_street])"}' on topic 'dgp/gas_station'
[2024-02-01 15:54:05] ERROR : _write_stationdata '4121': statuscode '403'
[2024-02-01 15:54:05] ERROR : _write_stationdata '4121': Used header '{'Accept': '/', 'Connection': 'keep-alive', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 OPR/54.0.2952.64'}'
[2024-02-01 15:54:05] ERROR : _write_stationdata '4121': Used IP ''
[2024-02-01 15:54:05] ERROR : _write_stationdata '4121': Response text '<title>Apache Tomcat/7.0.76 - Error report</title><style></style>

HTTP Status 403 - Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen


type Status report

message Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.76

'
[2024-02-01 15:54:05] ERROR : _write_allstationdata: statuscode '403'
[2024-02-01 15:54:05] ERROR : _write_allstationdata: Used header '{'Accept': '/', 'Connection': 'keep-alive', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 OPR/54.0.2952.64'}'
[2024-02-01 15:54:06] ERROR : _write_allstationdata: Used IP ''
[2024-02-01 15:54:06] ERROR : _write_allstationdata: Response text '<title>Apache Tomcat/7.0.76 - Error report</title><style></style>

HTTP Status 403 - Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen


type Status report

message Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.76

'
[2024-02-01 15:54:06] INFO : publishing station_id None to mqtt
Exception in thread Thread-1 (publish_station):
[2024-02-01 15:54:06] INFO : Received payload '{"station_id":4121,"fuel_type":"euro98","friendly_name_template":"[brand] ([station_street])"}' on topic 'dgp/gas_station'
Traceback (most recent call last):
File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.12/threading.py", line 1010, in run
self._target(self._args, **self.kwargs)
File "/app/mqtt_client.py", line 174, in publish_station
stationtopic = f"{station_info['station_id']}
{station_info['fuel_type']}"
~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'fuel_type'
[2024-02-01 15:54:06] ERROR : _write_stationdata '4121': statuscode '403'
[2024-02-01 15:54:06] ERROR : _write_stationdata '4121': Used header '{'Accept': '
/', 'Connection': 'keep-alive', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 OPR/54.0.2952.64'}'
[2024-02-01 15:54:07] ERROR : _write_stationdata '4121': Used IP ''
[2024-02-01 15:54:07] ERROR : _write_stationdata '4121': Response text '<title>Apache Tomcat/7.0.76 - Error report</title><style></style>

HTTP Status 403 - Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen


type Status report

message Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.76

'
[2024-02-01 15:54:07] ERROR : _write_allstationdata: statuscode '403'
[2024-02-01 15:54:07] ERROR : _write_allstationdata: Used header '{'Accept': '
/', 'Connection': 'keep-alive', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 OPR/54.0.2952.64'}'
[2024-02-01 15:54:07] ERROR : _write_allstationdata: Used IP ''
[2024-02-01 15:54:07] ERROR : _write_allstationdata: Response text '<title>Apache Tomcat/7.0.76 - Error report</title><style></style>

HTTP Status 403 - Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen


type Status report

message Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.76

'
[2024-02-01 15:54:07] INFO : publishing station_id None to mqtt
Exception in thread Thread-2 (publish_station):
Traceback (most recent call last):
File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
[2024-02-01 15:54:07] INFO : Received payload '{"station_id":4121,"fuel_type":"diesel","friendly_name_template":"[brand] ([station_street])"}' on topic 'dgp/gas_station'
self.run()
File "/usr/local/lib/python3.12/threading.py", line 1010, in run
self._target(self._args, **self.kwargs)
File "/app/mqtt_client.py", line 174, in publish_station
stationtopic = f"{station_info['station_id']}
{station_info['fuel_type']}"
~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'fuel_type'
[2024-02-01 15:54:07] ERROR : _write_stationdata '4121': statuscode '403'
[2024-02-01 15:54:07] ERROR : _write_stationdata '4121': Used header '{'Accept': '
/
', 'Connection': 'keep-alive', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 OPR/54.0.2952.64'}'
[2024-02-01 15:54:08] ERROR : _write_stationdata '4121': Used IP ''
[2024-02-01 15:54:08] ERROR : _write_stationdata '4121': Response text '<title>Apache Tomcat/7.0.76 - Error report</title><style></style>

HTTP Status 403 - Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen


type Status report

message Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.76

'
[2024-02-01 15:54:08] ERROR : _write_allstationdata: statuscode '403'
[2024-02-01 15:54:08] ERROR : _write_allstationdata: Used header '{'Accept': '/', 'Connection': 'keep-alive', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 OPR/54.0.2952.64'}'
[2024-02-01 15:54:09] ERROR : _write_allstationdata: Used IP ''
[2024-02-01 15:54:09] ERROR : _write_allstationdata: Response text '<title>Apache Tomcat/7.0.76 - Error report</title><style></style>

HTTP Status 403 - Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen


type Status report

message Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.76

'
[2024-02-01 15:54:09] INFO : publishing station_id None to mqtt
Exception in thread Thread-3 (publish_station)[2024-02-01 15:54:09] INFO : Received payload '{"station_id":4121,"fuel_type":"lpg","friendly_name_template":"[brand] ([station_street])"}' on topic 'dgp/gas_station'
:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.12/threading.py", line 1010, in run
self._target(self._args, **self.kwargs)
File "/app/mqtt_client.py", line 174, in publish_station
stationtopic = f"{station_info['station_id']}
{station_info['fuel_type']}"
~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'fuel_type'
[2024-02-01 15:54:09] ERROR : _write_stationdata '4121': statuscode '403'
[2024-02-01 15:54:09] ERROR : _write_stationdata '4121': Used header '{'Accept': '
/', 'Connection': 'keep-alive', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 OPR/54.0.2952.64'}'
[2024-02-01 15:54:09] ERROR : _write_stationdata '4121': Used IP ''
[2024-02-01 15:54:09] ERROR : _write_stationdata '4121': Response text '<title>Apache Tomcat/7.0.76 - Error report</title><style></style>

HTTP Status 403 - Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen


type Status report

message Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.76

'
[2024-02-01 15:54:09] ERROR : _write_allstationdata: statuscode '403'
[2024-02-01 15:54:09] ERROR : _write_allstationdata: Used header '{'Accept': '
/*', 'Connection': 'keep-alive', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 OPR/54.0.2952.64'}'
[2024-02-01 15:54:10] ERROR : _write_allstationdata: Used IP ''
[2024-02-01 15:54:10] ERROR : _write_allstationdata: Response text '<title>Apache Tomcat/7.0.76 - Error report</title><style></style>

HTTP Status 403 - Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen


type Status report

message Toegang geweigerd; mail naar tankservice-block@app-it-up.com voor vragen

description Access to the specified resource has been forbidden.


Apache Tomcat/7.0.76

'
[2024-02-01 15:54:10] INFO : publishing station_id None to mqtt
Exception in thread Thread-4 (publish_station):
Traceback (most recent call last):
File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self.kwargs)
File "/app/mqtt_client.py", line 174, in publish_station
stationtopic = f"{station_info['station_id']}
{station_info['fuel_type']}"
~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'fuel_type

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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