[FINR] [V 3.4.3] Bearer token truncated at 255 characters? (WD-2224)

Wissen, Planung & Diskussion zur Unterstützung von Rest-API & Webabfragen im Timberwolf Server.
Stellt uns hier Eure Projekte und Ideen vor.
Forumsregeln
  • Denke bitte an aussagekräftige Titel und gebe dort auch die [Firmware] an. Wenn ETS oder CometVisu beteiligt sind, dann auch deren Version
  • Bitte mache vollständige Angaben zu Deinem Server, dessen ID und dem Online-Status in Deiner Signatur. Hilfreich ist oft auch die Beschreibung der angeschlossener Hardware sowie die verwendeten Protokolle
  • Beschreibe Dein Projekt und Dein Problem bitte vollständig. Achte bitte darauf, dass auf Screenshots die Statusleiste sichtbar ist
  • Bitte sei stets freundlich und wohlwollend, bleibe beim Thema und unterschreibe mit deinem Vornamen. Bitte lese alle Regeln, die Du hier findest: https://wiki.timberwolf.io/Forenregeln
Antworten

Ersteller
tark1
Reactions:
Beiträge: 1
Registriert: Sa Apr 04, 2020 2:27 pm
Hat sich bedankt: 15 Mal

[V 3.4.3] Bearer token truncated at 255 characters? (WD-2224)

#1

Beitrag von tark1 »

I am trying to set up an HTTP API connection with Husqvarna Automower in TW (v 3.4.3), and keep getting authentication errors, at the same time everything is working properly using the same credentials in Postman.

After some investigation it seems to me that the full token (938 characters in this case) is not passed on in the request and only the first 255 characters are, at least it seems so in the TW GUI - see screenshot below.

Is there a way to see the full headers of the request so that I could confirm my concern?

Bild
Zuletzt geändert von tark1 am Do Aug 04, 2022 9:45 pm, insgesamt 3-mal geändert.
TW3500 #827
Benutzeravatar

bondt
Elaborated Networks
Elaborated Networks
Reactions:
Beiträge: 477
Registriert: Mo Aug 27, 2018 10:48 am
Wohnort: Eschenlohe
Hat sich bedankt: 580 Mal
Danksagung erhalten: 170 Mal

#2

Beitrag von bondt »

Hi @tark1,

Thanks for your message and documentation.

We have not come across any headers surpassing 255 characters in our test, but when trying to reproduce this, I can say that only the first 255 characters are being received by the receiver.

I've marked this topic as confirmed bug and assigned it WD-2224.
Viele Grüße,
Michaël

[ Timberwolf Entwicklung ]

"Have you tried turning it off and on again?"

timberwolf101, VPN offen, Reboot jederzeit

gbglace
Reactions:
Beiträge: 4103
Registriert: So Aug 12, 2018 10:20 am
Hat sich bedankt: 1434 Mal
Danksagung erhalten: 1923 Mal

#3

Beitrag von gbglace »

@tark1
Could you please add the TWS Software Version installed on your TWS?
Grüße Göran
#1 Timberwolf 2600 Velvet Red TWS #225 / VPN aktiv / Reboot OK
#2 Timberwolf 2600 Organic Silver TWS #438 / VPN aktiv / Reboot OK
#PV 43,2 kWh Akku; 3x VE MP2 5000; 6,7 kWp > 18 Panele an 4x HM1500 + 1 HM800 WR; Open-DTU

ms20de
Elaborated Networks
Elaborated Networks
Reactions:
Beiträge: 1285
Registriert: Sa Aug 11, 2018 9:14 pm
Hat sich bedankt: 365 Mal
Danksagung erhalten: 742 Mal

#4

Beitrag von ms20de »

Fixed in current version V 3.4.5 respectively RC 8.

Best regards,
Matthias
Zuletzt geändert von ms20de am Mo Aug 22, 2022 5:47 pm, insgesamt 1-mal geändert.
[ Timberwolf Entwicklung ]

TWS 2400 ID:102 VPN offen, Reboot auf Nachfrage
TWS 3500 ID:695 VPN offen, Bitte kein Reboot ohne Absprache
Benutzeravatar

Parsley
Reactions:
Beiträge: 690
Registriert: Di Okt 09, 2018 7:27 am
Wohnort: 490..
Hat sich bedankt: 815 Mal
Danksagung erhalten: 429 Mal

#5

Beitrag von Parsley »

Just like everybody has to add the version in the topic it would make sense to write „fixed in [V x.y.z]“. Or does it?
Gruß Parsley

Timberwolf Server 3500L #657 (VPN offen, reboot nach Absprache)
Timberwolf Server 3500XL #1705 (VPN offen, reboot nach Absprache)
Bitte WIKI lesen.
Antworten

Zurück zu „HTTP-API, REST & Web-Abfragen“