We have problems with using magma via remote link in gjallar project.
I debugged code and now have some extra details.
There are 3 packets sent to server: MagmaSession>>connectAs: - ok MagmaSession>>abort - ok MagmaSession>>anchor - fails with error on server side (mailformed packet).
Take a look at MaTcpRequestServer>>materializeRequest: at error (when debug is off) it creates MaMalformedRequestError and return its as result. Then code, which follows #materializeRequest: trying to use MaMalformedRequestError object as request which of course causes MNU, opening debugger and prevents server to respond with 'mailformed request' packet. I think that to find the cause of problem, first we need to fix this behaviour on server side. Have any ideas why anchor request packet formed on client side cannot be materialized on server side?
Put a halt in that method before it checks MaClientServerPreferences debug and tell me what "exc" is.
Also look at the the entire stack to see what led to the cause of the error. If you paste me the stack I might be able to make an educated guess.
Is there some modification you've made to Magma? Anchor requests are made hundreds of times across the remote connection in the test cases. I believe Hilaire also has tested his program across the Internet. Have you tried it in a standard Magma image (without Gjaller) to observe it works there before adding the additional Gjaller components in?
- Chris
On 8/9/07, Igor Stasenko siguctua@gmail.com wrote:
We have problems with using magma via remote link in gjallar project.
I debugged code and now have some extra details.
There are 3 packets sent to server: MagmaSession>>connectAs: - ok MagmaSession>>abort - ok MagmaSession>>anchor - fails with error on server side (mailformed packet).
Take a look at MaTcpRequestServer>>materializeRequest: at error (when debug is off) it creates MaMalformedRequestError and return its as result. Then code, which follows #materializeRequest: trying to use MaMalformedRequestError object as request which of course causes MNU, opening debugger and prevents server to respond with 'mailformed request' packet. I think that to find the cause of problem, first we need to fix this behaviour on server side. Have any ideas why anchor request packet formed on client side cannot be materialized on server side?
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
magma@lists.squeakfoundation.org