oplossing voor 403-Forbidden error

If your (rooted) Toon doesn't do what it's supposed to, post here. Dutch allowed / Posten in 't Nederlands toegestaan.

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

oplossing voor 403-Forbidden error

Postby ricardogn » Tue Oct 15, 2019 10:25 am

Met mijn gerootte toon heb ik het probleem van de 403-Forbidden error. Daardoor kan ik hem niet koppelen aan Home Assistant.

In het topic https://www.domoticaforum.eu/viewtopic. ... 00&t=11235 heb ik gelezen dat je dan via "vi" een bestand moet aanpassen. Maar na enkele uren google ben ik nog niet heel veel verder hoe dit moet aanpakken? Kan iemand mij tips geven?

Wil namelijk vanaf een windows 10 pc naar het ip adress van de toon toe en dan de bestanden aanpassen. maar ik heb echt geen idee hoe ik dit moet doen.
ricardogn
Starting Member
Starting Member
 
Posts: 11
Joined: September 2019

Re: oplossing voor 403-Forbidden error

Postby TheHogNL » Tue Oct 15, 2019 10:31 am

Tegenwoordig hoef je niets meer zelf aan te passen. Als je het update-rooted.sh script draait met optie -f wordt alles voor je gedaan.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1245
Joined: August 2017

Re: oplossing voor 403-Forbidden error

Postby ricardogn » Wed Oct 16, 2019 9:06 pm

Ik heb het script gedraaid, maar het werkt nog niet..

Test is dat je deze kan bereiken: http://192.168.2.10:10080/happ_thermsta ... mostatInfo

Dat wil dus niet..

Firmware 5.13.12
Log van het script:
Code: Select all
root@192.168.2.10's password:
eneco-001-053124:~# curl -Nks https://raw.githubusercontent.com/ToonSoftwareColl
ective/update-rooted/master/update-rooted.sh -o /root/update-rooted.sh
eneco-001-053124:~# sh /root/update-rooted.sh -f
===================================================================================================================================================================
Welcome to the rooted Toon upgrade script. This script will try to upgrade your Toon using your original connection with Eneco. It will start the VPN if necessary.
Please be advised that running this script is at your own risk!

Version: 3.9962  - TheHogNL & TerrorSource & yjb - 16-10-2019

If you like the update script for rooted toons you can support me. Any donation is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

===================================================================================================================================================================

Only fixing files.
creating backup of inittab...
creating backup of chrony.conf...
creating backup of hosts...
creating backup of config_happ_scsync.xml...
creating backup of qmf_tenant.xml.save ...
FIXING: Downloading resources.rcc TSC mod for this version 5.13.12.
FIXING: Now updating all toonstore installed apps
Downloading http://files.domoticaforum.eu/uploads/Toon/apps/toonstore-3.0.3/toonstore_3.0.3-r0_qb2.ipk.
Multiple packages (toonstore and toonstore) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (toonstore and toonstore) providing same name marked HOLD or PREFER. Using latest.
Installing toonstore (3.0.3-r0) to root...
Executing pre-install script for toonstore-3.0.3
Previous installation detected.
Backing up showStoreIcon.txt ...
Creating backup for /qmf/etc/qmf_release.xml ...
Patching /qmf/etc/qmf_release.xml for 403-forbidden error ...
Restarting http server ...
Cleaning garbage....
ToonStore pre-install script completed ...
Configuring toonstore.
Executing post-install script for toonstore-3.0.3 ...
Writing app version number to /HCBv2/qml/apps/toonstore-3.0.3/version.txt ...
Adding toonstore key to opkg keyring ...
OK
This is a Toon 1
No settings to be restored
Removing stale link /HCBv2/qml/apps/toonstore ...
Creating symbolic link /HCBv2/qml/apps/toonstore to /HCBv2/qml/apps/toonstore-3.0.3
Firmware version 5 or greater detected, changing app for firmware compatibility...
Posting message ...
skipped update request of tsc scripts

EDITING: Time server, removes unnecessary link to Quby
EDITING: Hosts file, removes unnecessary link to Quby
EDITING: disable ovpn connection to quby
EDITING: Adding serial connection
EDITING: Activating Toon, enabling ElectricityDisplay and GasDisplay
EDITING: removing data gathering by Quby and whitelisting web services
ricardogn
Starting Member
Starting Member
 
Posts: 11
Joined: September 2019

Re: oplossing voor 403-Forbidden error

Postby TheHogNL » Wed Oct 16, 2019 9:20 pm

probeer eens poort :80 ipv :10080
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1245
Joined: August 2017

Re: oplossing voor 403-Forbidden error

Postby ricardogn » Wed Oct 16, 2019 9:34 pm

Jeej, it works op poort 80.

wat is het advies? De custom component van CyberJunky op Github zelf gaan aanpassen dat hij ipv op poort 10080 naar 80. Of is er nog een oplossing dat deze poort (10080) open te zetten?

Code: Select all
{"result":"ok", "currentTemp":"1954", "currentSetpoint":"1500", "currentInternalBoilerSetpoint":"6", "programState":"0", "activeState":"3", "nextProgram":"-1", "nextState":"-1", "nextTime":"0","nextSetpoint":"0","randomConfigId":"1804289383","errorFound":"255","connection":"0","burnerInfo":"0","otCommError":"0","currentModulationLevel":"0"}
ricardogn
Starting Member
Starting Member
 
Posts: 11
Joined: September 2019

Re: oplossing voor 403-Forbidden error

Postby ricardogn » Wed Oct 16, 2019 10:04 pm

uh..

Het is opgelost door het component goed in te stellen.
ricardogn
Starting Member
Starting Member
 
Posts: 11
Joined: September 2019

Re: oplossing voor 403-Forbidden error

Postby TheHogNL » Thu Oct 17, 2019 7:47 am

Poort 10080 is een beetje van de vroegere toon root tijden. Tegenwoordig is poort 80 gewoon de poort die je moet gebruiken en is poort 10080 een beetje verlaten en kan zijn dat nieuwere firmwares het inderdaad niet ondersteunen.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1245
Joined: August 2017


Return to Toon issues and support (Nederlands toegestaan)

Who is online

Users browsing this forum: No registered users and 1 guest