You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the software with the provided kubernetes files in distro.
After figuring out the changes I needed to make to my ingress so the websockets are working thanks to this PR (https://github.com/Apicurio/apicurio-studio/pull/1185/files).
Now I am back to square one. I have an old database which I restored. Everything is showing but I cannot edit a thing. I tried if the db user has no writing rights but I can update stuff in the databse with the database user. The WS and API pod both have the correct database credentials. I don't get any errors in the log to go off. I set the log level to debug.
Here is the output when I add a new property:
WS Pod
2021-11-19 15:42:21,848 DEBUG [io.apicurio.hub.core.editing.ops.processors.OperationProcessorDispatcher] (default task-1) Received a "command" message/operation from a client for API Design: 49
2021-11-19 15:42:21,848 DEBUG [io.apicurio.hub.core.editing.ops.processors.CommandProcessor] (default task-1) user: benedikt.koch@time-matters.com
2021-11-19 15:42:21,848 DEBUG [io.apicurio.hub.core.storage.jdbc.JdbcStorage] (default task-1) Inserting a 'command' content row for: 49
2021-11-19 15:42:21,848 DEBUG [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (default task-1) ApicurioDS: getConnection(null, WrappedConnectionRequestInfo@61c6b65f[userName=apimanagement@tm-prd-psql-api-management-01]) [0/20]
2021-11-19 15:42:21,859 DEBUG [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (default task-1) ApicurioDS: returnConnection(4a9b6cf2, false) [0/20]
2021-11-19 15:42:21,860 DEBUG [io.apicurio.hub.core.editing.ops.processors.CommandProcessor] (default task-1) ACK sent back to client.
2021-11-19 15:42:21,860 DEBUG [io.apicurio.hub.core.editing.ops.processors.CommandProcessor] (default task-1) Command propagated to 'other' clients.
2021-11-19 15:42:21,894 DEBUG [io.undertow.websockets.core.request] (default I/O-2) UT025003: Decoding WebSocket Frame with opCode 1
2021-11-19 15:42:21,895 DEBUG [io.apicurio.hub.core.editing.ops.processors.OperationProcessorDispatcher] (default task-1) Received a "selection" message/operation from a client for API Design: 49
2021-11-19 15:42:21,895 DEBUG [io.apicurio.hub.core.editing.ops.processors.SelectionProcessor] (default task-1) user:benedikt.koch@time-matters.com
2021-11-19 15:42:21,895 DEBUG [io.apicurio.hub.core.editing.ops.processors.SelectionProcessor] (default task-1) selection:/components/schemas[OrderResponse]/properties[test]
2021-11-19 15:42:21,895 DEBUG [io.apicurio.hub.core.editing.ops.processors.SelectionProcessor] (default task-1) User selection propagated to 'other' clients.
2021-11-19 15:42:35,916 DEBUG [io.undertow.websockets.core.request] (default I/O-2) UT025003: Decoding WebSocket Frame with opCode 1
2021-11-19 15:42:35,917 DEBUG [io.apicurio.hub.core.editing.ops.processors.OperationProcessorDispatcher] (default task-1) Received a "ping" message/operation from a client for API Design: 4
Frontend:
main-es2015.4eeab743bb602c8953d1.js:1 [ValidationProblemComponent] Invalidating cache.
main-es2015.4eeab743bb602c8953d1.js:1 [ApiEditorComponent] Node selection detected (from the selection service)
main-es2015.4eeab743bb602c8953d1.js:1 [ApiEditorComponent] Selection changed to path: /components/schemas[OrderResponse]/properties[test]
editor:1 Form submission canceled because the form is not connected
main-es2015.4eeab743bb602c8953d1.js:1 [ApiEditingSession] Message received from server. '{"type":"ack","contentVersion":50,"commandId":1637336541818,"ackType":"command"}'
main-es2015.4eeab743bb602c8953d1.js:1 Message type: ack
main-es2015.4eeab743bb602c8953d1.js:1 Command Id: 1637336541818
main-es2015.4eeab743bb602c8953d1.js:1 [ApiEditorPageComponent] Finalizing command with local id: 1637336541818
main-es2015.4eeab743bb602c8953d1.js:1 [OtEngine] Finalizing command with contentId: 1637336541818 and new contentVersion: 50
main-es2015.4eeab743bb602c8953d1.js:1 [OtEngine] Pending command is 'next up', performing simple shift from pending to finalized.
main-es2015.4eeab743bb602c8953d1.js:1 [ApiEditorPageComponent] Cancelling the auto-retry timer.
main-es2015.4eeab743bb602c8953d1.js:1 [ApiEditingSession] Sending PING.
I have to say I am pretty frustrated :( I had the same problem with the standalone version then I thought I maybe update to a newer version and going through the pain and changing the whole deployment method. And still the same error. Cannot edit a thing. No error message... nothing.
Also I see an error from the main-es2015 directly on startup (browser console): Error: <filter> attribute width: Unexpected end of attribute. Expected length, "".
The text was updated successfully, but these errors were encountered:
There is still a bug here though - if you didn't bring over the sequences as part of the backup you should see some kind of error logged I would think. I'll add a separate issue to track that. Thanks for reporting and indicating what the issue was.
Well to be clear we brought over the sequences but they started at 0... Especially the api_content_version_seq is really important (that one has killed the editing).
I installed the software with the provided kubernetes files in distro.
After figuring out the changes I needed to make to my ingress so the websockets are working thanks to this PR (https://github.com/Apicurio/apicurio-studio/pull/1185/files).
Now I am back to square one. I have an old database which I restored. Everything is showing but I cannot edit a thing. I tried if the db user has no writing rights but I can update stuff in the databse with the database user. The WS and API pod both have the correct database credentials. I don't get any errors in the log to go off. I set the log level to debug.
Here is the output when I add a new property:
WS Pod
Frontend:
I have to say I am pretty frustrated :( I had the same problem with the standalone version then I thought I maybe update to a newer version and going through the pain and changing the whole deployment method. And still the same error. Cannot edit a thing. No error message... nothing.
Also I see an error from the main-es2015 directly on startup (browser console):
Error: <filter> attribute width: Unexpected end of attribute. Expected length, "".
The text was updated successfully, but these errors were encountered: