Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-3523

Websocket not working with Nginx Reverse Proxy

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 0.7.3
    • None
    • Core
    • None
    • Nginx: 1.13.12

      Zeppelin: 0.7.3 (Docker image)

    Description

      Am trying to put Nginx in front of Zeppelin. Regular requests are passing through, but Websockets are not working.

      Below is excerpt of my configuration:

      location /zeppelin/ {
          proxy_pass http://104.211.216.218:8080/;
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header Host $http_host;
          proxy_set_header X-NginX-Proxy true;
          proxy_redirect off;
      }
      
      location /zeppelin/ws {
          proxy_pass http://104.211.216.218:8080/ws;
          proxy_http_version 1.1;
          proxy_set_header Upgrade websocket;
          proxy_set_header Connection upgrade;
          proxy_read_timeout 86400;
      }
      
      
      

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sanket_shah Sanket Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment