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 demo AsyncPublishInstance test fail. #4346

Closed
1 of 3 tasks
Alonexc opened this issue Aug 10, 2023 · 0 comments · Fixed by #4347
Closed
1 of 3 tasks

[Bug] http demo AsyncPublishInstance test fail. #4346

Alonexc opened this issue Aug 10, 2023 · 0 comments · Fixed by #4347
Labels
bug Something isn't working

Comments

@Alonexc
Copy link
Contributor

Alonexc commented Aug 10, 2023

Search before asking

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

Environment

Mac

EventMesh version

master

What happened

2023-08-10 14:44:23,662 ERROR [eventMesh-sendMsg-2] 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.cloudevents.CloudEventsProtocolAdaptor.deserializeHttpProtocol(CloudEventsProtocolAdaptor.java:90) ~[eventmesh-protocol-cloudevents-1.9.0-release.jar:1.9.0-release]
	at org.apache.eventmesh.protocol.cloudevents.CloudEventsProtocolAdaptor.toCloudEvent(CloudEventsProtocolAdaptor.java:73) ~[eventmesh-protocol-cloudevents-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-08-10 14:44:24,278 DEBUG [StandaloneConsumerThread-1] Subscribe(Subscribe.java:55) - execute subscribe task, topic: TEST-TOPIC-HTTP-ASYNC, offset: null

How to reproduce

start eventmesh and test AsyncPublishInstance.

Debug logs

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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