Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWFileUploader behind reverse proxy
#1
I have difficulties getting TIWFileUploader to work on production server. FileUploader works well in development environment so I suspect it could be related to the reverse proxy / url rewrite on the production server.

Apache config:
  ProxyPass "/stocklive2" "http://127.0.0.1:6824"
  ProxyPassReverse "/stocklive2" "http://127.0.0.1:6824"

The property ServerController RewriteUrl (URLBase) has been set accordingly to '/stocklive2', and the rest of the app works well. Component is named "MyFileUploader'.

An error is logged in app_session.log: 127.0.0.1   /$/callback   ,  callback=MYFILEUPLOADER.DoOnAsyncUploadError2

In the client browser, the file upload progress bar is shown ok until completed, when browser console shows this JS error briefly before session is recreated:

IWFileUploader__3778771729.js:1 POST https://tcs.myairline.net/stocklive2/&#3...TrackID_=1 404 (Not Found)

Any suggestions on what to do to get TIWFileUploader to work with reverse proxy or how to make it log what's going wrong?
Reply


Messages In This Thread
TIWFileUploader behind reverse proxy - by oystein.jakobsen@sas.no - 05-01-2021, 05:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)