{"action":"closed","issue":{"url":"https://api.github.com/repos/galaxyproject/galaxy/issues/6671","repository_url":"https://api.github.com/repos/galaxyproject/galaxy","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/6671/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/6671/comments","events_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/6671/events","html_url":"https://github.com/galaxyproject/galaxy/issues/6671","id":357334092,"node_id":"MDU6SXNzdWUzNTczMzQwOTI=","number":6671,"title":"Galaxy 18.05 [uWSGIWorker1Core0] Wrong session token found, denying request.","user":{"login":"gad83","id":16885762,"node_id":"MDQ6VXNlcjE2ODg1NzYy","avatar_url":"https://avatars3.githubusercontent.com/u/16885762?v=4","gravatar_id":"","url":"https://api.github.com/users/gad83","html_url":"https://github.com/gad83","followers_url":"https://api.github.com/users/gad83/followers","following_url":"https://api.github.com/users/gad83/following{/other_user}","gists_url":"https://api.github.com/users/gad83/gists{/gist_id}","starred_url":"https://api.github.com/users/gad83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gad83/subscriptions","organizations_url":"https://api.github.com/users/gad83/orgs","repos_url":"https://api.github.com/users/gad83/repos","events_url":"https://api.github.com/users/gad83/events{/privacy}","received_events_url":"https://api.github.com/users/gad83/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-05T17:42:46Z","updated_at":"2018-09-06T15:27:18Z","closed_at":"2018-09-06T15:27:17Z","author_association":"NONE","body":"Hello,\r\n\r\nI was able to create a user when I installed my new version of galaxy.\r\nHowever after setting up my config in galaxy.yml, job_conf.xml and apache proxy, I always get this error when I try to login:\r\ngalaxy.web.framework.webapp WARNING 2018-09-05 13:24:53,834 [p:10753,w:1,m:0] [uWSGIWorker1Core0] Wrong session token found, denying request.\r\nAnd the webpage says: Failed to authorize action.\r\n\r\nHere is my galaxy.yml configuration:\r\ndiff config/galaxy.yml.sample config/galaxy.yml\r\n19a20\r\n>   socket: 127.0.0.1:7112\r\n24c25\r\n<   http: 127.0.0.1:8080\r\n- - -\r\n>   #http: 127.0.0.1:8080\r\n30c31\r\n<   buffer-size: 16384\r\n- - -\r\n>   buffer-size: 32768\r\n35c36\r\n<   processes: 1\r\n- - -\r\n>   processes: 2\r\n38c39\r\n<   threads: 4\r\n- - -\r\n>   threads: 1\r\n42c43\r\n<   offload-threads: 2\r\n- - -\r\n>   offload-threads: 1\r\n53c54\r\n<   master: false\r\n- - -\r\n>   master: true\r\n68c69\r\n<   thunder-lock: false\r\n- - -\r\n>   thunder-lock: true\r\n87a89,92\r\n>   mule: lib/galaxy/main.py\r\n>   mule: lib/galaxy/main.py\r\n>   farm: job-handlers:1,2\r\n>\r\n88a94\r\n>   server_name: main\r\n93c99\r\n<   #filter-with: proxy-prefix\r\n- - -\r\n>   filter-with: proxy-prefix\r\n100a107\r\n>   cookie_path: /galaxy-prod/\r\n107a115\r\n>   database_connection: mysql://galaxy:password@localhost/galaxy_db_prod?unix_socket=/var/lib/mysql/mysql.sock\r\n122a131\r\n>   database_engine_option_pool_recycle: 7200\r\n168a178\r\n>   file_path: /home/galaxy/galaxy-prod/database/files\r\n171a182\r\n>   new_file_path: /home/galaxy/galaxy-prod/database/tmp\r\n177a189\r\n>   tool_config_file: '/home/galaxy/galaxy-prod/config/tool_conf.xml,/home/galaxy/galaxy-prod/config/shed_tool_conf.xml'\r\n192a205\r\n>   migrated_tools_config: /home/galaxy/galaxy-prod/config/migrated_tools_conf.xml\r\n199a213\r\n>   integrated_tool_panel_config: /home/galaxy/galaxy-prod/config/integrated_tool_panel.xml\r\n214a229\r\n>   tool_dependency_dir: /home/galaxy/galaxy-prod/database/dependencies\r\n281a297\r\n>   tool_sheds_config_file: /home/galaxy/galaxy-prod/config/tool_sheds_conf.xml\r\n342a359\r\n>   tool_data_table_config_path: /home/galaxy/galaxy-prod/config/tool_data_table_conf.xml\r\n351a369\r\n>   shed_tool_data_table_config: /home/galaxy/galaxy-prod/config/shed_tool_data_table_conf.xml\r\n441a460\r\n>   job_working_directory: /home/galaxy/galaxy-prod/database/jobs_directory\r\n445a465\r\n>   cluster_files_directory: /home/galaxy/galaxy-prod/database/pbs\r\n508a529\r\n>   smtp_server: smtp.smtp.ca:25\r\n522a544\r\n>   smtp_ssl: false\r\n535a558\r\n>   error_email_to: rootbac@domain.com\r\n542a566\r\n>   email_from: Galaxy ESI Project <esi-galaxy-no-reply@domain.com>\r\n564a589\r\n>   user_activation_on: true\r\n775a801\r\n>   apache_xsendfile: true\r\n786a813\r\n>   upstream_gzip: false\r\n976a1004\r\n>   debug: false\r\n989a1018\r\n>   use_interactive: false\r\n1204a1234\r\n>   id_secret: abcdefghijk\r\n1256a1287\r\n>   admin_users: rootbac@domain.com\r\n1259a1291\r\n>   require_login: true\r\n1263a1296\r\n>   show_welcome_with_login: true\r\n1267c1300,1301\r\n<   #allow_user_creation: true\r\n- - -\r\n>   allow_user_creation: true\r\n>   #allow_user_creation: false\r\n1270a1305\r\n>   allow_user_deletion: true\r\n1273a1309\r\n>   allow_user_impersonation: true\r\n1282a1319\r\n>   allow_user_dataset_purge: true\r\n1288a1326\r\n>   new_user_dataset_access_role_default_private: true\r\n1493a1532\r\n>   enable_quotas: true\r\n1499a1539\r\n>   expose_dataset_path: true\r\n1532a1573\r\n>   job_config_file: /home/galaxy/galaxy-prod/config/job_conf.xml\r\n1622a1664\r\n>   cleanup_job: onsuccess\r\n\r\nHere is my job_conf.xml configuration\r\n`<job_conf>\r\n  <plugins>\r\n    <plugin id=\"local\" type=\"runner\" load=\"galaxy.jobs.runners.local:LocalJobRunner\"/>\r\n    <plugin id=\"drmaa\" type=\"runner\" load=\"galaxy.jobs.runners.drmaa:DRMAAJobRunner\"/>\r\n  </plugins>\r\n  <handlers default=\"main.job-handlers.1\">\r\n    <handler id=\"main.job-handlers.1\" tags=\"handlers\"><plugin id=\"local\"/></handler>\r\n    <handler id=\"main.job-handlers.2\" tags=\"handlers\"><plugin id=\"drmaa\"/></handler>\r\n  </handlers>\r\n  <destinations default=\"local\">\r\n    <destination id=\"local\" runner=\"local\"></destination>\r\n    <destination id=\"torque\" runner=\"drmaa\"><param id=\"native_specification\">-l nodes=1:ppn=8</param></destination>\r\n  </destinations>\r\n  <tools>\r\n    <tool id=\"upload1\" handler=\"main.job-handlers.1\" destination=\"local\"/>\r\n  </tools>\r\n</job_conf>\r\n`\r\n\r\nFinally, here is my apache configuration:\r\nUser galaxy\r\nGroup users\r\n\r\nListen 8081\r\n\r\nNameVirtualHost *:8081\r\n\r\n<VirtualHost *:8081>\r\n  # don't decode encoded slashes in path info\r\n  AllowEncodedSlashes NoDecode\r\n\r\n  # enable compression on all relevant types\r\n  #AddOutputFilterByType DEFLATE text/html text/plain text/xml\r\n  #AddOutputFilterByType DEFLATE text/css\r\n  #AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript\r\n  #AddOutputFilterByType DEFLATE application/rss+xml\r\n  #AddOutputFilterByType DEFLATE application/xml\r\n  #AddOutputFilterByType DEFLATE application/json\r\n\r\n  # allow access to static content\r\n  <Directory \"/home/galaxy/galaxy-prod/static\">\r\n    AllowOverride None\r\n    Require all granted\r\n  </Directory>\r\n\r\n  # allow up to 3 minutes for Galaxy to respond to slow requests before timing out\r\n  ProxyTimeout 180\r\n\r\n  # uWSGI on a TCP socket\r\n  ProxyPass /galaxy-prod/ uwsgi://127.0.0.1:7112/\r\n\r\n  # serve framework static content\r\n  RewriteEngine On\r\n  RewriteRule ^/galaxy-prod$ /galaxy-prod/ [R]\r\n  RewriteRule ^/galaxy-prod/static/style/(.*) /home/galaxy/galaxy-prod/static/style/blue/$1 [L]\r\n  RewriteRule ^/galaxy-prod/static/(.*) /home/galaxy/galaxy-prod/static/$1 [L]\r\n  RewriteRule ^/galaxy-prod/favicon.ico /home/galaxy/galaxy-prod/static/favicon.ico [L]\r\n  RewriteRule ^/galaxy-prod/robots.txt /home/galaxy/galaxy-prod/static/robots.txt [L]\r\n  #RewriteRule ^/galaxy-prod(.*) http://127.0.0.1:7112$1 [P]\r\n\r\n  # enable caching on static content\r\n  <Location \"/static\">\r\n    ExpiresActive On\r\n    ExpiresDefault \"access plus 24 hours\"\r\n  </Location>\r\n\r\n  # serve visualization and interactive environment plugin static content\r\n  <Directory \"/home/galaxy/galaxy-prod/config/plugins/(.+)/(.+)/static\">\r\n    AllowOverride None\r\n    Require all granted\r\n  </Directory>\r\n  RewriteRule ^/galaxy-prod/plugins/(.+)/(.+)/static/(.*)$ /home/galaxy/galaxy-prod/config/plugins/$1/$2/static/$3 [L]\r\n\r\n  <Location \"/\">\r\n    XSendFile on\r\n    XSendFilePath /\r\n  </Location>\r\n\r\n  # Log levels\r\n  LogLevel debug\r\n  ErrorLog /var/log/httpd/galaxy-prod-error_log\r\n  CustomLog /var/log/httpd/galaxy-prod-access_log common\r\n</VirtualHost>\r\n\r\n\r\nPlease help...!"}}
{"actor":{"display_login":"mvdbeek"}}