text:
Can NOT create secret from the webUI

Component
server, web-ui
Describe the bug
Hi,
If I try to create a secret from the webUI, a global or a user secret, it fails with "unkown error"
I tried next and 2.0.0-rc0, with and without WOODPECKER_ENCRYPTION_KEY set.
I tried sqlite and postgres backend, deleting the whole DB between tests. Same result each time.
I switched to 1.0.3, works like a charm !
System Info
{"source":"https://github.com/woodpecker-ci/woodpecker","version":"1.0.3"}

Postgres image : ghcr.io/cloudnative-pg/postgresql:16.0 ( 3 nodes cluster in k8s )

Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
[X] Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.

Hi, so i switched back to 2.0.0-rc0, I set debug mode, and tried to create a secret, here is the full log from the start of the server pod
11:31AM INF woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/common/logger.go:100 > LogLevel = debug
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /favicon.svg              --> go.woodpecker-ci.org/woodpecker/server/web.New.redirect.func1 (2 handlers)
[GIN-debug] GET    /favicons/*filepath       --> go.woodpecker-ci.org/woodpecker/server/web.New.serveFile.func2 (2 handlers)
[GIN-debug] GET    /assets/*filepath         --> go.woodpecker-ci.org/woodpecker/server/web.New.handleCustomFilesAndAssets.func4 (2 handlers)
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /web-config.js            --> go.woodpecker-ci.org/woodpecker/server/web.Config (12 handlers)
[GIN-debug] GET    /logout                   --> go.woodpecker-ci.org/woodpecker/server/api.GetLogout (12 handlers)
[GIN-debug] GET    /login                    --> go.woodpecker-ci.org/woodpecker/server/api.HandleLogin (12 handlers)
[GIN-debug] GET    /authorize                --> go.woodpecker-ci.org/woodpecker/server/api.HandleAuth (12 handlers)
[GIN-debug] POST   /authorize                --> go.woodpecker-ci.org/woodpecker/server/api.HandleAuth (12 handlers)
[GIN-debug] POST   /authorize/token          --> go.woodpecker-ci.org/woodpecker/server/api.GetLoginToken (12 handlers)
[GIN-debug] GET    /metrics                  --> go.woodpecker-ci.org/woodpecker/server/router.Load.PromHandler.func4 (12 handlers)
[GIN-debug] GET    /version                  --> go.woodpecker-ci.org/woodpecker/server/api.Version (12 handlers)
[GIN-debug] GET    /healthz                  --> go.woodpecker-ci.org/woodpecker/server/api.Health (12 handlers)
[GIN-debug] GET    /api/user                 --> go.woodpecker-ci.org/woodpecker/server/api.GetSelf (13 handlers)
[GIN-debug] GET    /api/user/feed            --> go.woodpecker-ci.org/woodpecker/server/api.GetFeed (13 handlers)
[GIN-debug] GET    /api/user/repos           --> go.woodpecker-ci.org/woodpecker/server/api.GetRepos (13 handlers)
[GIN-debug] POST   /api/user/token           --> go.woodpecker-ci.org/woodpecker/server/api.PostToken (13 handlers)
[GIN-debug] DELETE /api/user/token           --> go.woodpecker-ci.org/woodpecker/server/api.DeleteToken (13 handlers)
[GIN-debug] GET    /api/users                --> go.woodpecker-ci.org/woodpecker/server/api.GetUsers (13 handlers)
[GIN-debug] POST   /api/users                --> go.woodpecker-ci.org/woodpecker/server/api.PostUser (13 handlers)
[GIN-debug] GET    /api/users/:login         --> go.woodpecker-ci.org/woodpecker/server/api.GetUser (13 handlers)
[GIN-debug] PATCH  /api/users/:login         --> go.woodpecker-ci.org/woodpecker/server/api.PatchUser (13 handlers)
[GIN-debug] DELETE /api/users/:login         --> go.woodpecker-ci.org/woodpecker/server/api.DeleteUser (13 handlers)
[GIN-debug] GET    /api/orgs                 --> go.woodpecker-ci.org/woodpecker/server/api.GetOrgs (13 handlers)
[GIN-debug] GET    /api/orgs/lookup/*org_full_name --> go.woodpecker-ci.org/woodpecker/server/api.LookupOrg (12 handlers)
[GIN-debug] GET    /api/orgs/:org_id/permissions --> go.woodpecker-ci.org/woodpecker/server/api.GetOrgPermissions (12 handlers)
[GIN-debug] DELETE /api/orgs/:org_id         --> go.woodpecker-ci.org/woodpecker/server/api.DeleteOrg (14 handlers)
[GIN-debug] GET    /api/orgs/:org_id         --> go.woodpecker-ci.org/woodpecker/server/api.GetOrg (13 handlers)
[GIN-debug] GET    /api/orgs/:org_id/secrets --> go.woodpecker-ci.org/woodpecker/server/api.GetOrgSecretList (13 handlers)
[GIN-debug] POST   /api/orgs/:org_id/secrets --> go.woodpecker-ci.org/woodpecker/server/api.PostOrgSecret (13 handlers)
[GIN-debug] GET    /api/orgs/:org_id/secrets/:secret --> go.woodpecker-ci.org/woodpecker/server/api.GetOrgSecret (13 handlers)
[GIN-debug] PATCH  /api/orgs/:org_id/secrets/:secret --> go.woodpecker-ci.org/woodpecker/server/api.PatchOrgSecret (13 handlers)
[GIN-debug] DELETE /api/orgs/:org_id/secrets/:secret --> go.woodpecker-ci.org/woodpecker/server/api.DeleteOrgSecret (13 handlers)
[GIN-debug] GET    /api/repos/lookup/*repo_full_name --> go.woodpecker-ci.org/woodpecker/server/api.LookupRepo (15 handlers)
[GIN-debug] POST   /api/repos                --> go.woodpecker-ci.org/woodpecker/server/api.PostRepo (13 handlers)
[GIN-debug] GET    /api/repos                --> go.woodpecker-ci.org/woodpecker/server/api.GetAllRepos (13 handlers)
[GIN-debug] POST   /api/repos/repair         --> go.woodpecker-ci.org/woodpecker/server/api.RepairAllRepos (13 handlers)
[GIN-debug] GET    /api/repos/:repo_id/permissions --> go.woodpecker-ci.org/woodpecker/server/api.GetRepoPermissions (14 handlers)
[GIN-debug] GET    /api/repos/:repo_id       --> go.woodpecker-ci.org/woodpecker/server/api.GetRepo (15 handlers)
[GIN-debug] GET    /api/repos/:repo_id/branches --> go.woodpecker-ci.org/woodpecker/server/api.GetRepoBranches (15 handlers)
[GIN-debug] GET    /api/repos/:repo_id/pull_requests --> go.woodpecker-ci.org/woodpecker/server/api.GetRepoPullRequests (15 handlers)
[GIN-debug] GET    /api/repos/:repo_id/pipelines --> go.woodpecker-ci.org/woodpecker/server/api.GetPipelines (15 handlers)
[GIN-debug] POST   /api/repos/:repo_id/pipelines --> go.woodpecker-ci.org/woodpecker/server/api.CreatePipeline (16 handlers)
[GIN-debug] GET    /api/repos/:repo_id/pipelines/:number --> go.woodpecker-ci.org/woodpecker/server/api.GetPipeline (15 handlers)
[GIN-debug] GET    /api/repos/:repo_id/pipelines/:number/config --> go.woodpecker-ci.org/woodpecker/server/api.GetPipelineConfig (15 handlers)
[GIN-debug] POST   /api/repos/:repo_id/pipelines/:number --> go.woodpecker-ci.org/woodpecker/server/api.PostPipeline (16 handlers)
[GIN-debug] POST   /api/repos/:repo_id/pipelines/:number/cancel --> go.woodpecker-ci.org/woodpecker/server/api.CancelPipeline (16 handlers)
[GIN-debug] POST   /api/repos/:repo_id/pipelines/:number/approve --> go.woodpecker-ci.org/woodpecker/server/api.PostApproval (16 handlers)
[GIN-debug] POST   /api/repos/:repo_id/pipelines/:number/decline --> go.woodpecker-ci.org/woodpecker/server/api.PostDecline (16 handlers)
[GIN-debug] GET    /api/repos/:repo_id/logs/:number/:stepId --> go.woodpecker-ci.org/woodpecker/server/api.GetStepLogs (15 handlers)
[GIN-debug] DELETE /api/repos/:repo_id/logs/:number --> go.woodpecker-ci.org/woodpecker/server/api.DeletePipelineLogs (16 handlers)
[GIN-debug] GET    /api/repos/:repo_id/secrets --> go.woodpecker-ci.org/woodpecker/server/api.GetSecretList (16 handlers)
[GIN-debug] POST   /api/repos/:repo_id/secrets --> go.woodpecker-ci.org/woodpecker/server/api.PostSecret (16 handlers)
[GIN-debug] GET    /api/repos/:repo_id/secrets/:secret --> go.woodpecker-ci.org/woodpecker/server/api.GetSecret (16 handlers)
[GIN-debug] PATCH  /api/repos/:repo_id/secrets/:secret --> go.woodpecker-ci.org/woodpecker/server/api.PatchSecret (16 handlers)
[GIN-debug] DELETE /api/repos/:repo_id/secrets/:secret --> go.woodpecker-ci.org/woodpecker/server/api.DeleteSecret (16 handlers)
[GIN-debug] GET    /api/repos/:repo_id/registry --> go.woodpecker-ci.org/woodpecker/server/api.GetRegistryList (16 handlers)
[GIN-debug] POST   /api/repos/:repo_id/registry --> go.woodpecker-ci.org/woodpecker/server/api.PostRegistry (16 handlers)
[GIN-debug] GET    /api/repos/:repo_id/registry/:registry --> go.woodpecker-ci.org/woodpecker/server/api.GetRegistry (16 handlers)
[GIN-debug] PATCH  /api/repos/:repo_id/registry/:registry --> go.woodpecker-ci.org/woodpecker/server/api.PatchRegistry (16 handlers)
[GIN-debug] DELETE /api/repos/:repo_id/registry/:registry --> go.woodpecker-ci.org/woodpecker/server/api.DeleteRegistry (16 handlers)
[GIN-debug] GET    /api/repos/:repo_id/cron  --> go.woodpecker-ci.org/woodpecker/server/api.GetCronList (16 handlers)
[GIN-debug] POST   /api/repos/:repo_id/cron  --> go.woodpecker-ci.org/woodpecker/server/api.PostCron (16 handlers)
[GIN-debug] GET    /api/repos/:repo_id/cron/:cron --> go.woodpecker-ci.org/woodpecker/server/api.GetCron (16 handlers)
[GIN-debug] POST   /api/repos/:repo_id/cron/:cron --> go.woodpecker-ci.org/woodpecker/server/api.RunCron (16 handlers)
[GIN-debug] PATCH  /api/repos/:repo_id/cron/:cron --> go.woodpecker-ci.org/woodpecker/server/api.PatchCron (16 handlers)
[GIN-debug] DELETE /api/repos/:repo_id/cron/:cron --> go.woodpecker-ci.org/woodpecker/server/api.DeleteCron (16 handlers)
[GIN-debug] PATCH  /api/repos/:repo_id       --> go.woodpecker-ci.org/woodpecker/server/api.PatchRepo (16 handlers)
[GIN-debug] DELETE /api/repos/:repo_id       --> go.woodpecker-ci.org/woodpecker/server/api.DeleteRepo (16 handlers)
[GIN-debug] POST   /api/repos/:repo_id/chown --> go.woodpecker-ci.org/woodpecker/server/api.ChownRepo (16 handlers)
[GIN-debug] POST   /api/repos/:repo_id/repair --> go.woodpecker-ci.org/woodpecker/server/api.RepairRepo (16 handlers)
[GIN-debug] POST   /api/repos/:repo_id/move  --> go.woodpecker-ci.org/woodpecker/server/api.MoveRepo (16 handlers)
[GIN-debug] GET    /api/badges/:repo_id_or_owner/status.svg --> go.woodpecker-ci.org/woodpecker/server/api.GetBadge (12 handlers)
[GIN-debug] GET    /api/badges/:repo_id_or_owner/cc.xml --> go.woodpecker-ci.org/woodpecker/server/api.GetCC (12 handlers)
[GIN-debug] GET    /api/badges/:repo_id_or_owner/:repo_name/status.svg --> go.woodpecker-ci.org/woodpecker/server/api.GetBadge (12 handlers)
[GIN-debug] GET    /api/badges/:repo_id_or_owner/:repo_name/cc.xml --> go.woodpecker-ci.org/woodpecker/server/api.GetCC (12 handlers)
[GIN-debug] GET    /api/pipelines            --> go.woodpecker-ci.org/woodpecker/server/api.GetPipelineQueue (13 handlers)
[GIN-debug] GET    /api/queue/info           --> go.woodpecker-ci.org/woodpecker/server/api.GetQueueInfo (13 handlers)
[GIN-debug] POST   /api/queue/pause          --> go.woodpecker-ci.org/woodpecker/server/api.PauseQueue (13 handlers)
[GIN-debug] POST   /api/queue/resume         --> go.woodpecker-ci.org/woodpecker/server/api.ResumeQueue (13 handlers)
[GIN-debug] GET    /api/queue/norunningpipelines --> go.woodpecker-ci.org/woodpecker/server/api.BlockTilQueueHasRunningItem (13 handlers)
[GIN-debug] GET    /api/secrets              --> go.woodpecker-ci.org/woodpecker/server/api.GetGlobalSecretList (13 handlers)
[GIN-debug] POST   /api/secrets              --> go.woodpecker-ci.org/woodpecker/server/api.PostGlobalSecret (13 handlers)
[GIN-debug] GET    /api/secrets/:secret      --> go.woodpecker-ci.org/woodpecker/server/api.GetGlobalSecret (13 handlers)
[GIN-debug] PATCH  /api/secrets/:secret      --> go.woodpecker-ci.org/woodpecker/server/api.PatchGlobalSecret (13 handlers)
[GIN-debug] DELETE /api/secrets/:secret      --> go.woodpecker-ci.org/woodpecker/server/api.DeleteGlobalSecret (13 handlers)
[GIN-debug] GET    /api/log-level            --> go.woodpecker-ci.org/woodpecker/server/api.LogLevel (13 handlers)
[GIN-debug] POST   /api/log-level            --> go.woodpecker-ci.org/woodpecker/server/api.SetLogLevel (13 handlers)
[GIN-debug] GET    /api/agents               --> go.woodpecker-ci.org/woodpecker/server/api.GetAgents (13 handlers)
[GIN-debug] POST   /api/agents               --> go.woodpecker-ci.org/woodpecker/server/api.PostAgent (13 handlers)
[GIN-debug] GET    /api/agents/:agent        --> go.woodpecker-ci.org/woodpecker/server/api.GetAgent (13 handlers)
[GIN-debug] GET    /api/agents/:agent/tasks  --> go.woodpecker-ci.org/woodpecker/server/api.GetAgentTasks (13 handlers)
[GIN-debug] PATCH  /api/agents/:agent        --> go.woodpecker-ci.org/woodpecker/server/api.PatchAgent (13 handlers)
[GIN-debug] DELETE /api/agents/:agent        --> go.woodpecker-ci.org/woodpecker/server/api.DeleteAgent (13 handlers)
[GIN-debug] GET    /api/signature/public-key --> go.woodpecker-ci.org/woodpecker/server/api.GetSignaturePublicKey (13 handlers)
[GIN-debug] POST   /api/hook                 --> go.woodpecker-ci.org/woodpecker/server/api.PostHook (12 handlers)
[GIN-debug] GET    /api/stream/logs/:repo_id/:pipeline/:stepId --> go.woodpecker-ci.org/woodpecker/server/api.LogStreamSSE (15 handlers)
[GIN-debug] GET    /api/stream/events        --> go.woodpecker-ci.org/woodpecker/server/api.EventStreamSSE (12 handlers)
[GIN-debug] GET    /api/debug/pprof/         --> go.woodpecker-ci.org/woodpecker/server/router.apiRoutes.IndexHandler.func27 (13 handlers)
[GIN-debug] GET    /api/debug/pprof/heap     --> go.woodpecker-ci.org/woodpecker/server/router.apiRoutes.HeapHandler.func28 (13 handlers)
[GIN-debug] GET    /api/debug/pprof/goroutine --> go.woodpecker-ci.org/woodpecker/server/router.apiRoutes.GoroutineHandler.func29 (13 handlers)
[GIN-debug] GET    /api/debug/pprof/block    --> go.woodpecker-ci.org/woodpecker/server/router.apiRoutes.BlockHandler.func30 (13 handlers)
[GIN-debug] GET    /api/debug/pprof/threadcreate --> go.woodpecker-ci.org/woodpecker/server/router.apiRoutes.ThreadCreateHandler.func31 (13 handlers)
[GIN-debug] GET    /api/debug/pprof/cmdline  --> go.woodpecker-ci.org/woodpecker/server/router.apiRoutes.CmdlineHandler.func32 (13 handlers)
[GIN-debug] GET    /api/debug/pprof/profile  --> go.woodpecker-ci.org/woodpecker/server/router.apiRoutes.ProfileHandler.func33 (13 handlers)
[GIN-debug] GET    /api/debug/pprof/symbol   --> go.woodpecker-ci.org/woodpecker/server/router.apiRoutes.SymbolHandler.func34 (13 handlers)
[GIN-debug] POST   /api/debug/pprof/symbol   --> go.woodpecker-ci.org/woodpecker/server/router.apiRoutes.SymbolHandler.func35 (13 handlers)
[GIN-debug] GET    /api/debug/pprof/trace    --> go.woodpecker-ci.org/woodpecker/server/router.apiRoutes.TraceHandler.func36 (13 handlers)
[GIN-debug] GET    /swagger/*any             --> github.com/swaggo/gin-swagger.CustomWrapHandler.func1 (12 handlers)
11:31AM INF woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/server/server.go:264 > Starting Woodpecker server with version '2.0.0-rc.0'
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /metrics                  --> main.run.func10.WrapH.func1 (1 handlers)
11:31AM DBG woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59 > ip=xxx.xxx.xxx.xxx latency=2.591695 method=GET path=/api/queue/info status=200 user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
11:31AM DBG woodpecker/src/github.com/woodpecker-ci/woodpecker/server/grpc/rpc.go:59 > agent connected: woodpecker-agent-68fcb66f8-ftvww: polling
11:31AM DBG woodpecker/src/github.com/woodpecker-ci/woodpecker/server/grpc/rpc.go:59 > agent connected: woodpecker-agent-68fcb66f8-mjnbr: polling
11:31AM DBG woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59 > ip=xxx.xxx.xxx.xxx latency=13.625309 method=GET path=/api/queue/info status=200 user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
11:31AM DBG woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59 > ip=xxx.xxx.xxx.xxx latency=3.291054 method=GET path=/api/queue/info status=200 user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
11:31AM DBG woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59 > ip=xxx.xxx.xxx.xxx latency=3.23825 method=GET path=/api/queue/info status=200 user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
11:31AM DBG woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59 > ip=xxx.xxx.xxx.xxx latency=2.459224 method=POST path=/api/secrets status=400 user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
11:31AM DBG woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59 > ip=xxx.xxx.xxx.xxx latency=2.047813 method=GET path=/api/queue/info status=200 user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"

I just trimmed the kube-probe lines and obfuscated my IP

Probably similar to https://github.com/woodpecker-ci/woodpecker/pull/2687/files

I just tested it in {"source":"https://github.com/woodpecker-ci/woodpecker","version":"next-249b8fedd9"}
It seemed like it still failed.
However, that was likely because Woodpecker should be better at ensuring that the right version of the spa is running.
Anyway. I can create secrets with the current next version.
When you test, make sure the newest javascript code is loaded...

repo: woodpecker-ci/woodpecker


text:
Use --max-connect and --max-time

Looping over a list where one of the domains is not responsive/other will result in the script hanging due to curl not using a timeout.
You can use --max-connect or --max-time with a timeout value. maybe pass the value as a flag?

Good idea! It looks like --max-time is probably what we want, since --connect-timeout will only handle the connection phase (and we test that with nc anyways).

maybe pass the value as a flag?

For the time being, I'd like to keep twa's command-line surface pretty minimal. I'm thinking an that an environment variable (TWA_TIMEOUT?) + a sensible default (5 seconds?) would be a good fit here.
I'll probably wrap this whole business in a fetch function or something similar, so that we apply all of our curl options consistently.

Addressed in b644dddeddd0ed74d874116848dfc9a968cb7396.

source: gharchive/issue

authors: dolevf woodruffw

repo: woodruffw/twa

license: MIT

license_type: permissive

license_source: github-api


text:
Use logical and to avoid TypeError when props is undefined

Adjusts MDXContent function output to allow undefined props as a parameter without throwing a TypeError.
Closes #82

Sweet, thanks for working on this!
I think it would be better to solve it in the argument list: MDXContent(props = {}).
Reasoning is that it’s documented that props is an object in one example of the readme: https://github.com/wooorm/xdm#mdx-content.
Also, could you update the example in the readme following “The actual output of running node example.js is:”?
There are also two errors in the tests on CI. the babel one looks a bit flakey (I’ll check if that’s still the case), but the error message might need to be changed?

ps. run npm test locally to test your changes! And you can use ASTExplorer to figure out what the AST is for certain JS code

Rebasing your PR against main should solve the weird babel error

The other error was related due to a change in Node 16.9. Updates the tests to fix that as well.

@wooorm Sounds like a plan. I'll adjust the fix to provide a default value for the props parameter and work on the test errors.

Thanks, released!

source: gharchive/pull-request

authors: mike-mcdonald wooorm

repo: wooorm/xdm


text:
New sensor type for EV charging?

Would it make sense to allow users to select a Boleen sensor instead of the sensor.xxx during the setup of EV Chargers?
This would make it easier to create a virtual sensor, allowing users to, for example, "turn on" their electric vehicle charger, and the integration would automatically ensure that the battery doesn't get drained.
It might also be possible to implement this in a simpler way, but many users today have Clever chargers, where unfortunately, it's not possible to access the charger status.

I'm not entirely sure what you mean. Isn't this what the EV Charger Status Sensor input sensor does?
What you ask for is that you can only add a sensor right now. What you want to do is also to be able to add an input_boolean from a helper/template

What you ask for is that you can only add a sensor right now. What you want to do is also to be able to add an input_boolean from a helper/template

Yes, correct - That would make it much easier for us whit an charger who can't easily be implemented in HA.
Sorry if I wasent clear.

authors: Extati woopstar

repo: woopstar/hsem


text:
gs-dt popup needs to be a separate element.

When inside a table you can't have a z-index applied to it that is greater than it's surroundings. gs-combo solves this by making the popup a separate element that is a direct child of the body, allowing a higher z-index to be applied.

Fixed in next release.

repo: workflowproducts/envelope

license_source: bigquery


text:
Project Feedback!

 Congrats on completing the third project!
I have provided a detailed Project 3 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.

 Congrats on completing the fourth project!
I have provided a detailed Project 4 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.
/cc @codepathreview

repo: workla/SimpleTweet


text:
🛑 Download-Server is down

In 0786448, Download-Server (https://dl.worldofplayers.de/wog/gothic1/sonstiges/GothicFps-108.zip) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Download-Server is back up in 5742945 after 21 minutes.

repo: worldofplayers/status


text:
🛑 WoSC Files is down

In b7ba47e, WoSC Files (https://files.worldofsteelcraft.tk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WoSC Files is back up in 8da2439.

repo: worldofsteelcraft/status


text:
Chrome not handling empty chars correctly

One of the recent Chrome updates breaks how null chars are displayed (you can see empty square chars in the webclient).
Works fine in IE, EDGE, etc.

Resolved by changing the character sent by the server to ASCII 32. Fixed in 0.6.6

Closing - 0.6.6 published.

repo: wowpin/dumserver


text:
Not allowed more then three buttons in file messages - When Button count is 3 already

WA-JS Version
3.10.2-alpha.0
WhatsApp Version
2.3000.1016983418
Browser Version
Chrome 130
Operation System
Window 11
Steps to reproduce

WPP.chat.sendFileMessage('XXXXXXXXXX@c.us',data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAADMElEQVR4nOzVwQnAIBQFQYXff81RUkQCOyDj1YOPnbXWPmeTRef+/3O/OyBjzh3CD95BfqICMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMK0CMO0TAAD//2Anhf4QtqobAAAAAElFTkSuQmCC,                          {                              type: 'image',                              caption: test,                              filename: Logo80.png,                              createChat:true,                              useInteractiveMessage: true,                              buttons:                                   [                                        {text: 'abc','url': 'https://www.google.com/'} ,                                       {text: 'now','url': 'https://www.google.com/'} ,                                       {text: 'rec','url': 'https://www.google.com/'}                                   ]                                  ,title: join                                  ,footer:demo text});
What is expected?
Should Send button message
What is actually happening?
Showing error  Not allowed more then three buttons in file messages
Any additional comments?
No response

The error message is incorrect.
Unfortunately, with files, you can only place 2 buttons to ensure compatibility across all devices.

repo: wppconnect-team/wa-js


text:
Latest version

I can see that all the versions available in versions.json are expiring by the end of this month.
What is the recommended action?
Thank you!

Hi, that already fixed

authors: icleitoncosta miguelpieras

repo: wppconnect-team/wa-version


text:
Tidying up/datafile geospatial indexing

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your master!
[ ] Make sure you are making a pull request against the develop branch (left side). Also you should start your branch off our develop.
[ ] Check the commit's or even all commits' message styles matches our requested structure.
[ ] Check your code additions will fail neither code linting checks nor unit test.

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

Unfinished, closing but keeping it for future reference.

repo: wri/wri-odp


text:
Update fabric k8s version to 4.3.0

Update fabric k8s version to 4.3.0

Codecov Report

Merging #456 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #456   +/-   ##
=======================================
  Coverage   82.29%   82.29%
=======================================
  Files          29       29
  Lines         864      864
  Branches       65       65
=======================================
  Hits          711      711
  Misses        109      109
  Partials       44       44

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e9e3bcd...c2ee035. Read the comment docs.


text:
[Messaging with Kafka][Windows] Message does not get sent to the topic partition in Kafka

Description:
Messages do not get sent to the Kafka Partition and hence are not consumed by the ballerina consumers.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:

Using the Ballerina Integrator dashboard, create the 'Messaging with Kafka' template
Run the Zookeeper and Kafka Server
Create a topic
Build and run the service
Send a payload to the product_admin_service

The payload is sent to the product_admin_service but the consumer doesnt pick the message from the partition
Related Issues:

Tested on Mac. Works perfectly fine. Seems to be exclusive to Windows.
This could be a problem with the way partitions are made in the Windows instance of Kafka or could be an intermittent issue.
TODO : Test normal application of Kafka on Windows, and then with partitions.

Tested on windows. Partitions are working as expected. Scenario works fine.
However, the scenario works when using with Postman. The cURL command does not work on the Windows instance. The payload is sent to the service, and the service confirms that it has recieved the payload, but nothing happens after that.
Expected
2019-12-16 11:22:46,324 INFO  [ibaqu/product_management_system] - ProductManagementService : Received Payload  2019-12-16 11:22:46,324 INFO  [ibaqu/product_management_system] - ProductManagementService : Sending message to Partition 0  2019-12-16 11:22:46,329 INFO  [mohamedaquibzulfikar/product_management_system] - Fruits Consumer Service : Product Received  2019-12-16 11:22:46,330 INFO  [ibaqu/product_management_system] - Name : Apple  2019-12-16 11:22:46,331 INFO  [ibaqu/product_management_system] - Price : 100.00
Recieved
2019-12-16 11:22:46,324 INFO  [ibaqu/product_management_system] - ProductManagementService : Received Payload

Debugged and found the issue to be the cURL command provided in the documentation. The payload cannot be used to extract the necessary information to make it work and as a result the service fails.
reqPayload.Product.toString() fails with an Error on JSON access: JSON value is not a mapping. However, this error does not show up as a runtime error while deploying the service since the value is directly assigned to a payload


text:
Add  database integration guides

Purpose
Add guides for

querying a mysql database
import a csv file to MongoDB

This PR is updated in https://github.com/wso2/ballerina-integrator/pull/350


text:
Create a Module for Producing a Hex String

Purpose
https://github.com/wso2-enterprise/choreo/issues/28451

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant SachithKasthuriarachchi


text:
Update business rules related documentation

Purpose
Update business rules related documentation
Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

@RAVEENSR , I noticed that you have sent a PR from your master to 3.0.0. Was that intentional? Also please send this fix to master as well if it is applicable to the 3.1.0 docs

@RAVEENSR , I noticed that you have sent a PR from your master to 3.0.0. Was that intentional? Also please send this fix to master as well if it is applicable to the 3.1.0 docs

@Mariangela, My master branch refers to docs-apim 3.0.0 branch :)

@Mariangela Please find the requested PR for master branch ->
https://github.com/wso2/docs-apim/pull/908

authors: Mariangela RAVEENSR


text:
Bump Dependencies #361

Bumps dependencies for ${REPOSITORY}.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant jenkins-is-staging


text:
Update trust store along with major kernel releases

Describe your problem(s)

This is done


text:
An Edit button appears when refreshing the API Definition page of an API Product

Description:
An Edit button appears when refreshing the API Definition page of an API Product
Steps to reproduce:

Create an API Product.
Go to the API Definition page. You can see that there is no edit option (which is expected)

Now refresh the page. An edit button will appear.

You can click on it and edit the definition. But when you click on "Update Content" button, it will keep spinning forever.

The solution is to stop displaying the edit button after a page refresh.

Hi @wasuradananjith ,
The import definition button also appears after the refresh. Shall we remove that also?
Thanks,
Tharani

Hi @wasuradananjith ,
The import definition button also appears after the refresh. Shall we remove that also?
Thanks, Tharani

Hi @Tharanidk,
+1. It will be more consistent then.
Thanks,
Wasura Wattearachchi

authors: Tharanidk wasuradananjith


text:
Threat protection policy API

Threat protection policy API

doc link: https://docs.wso2.com/display/AM300/Configuring+Threat+Protection+for+the+Gateway


text:
Observed an error when restarting the apim server after sometime from a load test done, while connected to apim-analytics

Description:
Observed an error when restarting the apim server after 5-10mins from a simple load test done.
Suggested Labels:
APIM-2.2.0
Type/bug
Priority/high
Severity/Major
Suggested Assignees:

Affected Product Version:
apim-2.1.0-update4
apim-analytics-2.1.0-update3
OS, DB, other environment details and versions:
apim-analytics configured
Steps to reproduce:

Did a load test to access an api (with 3000 threads)
Finish the load completly
Kept some time to verify stats etc
Now I restarted the APIM server only => observed below exeption in carbon log

TID: [-1234] [] [2018-01-05 14:16:07,238]  INFO {org.wso2.andes.server.handler.ChannelOpenHandler} -  Connecting to: carbon {org.wso2.andes.server.handler.ChannelOpenHandler} TID: [-1234] [] [2018-01-05 14:16:07,509]  INFO {org.wso2.andes.kernel.AndesChannel} -  Channel created (ID: 10.100.7.104:40436) {org.wso2.andes.kernel.AndesChannel} TID: [-1] [] [2018-01-05 14:16:07,518]  WARN {org.wso2.carbon.apimgt.jms.listener.utils.JMSUtils} -  Cannot locate destination : throttleData {org.wso2.carbon.apimgt.jms.listener.utils.JMSUtils} TID: [-1] [] [2018-01-05 14:16:07,654] ERROR {org.wso2.andes.server.protocol.AMQProtocolEngine} -  Unexpected exception while processing frame.  Closing connection. {org.wso2.andes.server.protocol.AMQProtocolEngine} java.util.ConcurrentModificationException 	at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719) 	at java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:742) 	at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.putChild(HandlerManager.java:2676) 	at org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.putChild(HandlerLifecycleManager.java:476) 	at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:694) 	at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:591) 	at org.wso2.carbon.registry.core.session.UserRegistry.putInternal(UserRegistry.java:828) 	at org.wso2.carbon.registry.core.session.UserRegistry.access$1000(UserRegistry.java:61) 	at org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:804) 	at org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:801) 	at java.security.AccessController.doPrivileged(Native Method) 	at org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:801) 	at org.wso2.carbon.andes.commons.registry.RegistryClient.createQueue(RegistryClient.java:104) 	at org.wso2.carbon.andes.authorization.andes.AndesAuthorizationHandler.registerAndAuthorizeQueue(AndesAuthorizationHandler.java:727) 	at org.wso2.carbon.andes.authorization.andes.AndesAuthorizationHandler.handleCreateQueue(AndesAuthorizationHandler.java:164) 	at org.wso2.carbon.andes.authorization.service.andes.AndesAuthorizationPlugin.authorise(AndesAuthorizationPlugin.java:148) 	at org.wso2.andes.server.security.SecurityManager$9.allowed(SecurityManager.java:361) 	at org.wso2.andes.server.security.SecurityManager.checkAllPlugins(SecurityManager.java:238) 	at org.wso2.andes.server.security.SecurityManager.authoriseCreateQueue(SecurityManager.java:357) 	at org.wso2.andes.server.queue.AMQQueueFactory.createAMQQueueImpl(AMQQueueFactory.java:177) 	at org.wso2.andes.server.queue.AMQQueueFactory.createAMQQueueImpl(AMQQueueFactory.java:138) 	at org.wso2.andes.server.handler.QueueDeclareHandler.createQueue(QueueDeclareHandler.java:209) 	at org.wso2.andes.server.handler.QueueDeclareHandler.methodReceived(QueueDeclareHandler.java:96) 	at org.wso2.andes.server.handler.ServerMethodDispatcherImpl.dispatchQueueDeclare(ServerMethodDispatcherImpl.java:600) 	at org.wso2.andes.framing.amqp_0_91.QueueDeclareBodyImpl.execute(QueueDeclareBodyImpl.java:187) 	at org.wso2.andes.server.state.AMQStateManager.methodReceived(AMQStateManager.java:169) 	at org.wso2.andes.server.protocol.AMQProtocolEngine.methodFrameReceived(AMQProtocolEngine.java:388) 	at org.wso2.andes.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:96) 	at org.wso2.andes.server.protocol.AMQProtocolEngine.frameReceived(AMQProtocolEngine.java:333) 	at org.wso2.andes.server.protocol.AMQProtocolEngine.dataBlockReceived(AMQProtocolEngine.java:282) 	at org.wso2.andes.server.protocol.AMQProtocolEngine$1.run(AMQProtocolEngine.java:251) 	at org.wso2.andes.pool.Job.processAll(Job.java:111) 	at org.wso2.andes.pool.Job.run(Job.java:158) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 	at java.lang.Thread.run(Thread.java:748) TID: [-1] [] [2018-01-05 14:16:07,670] ERROR {org.wso2.andes.client.state.AMQStateManager} -  No Waiters for error saving as last error:Exception thrown against AMQConnection: Host: 172.18.0.1 Port: 5672 Virtual Host: carbon Client ID: clientid Active session count: 1: org.wso2.andes.AMQDisconnectedException: Server closed connection and reconnection not permitted. {org.wso2.andes.client.state.AMQStateManager} TID: [-1] [] [2018-01-05 14:16:07,671] ERROR {org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager} -  Error creating JMS consumer for Siddhi-JMS-Consumer {org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager} javax.jms.JMSException: Error registering consumer: org.wso2.andes.AMQException: Woken up due to class javax.jms.JMSException 	at org.wso2.andes.client.AMQSession$6.execute(AMQSession.java:2143) 	at org.wso2.andes.client.AMQSession$6.execute(AMQSession.java:2086) 	at org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:333) 	at org.wso2.andes.client.AMQConnection$3.run(AMQConnection.java:655) 	at java.security.AccessController.doPrivileged(Native Method) 	at org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:652) 	at org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102) 	at org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2084) 	at org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1072) 	at org.wso2.carbon.apimgt.jms.listener.utils.JMSUtils.createConsumer(JMSUtils.java:478) 	at org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager$MessageListenerTask.createConsumer(JMSTaskManager.java:998) 	at org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager$MessageListenerTask.getMessageConsumer(JMSTaskManager.java:853) 	at org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager$MessageListenerTask.receiveMessage(JMSTaskManager.java:600) 	at org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager$MessageListenerTask.run(JMSTaskManager.java:521) 	at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 	at java.lang.Thread.run(Thread.java:748) Caused by: org.wso2.andes.AMQException: Woken up due to class javax.jms.JMSException 	at org.wso2.andes.client.util.BlockingWaiter.block(BlockingWaiter.java:207) 	at org.wso2.andes.client.protocol.BlockingMethodFrameListener.blockForFrame(BlockingMethodFrameListener.java:123) 	at org.wso2.andes.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHandler.java:655) 	at org.wso2.andes.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:676) 	at org.wso2.andes.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:670) 	at org.wso2.andes.client.AMQSession_0_8.sendQueueDeclare(AMQSession_0_8.java:374) 	at org.wso2.andes.client.AMQSession$12.execute(AMQSession.java:2810) 	at org.wso2.andes.client.AMQSession$12.execute(AMQSession.java:2801) 	at org.wso2.andes.client.failover.FailoverNoopSupport.execute(FailoverNoopSupport.java:67) 	at org.wso2.andes.client.AMQSession.declareQueue(AMQSession.java:2799) 	at org.wso2.andes.client.AMQSession.registerConsumer(AMQSession.java:2944) 	at org.wso2.andes.client.AMQSession.access$800(AMQSession.java:112) 	at org.wso2.andes.client.AMQSession$6.execute(AMQSession.java:2120) 	... 17 more Caused by: javax.jms.JMSException: Exception thrown against AMQConnection: Host: 172.18.0.1 Port: 5672 Virtual Host: carbon Client ID: clientid Active session count: 1: org.wso2.andes.AMQDisconnectedException: Server closed connection and reconnection not permitted. 	at org.wso2.andes.client.AMQConnection.exceptionReceived(AMQConnection.java:1315) 	at org.wso2.andes.client.protocol.AMQProtocolHandler.closed(AMQProtocolHandler.java:260) 	at org.wso2.andes.transport.network.mina.MinaNetworkHandler.sessionClosed(MinaNetworkHandler.java:138) 	at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.sessionClosed(AbstractIoFilterChain.java:550) 	at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(AbstractIoFilterChain.java:269) 	at org.apache.mina.common.support.AbstractIoFilterChain.access$800(AbstractIoFilterChain.java:53) 	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed(AbstractIoFilterChain.java:633) 	at org.apache.mina.common.IoFilterAdapter.sessionClosed(IoFilterAdapter.java:65) 	at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(AbstractIoFilterChain.java:269) 	at org.apache.mina.common.support.AbstractIoFilterChain.access$800(AbstractIoFilterChain.java:53) 	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed(AbstractIoFilterChain.java:633) 	at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:230) 	at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) 	... 1 more Caused by: org.wso2.andes.AMQDisconnectedException: Server closed connection and reconnection not permitted. 	... 16 more TID: [-1] [] [2018-01-05 14:16:07,674]  INFO {org.wso2.andes.server.AMQChannel} -  No consumers to unsubscribe on channel [/10.100.7.104:40436(admin):1] {org.wso2.andes.server.AMQChannel} TID: [-1] [] [2018-01-05 14:16:07,671] ERROR {org.wso2.carbon.apimgt.jms.listener.utils.JMSTaskManager} -  JMS Connection failed : Exception thrown against AMQConnection: Host: 172.18.0.1 Port: 5672 Virtual Host: carbon Client ID: clientid

Can you please provide more details on this? (Eg : Database used, are there any errors in the consoles [both APIM/Analytic servers] when invoking APIs). Sharing the jmeter script would be ideal (to get the details about the load test such as ramp up period). Reducing the priority since this was not observed in a normal setup.

Since requested information is not provided we will close this ticket. You could try out the latest APIM 2.6.0 as well and see whether this issue is happening.

authors: chamilaadhi chamindias kavithasub


text:
Product duplicate context

labels
3.0.0 rc3
Description
Creation of products with duplicate context is allowed.
A similar error will be logged,
Caused by: org.apache.axis2.AxisFault: Error while publishing API to the Gateway. No API exists by the name: prod--jkhkjh:v1.0.0 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) ~[axis2_1.6.1.wso2v38.jar:?] 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:382) ~[axis2_1.6.1.wso2v38.jar:?] 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:457) ~[axis2_1.6.1.wso2v38.jar:?] 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228) ~[axis2_1.6.1.wso2v38.jar:?] 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) ~[axis2_1.6.1.wso2v38.jar:?] 	at org.wso2.carbon.apimgt.gateway.stub.APIGatewayAdminStub.addApiForTenant(APIGatewayAdminStub.java:6301) ~[org.wso2.carbon.apimgt.gateway.stub_6.5.349.jar:?] 	at org.wso2.carbon.apimgt.impl.utils.APIGatewayAdminClient.addApi_aroundBody2(APIGatewayAdminClient.java:97) ~[org.wso2.carbon.apimgt.impl_6.5.349.jar:?] 	... 62 more [2019-10-25 12:51:22,577] ERROR - ApiProductsApiServiceImpl Error while adding new API Product : amali@amali.com-jkhkjh - null

Seems this is reproduced for tenant user.

authors: AmaliMatharaarachchi HiranyaKavishani


text:
[EMM-1098] [EMM Cluster] Hazelcast Task issue in the worker node after the startup

After sometime of the startup of the server, the following exception can be seen.                                                                  [2015-12-15 14:33:08,985] ERROR {com.hazelcast.spi.impl.eventservice.impl.EventServiceImpl} - [192.168.48.88]:4100 [wso2.emm.domain] [3.5.2] hz.wso2.emm.domain.instance.event-2 caught an exception                     while                     processing task:com.hazelcast.spi.impl.eventservice.impl.LocalEventDispatcher@67a82eda java.lang.NullPointerException at org.wso2.carbon.caching.impl.CacheImpl$MapEntryListenerImpl.entryUpdated(CacheImpl.java:1115) at org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap$1.entryUpdated(HazelcastDistributedMapProvider.java:88) at com.hazelcast.map.impl.MapListenerAdaptors$4$1.onEvent(MapListenerAdaptors.java:125) at com.hazelcast.map.impl.InternalMapListenerAdapter.onEvent(InternalMapListenerAdapter.java:51) at com.hazelcast.map.impl.MapEventPublishingService.callListener(MapEventPublishingService.java:90) at com.hazelcast.map.impl.MapEventPublishingService.dispatchEntryEventData(MapEventPublishingService.java:102) at com.hazelcast.map.impl.MapEventPublishingService.dispatchEvent(MapEventPublishingService.java:46) at com.hazelcast.map.impl.MapEventPublishingService.dispatchEvent(MapEventPublishingService.java:33) at com.hazelcast.map.impl.MapService.dispatchEvent(MapService.java:91) at com.hazelcast.map.impl.MapService.dispatchEvent(MapService.java:61) at com.hazelcast.spi.impl.eventservice.impl.LocalEventDispatcher.run(LocalEventDispatcher.java:63) at com.hazelcast.util.executor.StripedExecutor$Worker.process(StripedExecutor.java:190) at com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:174)                                                      Reference: https://wso2.org/jira/browse/EMM-1098

Use of Hazelcast is deprecated in the IoT  3.1.0. Hence resolving

authors: geethkokila hasuniea


text:
[APPM-1626] [Ms SQL] Error occurred while creating/searching business owners

  ERROR - AppMDAO Failed to retrieve business owner for the search value %% com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 'LIMIT'. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216) at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:404) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350) at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696) at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:285) at org.wso2.carbon.appmgt.impl.dao.AppMDAO.searchBusinessOwners(AppMDAO.java:484) at org.wso2.carbon.appmgt.impl.APIProviderImpl.searchBusinessOwners(APIProviderImpl.java:164) at org.wso2.carbon.appmgt.impl.UserAwareAPIProvider.searchBusinessOwners(UserAwareAPIProvider.java:36) at org.wso2.carbon.appmgt.hostobjects.APIProviderHostObject.jsFunction_searchBusinessOwners(APIProviderHostObject.java:461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.jaggeryjs.rhino.admin_dashboard.modules.c1._c_searchBusinessOwners_4(/admin-dashboard/modules/businessOwners-api.js:60) at org.jaggeryjs.rhino.admin_dashboard.modules.c1.call(/admin-dashboard/modules/businessOwners-api.js) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.jaggeryjs.rhino.admin_dashboard.apis.v_1.c1._c_script_0(/admin-dashboard/apis/v1/businessowners.jag:42) at org.jaggeryjs.rhino.admin_dashboard.apis.v_1.c1.call(/admin-dashboard/apis/v1/businessowners.jag) at org.jaggeryjs.rhino.admin_dashboard.apis.v_1.c1.exec(/admin-dashboard/apis/v1/businessowners.jag) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) at org.jaggeryjs.jaggery.core.manager.WebAppManager.executeScript(WebAppManager.java:309) at org.jaggeryjs.jaggery.core.manager.WebAppManager.include(WebAppManager.java:149) at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) at org.jaggeryjs.rhino.admin_dashboard.controllers.c0._c_script_0(/admin-dashboard/controllers/apis-router.jag:42) at org.jaggeryjs.rhino.admin_dashboard.controllers.c0.call(/admin-dashboard/controllers/apis-router.jag) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) at org.jaggeryjs.rhino.admin_dashboard.controllers.c0.call(/admin-dashboard/controllers/apis-router.jag) at org.jaggeryjs.rhino.admin_dashboard.controllers.c0.exec(/admin-dashboard/controllers/apis-router.jag) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:588) at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:508) at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:377) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337) at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99) at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57) at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1749) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1708) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) [2016-12-14 18:38:04,543] ERROR - WebAppManager org.mozilla.javascript.WrappedException: Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped org.wso2.carbon.appmgt.api.AppManagementException: Failed to retrieve business owner for the search value %% (/admin-dashboard/modules/businessOwners-api.js#60) (/admin-dashboard/controllers/apis-router.jag#42) org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped org.wso2.carbon.appmgt.api.AppManagementException: Failed to retrieve business owner for the search value %% (/admin-dashboard/modules/businessOwners-api.js#60) (/admin-dashboard/controllers/apis-router.jag#42) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:588) at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:508) at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:377) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337) at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99) at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57) at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1749) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1708) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.mozilla.javascript.WrappedException: Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped org.wso2.carbon.appmgt.api.AppManagementException: Failed to retrieve business owner for the search value %% (/admin-dashboard/modules/businessOwners-api.js#60) (/admin-dashboard/controllers/apis-router.jag#42) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) at org.jaggeryjs.rhino.admin_dashboard.controllers.c0._c_script_0(/admin-dashboard/controllers/apis-router.jag:42) at org.jaggeryjs.rhino.admin_dashboard.controllers.c0.call(/admin-dashboard/controllers/apis-router.jag) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) at org.jaggeryjs.rhino.admin_dashboard.controllers.c0.call(/admin-dashboard/controllers/apis-router.jag) at org.jaggeryjs.rhino.admin_dashboard.controllers.c0.exec(/admin-dashboard/controllers/apis-router.jag) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) ... 44 more Caused by: org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped org.wso2.carbon.appmgt.api.AppManagementException: Failed to retrieve business owner for the search value %% (/admin-dashboard/modules/businessOwners-api.js#60) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) at org.jaggeryjs.jaggery.core.manager.WebAppManager.executeScript(WebAppManager.java:309) at org.jaggeryjs.jaggery.core.manager.WebAppManager.include(WebAppManager.java:149) at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) ... 53 more Caused by: org.mozilla.javascript.WrappedException: Wrapped org.wso2.carbon.appmgt.api.AppManagementException: Failed to retrieve business owner for the search value %% (/admin-dashboard/modules/businessOwners-api.js#60) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.jaggeryjs.rhino.admin_dashboard.modules.c1._c_searchBusinessOwners_4(/admin-dashboard/modules/businessOwners-api.js:60) at org.jaggeryjs.rhino.admin_dashboard.modules.c1.call(/admin-dashboard/modules/businessOwners-api.js) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.jaggeryjs.rhino.admin_dashboard.apis.v_1.c1._c_script_0(/admin-dashboard/apis/v1/businessowners.jag:42) at org.jaggeryjs.rhino.admin_dashboard.apis.v_1.c1.call(/admin-dashboard/apis/v1/businessowners.jag) at org.jaggeryjs.rhino.admin_dashboard.apis.v_1.c1.exec(/admin-dashboard/apis/v1/businessowners.jag) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) ... 60 more Caused by: org.wso2.carbon.appmgt.api.AppManagementException: Failed to retrieve business owner for the search value %% at org.wso2.carbon.appmgt.impl.dao.AppMDAO.handleException(AppMDAO.java:4974) at org.wso2.carbon.appmgt.impl.dao.AppMDAO.searchBusinessOwners(AppMDAO.java:498) at org.wso2.carbon.appmgt.impl.APIProviderImpl.searchBusinessOwners(APIProviderImpl.java:164) at org.wso2.carbon.appmgt.impl.UserAwareAPIProvider.searchBusinessOwners(UserAwareAPIProvider.java:36) at org.wso2.carbon.appmgt.hostobjects.APIProviderHostObject.jsFunction_searchBusinessOwners(APIProviderHostObject.java:461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) ... 69 more Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 'LIMIT'. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216) at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:404) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350) at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696) at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:285) at org.wso2.carbon.appmgt.impl.dao.AppMDAO.searchBusinessOwners(AppMDAO.java:484) ... 77 more  Reference: https://wso2.org/jira/browse/APPM-1626

We don't have admin-dashboard in IoT server, and hence this usecase is invalid for IoT server. Therefore closing this issue.

authors: madhawap sinthuja


text:
Handle migration impacts of  sign ID Token before encryption

Describe the issue:
Need to handle the migration introduced with [1]
[1] https://github.com/wso2/product-is/issues/11901

Added to docs with https://github.com/wso2/docs-is/pull/2991, https://github.com/wso2/docs-is/pull/2997

authors: ashendes nilasini


text:
Duplicated error codes are being used in self registration and account recovery flows

Describe the issue:
Some of the error codes that are being used in the following flows are duplicated and not documented properly. This needs to be checked throughly and remove any duplication in the error codes and use unique error code for each and every error scenarios.

Self registration
Account recovery

E.g:

https://github.com/wso2-extensions/identity-governance/blob/8f43fb27899720602366a3751daf6d53641e6c8e/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/IdentityRecoveryConstants.java#L198
https://github.com/wso2-support/carbon-identity-framework/blob/bb879333ef49fda8b3cdffe93820bfd044cf94e2/components/identity-core/org.wso2.carbon.identity.core/src/main/java/org/wso2/carbon/identity/core/util/IdentityCoreConstants.java#L72

How to reproduce:

Expected behavior:
The same error codes with different error messages should not be there.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [6.2.0-alpha4]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:
Doc Issue - https://github.com/wso2/product-is/issues/12354
Suggested labels:

The error code 18001 has been employed with distinct descriptions in different parts of the codebase:
In the wso2-identity governance/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/IdentityRecoveryConstants.java file, the description associated with the error code is invalid code.
Conversely, in the wso2-carbon-identity-framework/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/util/UserIdentityManagementUtil.java#L720 file, the description linked to the same error code is No user account found for user.

While attempting to resend an email within the self-registration process, I purposefully provided an incorrect password during the email configuration. Despite this misconfiguration, the user interface showed the message "Email sent successfully." However, upon checking the terminal logs, the following error was recorded:
ERROR {org.wso2.carbon.event.output.adapter.email.EmailEventAdapter} - Event dropped at Output Adapter 'EmailPublisher' for tenant id '-1234', Error in message format, 535-5.7.8 Username and Password not accepted.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

authors: Kanapriya PasinduYeshan isharak


text:
[Doc] All the user store manager properties should specify the mandatory fields

Type: Improvement
Priority: High
Severity: Minor
Release: wso2is-5.4.0-update1
All the user stores managers under this page have a table which describes the properties and their descriptions. Need another column specifying if this field is mandatory or not. This is really helpful when using admin services as we have to manual configure most of these properties
https://docs.wso2.com/display/IS540/Configuring+User+Stores

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.

authors: dilinisg isharak


text:
Too many cluster synchronizations messages

Environment
IS 2 node cluster setup fronted by Nginx
Mysql 5.6
JDK 1.8
OS - Ubuntu-14.04-LTS
Browser Chrome 58.0.3029.96
Observations
Observed too many cluster synchronization messages in the carbon logs within few seconds. And appearing these time to time.
What could be the reason for this? Due to this cluster sync messages its difficult to find the expected server logs as well.
Note - I have more than 1000 IDPs in the cluster setup
TID: [-1] [] [2017-12-20 04:37:00,323]  INFO {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} -  Received ClusteringMessage: ClusterCacheInvalidationRequest{tenantId=-1234, tenantDomain='carbon.super', messageId=2568d30a-47df-4cdd-acd6-67e923b04c75, cacheManager=IdentityApplicationManagementCacheManager, cache=$__local__$.IdPCacheByHRI, cacheKey=org.wso2.carbon.idp.mgt.cache.IdPHomeRealmIdCacheKey@11dd405a}
TID: [-1] [] [2017-12-20 04:37:00,326]  INFO {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} -  Received ClusteringMessage: ClusterCacheInvalidationRequest{tenantId=-1234, tenantDomain='carbon.super', messageId=59bec935-a6f0-4f98-9789-cb93ed7b5c17, cacheManager=IdentityApplicationManagementCacheManager, cache=$__local__$.IdPCacheByHRI, cacheKey=org.wso2.carbon.idp.mgt.cache.IdPHomeRealmIdCacheKey@bfb9f41e}
TID: [-1] [] [2017-12-20 04:37:00,332]  INFO {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} -  Received ClusteringMessage: ClusterCacheInvalidationRequest{tenantId=-1234, tenantDomain='carbon.super', messageId=5eceb967-2c88-45b4-9e2d-4be93388f751, cacheManager=IdentityApplicationManagementCacheManager, cache=$__local__$.IdPCacheByHRI, cacheKey=org.wso2.carbon.idp.mgt.cache.IdPHomeRealmIdCacheKey@cd73b8da}
TID: [-1] [] [2017-12-20 04:37:00,343]  INFO {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} -  Received ClusteringMessage: ClusterCacheInvalidationRequest{tenantId=-1234, tenantDomain='carbon.super', messageId=97c5d9e0-3781-4500-8d94-4152f989f8cd, cacheManager=IdentityApplicationManagementCacheManager, cache=$__local__$.IdPCacheByHRI, cacheKey=org.wso2.carbon.idp.mgt.cache.IdPHomeRealmIdCacheKey@cd73b918}

Please find the log file in Node1logs.zip

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.

authors: isharak sashikamw


text:
Validation for the minimum number of characters in force password reset is fail

Affected: 5.8.0-Alpha2
Severity: Critical
Priority: High
Component: User Mgt
Type: Bug
When the user try to reset password and password contain less than 5 characters user should be notify to use more than 5 characters for the reset password also. But currently server encounter error occurred. (Image 1)  [1]
Steps:

Admin user login to carbon console
Select Enable Password Reset Offline from the three options listed, and click Update.
Click on List under Claims found in the Main tab and select http://wso2.org/claims.
Edit the One Time Password claim and http://wso2.org/claims/identity/adminForcedPasswordRese claim by selecting Supported by Default checkbox
5.Click Update to save changes
Create new user
Navigate to user profile and set Force password filed as true
Update user profile
Admin user navigate to the  user profile again and get the one time password
User get dashboard login page
User enter user name and one time password
User will redirect to password reset page
user attempt to reset the password by entering less than 5 characters.

[1] https://docs.wso2.com/display/IS580/Forced+Password+Reset
Image 1:

Carbon error:
osgi> [2019-04-02 17:53:08,934] ERROR {org.wso2.carbon.identity.recovery.endpoint.impl.SetPasswordApiServiceImpl} -  Error occurred in the server while performing the task.
org.wso2.carbon.identity.recovery.IdentityRecoveryServerException: Unexpected error
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.wso2.carbon.identity.base.IdentityException.error(IdentityException.java:103)
        at org.wso2.carbon.identity.recovery.util.Utils.handleServerException(Utils.java:164)
        at org.wso2.carbon.identity.recovery.password.NotificationPasswordRecoveryManager.updatePassword(NotificationPasswordRecoveryManager.java:232)
        at org.wso2.carbon.identity.recovery.endpoint.impl.SetPasswordApiServiceImpl.setPasswordPost(SetPasswordApiServiceImpl.java:36)
        at org.wso2.carbon.identity.recovery.endpoint.SetPasswordApi.setPasswordPost(SetPasswordApi.java:46)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179)
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193)
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103)
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:216)
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301)
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:220)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.wso2.carbon.identity.captcha.filter.CaptchaFilter.doFilter(CaptchaFilter.java:66)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at org.wso2.carbon.identity.context.rewrite.valve.TenantContextRewriteValve.invoke(TenantContextRewriteValve.java:80)
        at org.wso2.carbon.identity.authz.valve.AuthorizationValve.invoke(AuthorizationValve.java:91)
        at org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:84)
        at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
        at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
        at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
        at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
        at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
        at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
        at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1780)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1739)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.wso2.carbon.user.core.UserStoreException: 36001 - Un-expected error during pre update credential by admin, Password length should be within 5 to 30 characters
        at org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:175)
        at org.wso2.carbon.user.core.common.AbstractUserStoreManager.updateCredentialByAdmin(AbstractUserStoreManager.java:1896)
        at org.wso2.carbon.identity.recovery.password.NotificationPasswordRecoveryManager.updatePassword(NotificationPasswordRecoveryManager.java:219)
        ... 63 more
Caused by: java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException
        at java.security.AccessController.doPrivileged(Native Method)
        at org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:165)
        ... 65 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.wso2.carbon.user.core.common.AbstractUserStoreManager$2.run(AbstractUserStoreManager.java:168)
        ... 67 more
Caused by: org.wso2.carbon.user.core.UserStoreException: 36001 - Un-expected error during pre update credential by admin, Password length should be within 5 to 30 characters
        at org.wso2.carbon.user.core.common.AbstractUserStoreManager.updateCredentialByAdmin(AbstractUserStoreManager.java:2013)
        ... 72 more

Verified the Issue against IS5.8.0 alpha5 and this issue still get reproduced in alpha 5. Please find the steps followed

Enable the claims Force password and One time password to support by default
Create a user via management console
Under Resident Identity Provider > Account Management Policies > password reset > Enable password reset offline
Update the created users profile providing mandotory fields and checking force pw reset to true
Will get a One time pw for users profile
Login to dashboard providing username and one time pw taken from step 5
Try to reset the pw using less no of characters than 5

Error
[2019-04-05 11:26:59,601]  INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin@carbon.super [-1234]' logged in at [2019-04-05 11:26:59,601+0530]
[2019-04-05 11:32:47,278] ERROR {org.wso2.carbon.identity.recovery.endpoint.impl.SetPasswordApiServiceImpl} -  Error occurred in the server while performing the task.
org.wso2.carbon.identity.recovery.IdentityRecoveryServerException: Unexpected error
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.wso2.carbon.identity.base.IdentityException.error(IdentityException.java:103)
	at org.wso2.carbon.identity.recovery.util.Utils.handleServerException(Utils.java:164)
	at org.wso2.carbon.identity.recovery.password.NotificationPasswordRecoveryManager.updatePassword(NotificationPasswordRecoveryManager.java:232)
	at org.wso2.carbon.identity.recovery.endpoint.impl.SetPasswordApiServiceImpl.setPasswordPost(SetPasswordApiServiceImpl.java:36)
	at org.wso2.carbon.identity.recovery.endpoint.SetPasswordApi.setPasswordPost(SetPasswordApi.java:46)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179)
	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193)
	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103)
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:216)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:220)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.identity.captcha.filter.CaptchaFilter.doFilter(CaptchaFilter.java:66)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
	at org.wso2.carbon.identity.context.rewrite.valve.TenantContextRewriteValve.invoke(TenantContextRewriteValve.java:80)
	at org.wso2.carbon.identity.authz.valve.AuthorizationValve.invoke(AuthorizationValve.java:91)
	at org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:84)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
	at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
	at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1780)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1739)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.wso2.carbon.user.core.UserStoreException: 36001 - Un-expected error during pre update credential by admin, Password length should be within 5 to 30 characters
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:175)
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.updateCredentialByAdmin(AbstractUserStoreManager.java:1896)
	at org.wso2.carbon.identity.recovery.password.NotificationPasswordRecoveryManager.updatePassword(NotificationPasswordRecoveryManager.java:219)
	... 63 more
Caused by: java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException
	at java.security.AccessController.doPrivileged(Native Method)
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:165)
	... 65 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager$2.run(AbstractUserStoreManager.java:168)
	... 67 more
Caused by: org.wso2.carbon.user.core.UserStoreException: 36001 - Un-expected error during pre update credential by admin, Password length should be within 5 to 30 characters
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.updateCredentialByAdmin(AbstractUserStoreManager.java:2013)
	... 72 more

@malithie @ShanikaWickramasinghe Fixed with https://github.com/wso2-extensions/identity-governance/pull/283/files

@IsurangaPerera , re-opening as the issue was not resolved

Resolves with https://github.com/wso2-extensions/identity-governance/pull/283

authors: IsurangaPerera ShanikaWickramasinghe aaujayasena malithie


text:
Bump Dependencies #6111450163

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/6111450163

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


text:
Bump scim2 version

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6655841223

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6655841223
Status: success

authors: jenkins-is-staging shashimalcse


text:
division error

Description:

I want to calculate the data in one minute and divide it into 60 and divide it by 60, but the final result is not 1 but 2. Please tell me why.

It can be seen that the result calculated by sum(totalCount)/60 is twice the expected result
Affected Product Version:
3.1.1
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Thanks for the contribution.
This  was a known issue and fixed in later versions
can you try with v3.2.3  or 4.1.x
please reopen the ticket is you still find that there.
Thanks

authors: suhothayan zhangshuge


text:
Demuxer Video Error

Help
DEBUG: Server connected
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
INFO: Renderer: metal
DEBUG: Trilinear filtering disabled (not an OpenGL renderer
DEBUG: Demuxer 'video': starting thread
DEBUG: Receiver stopped
DEBUG: quit...
ERROR: Demuxer 'video': stream disabled due to connection error
ERROR: Demuxer error

same

Please help to test the newest version on testflight https://testflight.apple.com/join/9ZE6xhRt
Please let me know, if still errors.

Please help to test the newest version on testflight https://testflight.apple.com/join/9ZE6xhRt
Please let me know, if still errors.

Thanks, just test it and it works perfect!!

authors: fbloise rizalig wsvn53


text:
How to disable showing Before hook and After hook from reports

Describe your question with as much detail as possible
Currently My report shows "Before Hook" and "After Hook" for every scenario, how can I disable it.
Environment (please complete the following information):
-multiple-cucumber-html-reporter:1.17.0
-Node.js version: 12.0
-NPM version: 6.14
-Platform name and version:Ubuntu
-Cucucmber version: 6.0.5

Hi @qburst-hari
This is currently not possible, the https://github.com/wswebcreation/wdio-cucumberjs-json-reporter creates this based on WebdriverIO

Got it @wswebcreation. Thanks

this is done in wdio-cucumberjs-json-reporter module, please download 4.3.0 and add a property call disableHooks:true, which will disable the hooks information

authors: bhaslamb qburst-hari wswebcreation


text:
Readability is significantly reduced when the Mouse Dictionary is used with Dark Reader.

こんにちは
Mouse Dictionaryを使用して英文を読みたいと思い導入しようとしたのですが、拡張機能Dark Readerを導入した環境で共存させようとするとどうも著しく可読性が落ちてしまうようです。
Dark Readerをオフにした状態だと正常に動作することを確認しました。
オフにして使えばいい話なのですがどうしてもウェブブラウジングをするときに必須のツールなので、お手すきの際に、確認をお願いします。
Windows 11
Firefox 121.0
Mouse Dictionary 1.5.13
Dark Reader 4.9.73
https://addons.mozilla.org/ja/firefox/addon/darkreader/

オプションから背景色や文字色が設定できるので、そちらで調整してみてください。

私が少し試した限りでは、このall:initial;を消したらそれっぽくなるようでした。

v1.6.7

repo: wtetsu/mouse-dictionary