GithubHelp home page GithubHelp logo

Comments (25)

jourdain avatar jourdain commented on August 12, 2024

What your apache virtual host config looks like?

It should redirect to ws:// not wss://

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

Yes, I did that
Kindly check out my Apache virtual host config and launcher.config

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

Also this is a sample of python process log

2016-05-26 08:43:23+0000 [-] Log opened.
2016-05-26 08:43:23+0000 [-] ReapingWampServerFactory starting on 9005
2016-05-26 08:43:23+0000 [-] Starting factory <vtk.web.wamp.ReapingWampServerFactory instance at 0x000000000BA25448>
2016-05-26 08:43:23+0000 [-] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2016-05-26 08:43:23+0000 [-] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

And what I get now is this error:

WebSocket connection to 'wss://MY-APACHE-SERVER:9005/proxy?sessionId=e656549e-231d-11e6-af8d-000d3a10ab7a' failed: Error in connection establishment: net::ERR_CONNECTION_RESET

I'm trying to check out firewall settings and apache proxy configurations.

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

Also I have a question ....... does self-signed certificate make a connection reset error ??

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

Try updating your launcher configuration.

"sessionURL" : "wss://portal.tessra.com/proxy?sessionId=${id}",

"resources" : [ { "host" : "localhost", "port_range" : [9001, 9005] } ],

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

thanks for your help ... but this raises the first error ...

failed: Error during WebSocket handshake: Unexpected response code: 400

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

Well I missed that other issue:

"proxy_file" : "/../proxy.txt",

Should match the file path

C:\Program Files (x86)\pythonLauncher\mapping\proxy.txt

Did you read the documentation?
http://kitware.github.io/paraviewweb/docs/guides/apache_front_end.html
http://kitware.github.io/paraviewweb/docs/guides/python_launcher.html

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

The issue was the proxy file .... as you mentioned above.. It is working now ... I'm really appreciate your cooperation ...
thanks seb!
👍

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

Glad to hear you got it working.

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

there is another issue .... when starting new session on incognito tab I get the following error

failed: Error during WebSocket handshake: Unexpected response code: 502

It is working only for one session not multi-user scenario!

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

http://www.checkupdown.com/status/E502.html

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

Did you try from different browser, not browser tab?

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

Yep, I tried firefox and chrome

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

So what was working before?

On Thu, May 26, 2016 at 9:26 AM, Ahmed Abdullah [email protected]
wrote:

Yep, I tried firefox and chrome


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#117 (comment)

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

the viewer is working only when starting first session ..not sure if it is due to ${host}:${port} or 443 in session url .... then If I try to open the same file I get the error as shown above.

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

What? ${host}:${port} This should be gone based on what I asked you to fix.

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

Yep, I did what you wrote ....

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

I think you need to take a minute and look at the documentation and try to understand how things work.
Then you might be able to figure out by yourself what is the piece you missed.

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

Thanks Seb ... actually I read the documentation multiple times .... but I don't find clear documentation for Parview web - HTTPS setup especially the launcher.config .... do you have a link for it "I mean the launcher.config for wss"

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

Did you make it work before switching to wss?

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

Yes, it was working before wss

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

Well not really, you were using direct connection without going through Apache.

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

I followed the apache configuration in paraview documentation for ws !

from paraviewweb.

jourdain avatar jourdain commented on August 12, 2024

Yes but didn't use the proper configuration for the launcher, which was making the client not going through Apache.

from paraviewweb.

0x3bfc avatar 0x3bfc commented on August 12, 2024

Aha, I got you! ....anyway, I'll read it again ... thanks for your support

from paraviewweb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.