|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: SweetHome3DJS - Porting plugin - ARM architecture support » » » » Post: Re: SweetHome3DJS - Porting plugin - ARM architecture support |
Print at Dec 17, 2025, 5:07:49 AM |
| Posted by adizanni at Feb 27, 2024, 10:20:42 PM |
|
Re: SweetHome3DJS - Porting plugin - ARM architecture support Hello Emmanuel, thanks it is a good idea, of course it would be more elegant to have a custom session, but this would take a serious amount of effort. Nevertheless by putting application instead of session, I'm back to my previous issue. There is something in this code that brings up to javascripts the URLs: serverUserPreferences = new ServerUserPreferences(This is where there is a mix of server bound calls and client bounds calls that are using the newly crafted URLs. If I use server URLs (http://localhost....) the server classes are working fine but they somehow pass on the URL to Javascript, in the console I see this error message: Failed to load resource: net::ERR_CONNECTION_REFUSED which is normal because the client do not "see" localhost. If I use the regular URLs (http://PROXY_IP/PROXY_CONTEXT, the server classes will fail because they do not "see" the proxy. So the classes that you have created to support SH3DJS are breaking proxy compatibility. Sorry for the long post and thanks again for dedicating some time to my idea..... |
|
|
Current timezone is GMT Dec 17, 2025, 5:07:49 AM |