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
Web3js-quorum sending private transaction to quorum-7nodes throws 500-Internal Server Error
A request call sending transaction from browser running Reactjs with Web3js-quorum to quorum 7nodes example, using below code, throws 500 internal error in Tessera logs
Request from browser to quorum node with url http://localhost:22000 is working with 200 response for preflight request, where as request to tessera with url http://localhost:9081, which gets appended with /storeraw gives cors issue in browser console and preflight request of type OPTIONS fails.
Below stacktrace can be seen in tessera logs.
2022-01-13 18:46:09.966 [qtp630669831-22] INFO o.g.j.s.w.p.WadlModelProcessor$OptionsHandler - Enter Request : OPTIONS : /storeraw
2022-01-13 18:46:09.985 [qtp630669831-22] ERROR c.q.t.a.e.DefaultExceptionMapper - Error occurred: Unable to make protected javax.ws.rs.core.Response() accessible: module java.ws.rs does not "opens javax.ws.rs.core" to module jersey.server. Root cause: Unable to make protected javax.ws.rs.core.Response() accessible: module java.ws.rs does not "opens javax.ws.rs.core" to module jersey.server
2022-01-13 18:46:09.986 [qtp630669831-22] INFO o.g.j.s.w.p.WadlModelProcessor$OptionsHandler - Exit Request : OPTIONS : /storeraw
2022-01-13 18:46:09.986 [qtp630669831-22] INFO o.g.j.s.w.p.WadlModelProcessor$OptionsHandler - Response for storeraw : 500 Internal Server Error
Hi @macfarla we had a more involved setup than the one here with react - the snippets @riaz7se pretty much sums it up. I can walk you through our code next week if that works?
Web3js-quorum sending private transaction to quorum-7nodes throws 500-Internal Server Error
A request call sending transaction from browser running Reactjs with Web3js-quorum to quorum 7nodes example, using below code, throws 500 internal error in Tessera logs
Making below config changes to tessera also not worked
Request from browser to quorum node with url http://localhost:22000 is working with 200 response for preflight request, where as request to tessera with url http://localhost:9081, which gets appended with /storeraw gives cors issue in browser console and preflight request of type OPTIONS fails.
Below stacktrace can be seen in tessera logs.
Tried & was unsuccess in below scenarios:
- Node url http://remote-ip:22000
- Tesserra url: http://remote-ip:9081
- Frontend React url: http://localhost:3000/
- Node url http://localhost:22000
- Tesserra url: http://localhost:9081
- Frontend React url: http://localhost:3000/
The text was updated successfully, but these errors were encountered: