Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: included simpleApi doesn't work as normal simpleApi #437

Open
mcuiobroker opened this issue Jun 19, 2024 · 2 comments
Open

[bug]: included simpleApi doesn't work as normal simpleApi #437

mcuiobroker opened this issue Jun 19, 2024 · 2 comments
Labels

Comments

@mcuiobroker
Copy link

https://forum.iobroker.net/topic/75377/gel%C3%B6st-simple-api-states-mit-filter

simpleApi with Port 8082 wth pattern is not working
http://ipaddress:8082/states?pattern=system.adapter.admin.0*&prettyPrint
-> see link above

Try http://ipaddress:8082/states?pattern=system.adapter.admin.0*&prettyPrint with internal simpleApi on web-Adapter

Behaviour should be the same as from Port 8087 from original simpleApi.

Adapter: 6.2.6
Node: 20.14.0
js-controller: 5.0.19

@Apollon77
Copy link
Contributor

Hm ... please enable debug log and provide a log.

My assumption is that simple api gets registered, BUT still also the normal file handlers are registeres and that they answer "faster"

@Apollon77 Apollon77 added the bug label Jun 20, 2024
@mcuiobroker
Copy link
Author

web.0
2024-06-21 09:44:09.204 info http server listening on port 8082
web.0
2024-06-21 09:44:09.201 debug Activating web files from objectDB
web.0
2024-06-21 09:44:09.201 info Allow states only when user is owner: false
web.0
2024-06-21 09:44:09.201 info simpleAPI server listening on port 8082
web.0
2024-06-21 09:44:09.199 debug Activating simple API
web.0
2024-06-21 09:44:09.199 debug Activating extensions
web.0
2024-06-21 09:44:09.199 info socket.io server listening on port 8082
web.0
2024-06-21 09:44:09.169 debug Activating IOSocket
web.0
2024-06-21 09:44:09.168 debug Secure connection not enabled - using http createServer
web.0
2024-06-21 09:44:09.167 debug Activating states & socket info
web.0
2024-06-21 09:44:09.144 info starting. Version 6.2.6 in /opt/iobroker/node_modules/iobroker.web, node: v18.20.3, js-controller: 5.0.19
web.0
2024-06-21 09:44:09.032 debug Plugin sentry Initialize Plugin (enabled=true)
web.0
2024-06-21 09:44:09.020 debug States connected to redis: 0.0.0.0:9000
web.0
2024-06-21 09:44:08.972 debug States create User PubSub Client
web.0
2024-06-21 09:44:08.972 debug States create System PubSub Client
web.0
2024-06-21 09:44:08.969 debug Redis States: Use Redis connection: 0.0.0.0:9000
web.0
2024-06-21 09:44:08.960 debug Objects connected to redis: 0.0.0.0:9001
web.0
2024-06-21 09:44:08.958 debug Objects client initialize lua scripts
web.0
2024-06-21 09:44:08.949 debug Objects create User PubSub Client
web.0
2024-06-21 09:44:08.949 debug Objects create System PubSub Client
web.0
2024-06-21 09:44:08.948 debug Objects client ready ... initialize now
web.0
2024-06-21 09:44:08.937 debug Redis Objects: Use Redis connection: 0.0.0.0:9001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants