Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Bug] Http process error #4309

Closed
1 of 2 tasks
Alonexc opened this issue Jul 31, 2023 · 0 comments · Fixed by #4310
Closed
1 of 2 tasks

[Bug] Http process error #4309

Alonexc opened this issue Jul 31, 2023 · 0 comments · Fixed by #4310
Labels
bug Something isn't working

Comments

@Alonexc
Copy link
Contributor

Alonexc commented Jul 31, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

Mac

EventMesh version

master

What happened

image

How to reproduce

start eventmesh
start http demo
start eventmeshmessage AsyncPublishInstance

Debug logs

2023-07-31 21:46:49,578 ERROR [eventMesh-sendMsg-1] AbstractHTTPServer(AbstractHTTPServer.java:579) - process error
java.lang.IllegalArgumentException: No enum constant org.apache.eventmesh.common.protocol.http.common.RequestCode.104
	at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_311]
	at org.apache.eventmesh.common.protocol.http.common.RequestCode.valueOf(RequestCode.java:20) ~[eventmesh-common-1.9.0-release.jar:1.9.0-release]
	at org.apache.eventmesh.protocol.meshmessage.MeshMessageProtocolAdaptor.deserializeHttpProtocol(MeshMessageProtocolAdaptor.java:81) ~[eventmesh-protocol-meshmessage-1.9.0-release.jar:1.9.0-release]
	at org.apache.eventmesh.protocol.meshmessage.MeshMessageProtocolAdaptor.toCloudEvent(MeshMessageProtocolAdaptor.java:64) ~[eventmesh-protocol-meshmessage-1.9.0-release.jar:1.9.0-release]
	at org.apache.eventmesh.runtime.core.protocol.http.processor.SendAsyncMessageProcessor.processRequest(SendAsyncMessageProcessor.java:109) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
	at org.apache.eventmesh.runtime.boot.AbstractHTTPServer$HTTPHandler.lambda$processEventMeshRequest$1(AbstractHTTPServer.java:564) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_311]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_311]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_311]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_311]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311]
2023-07-31 21:46:50,338 DEBUG [StandaloneConsumerThread-1] Subscribe(Subscribe.java:55) - execute subscribe task, topic: TEST-TOPIC-HTTP-ASYNC, offset: null

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@Alonexc Alonexc added the bug Something isn't working label Jul 31, 2023
@mxsm mxsm closed this as completed in #4310 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
1 participant