Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logout does not work #609

Open
bloodyburger opened this issue Jan 1, 2025 · 0 comments
Open

Logout does not work #609

bloodyburger opened this issue Jan 1, 2025 · 0 comments

Comments

@bloodyburger
Copy link

Running on Ubuntu, Dawarich version 0.21.2, created a new user and tried to logout from demo user resulting in below error.

<header role="banner" style="color: rgb(240, 240, 240); background: rgb(204, 0, 0); padding: 0.5em 1.5em; font-family: helvetica, verdana, arial, sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><h1 style="overflow-wrap: break-word; margin: 0.2em 0px; line-height: 1.1em; font-size: 2em;">Routing Error</h1></header><main role="main" id="container" style="box-sizing: border-box; width: 1625px; padding: 0px 1.5em; color: rgb(236, 236, 236); font-family: helvetica, verdana, arial, sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><h2 style="color: rgb(204, 0, 0); line-height: 25px; padding-left: 30px;">No route matches [GET] "/users/sign_out"</h2><p style="font-family: helvetica, verdana, arial, sans-serif; font-size: 13px; line-height: 18px; padding-left: 30px;"><code>Rails.root: /var/app</code></p><div id="traces-0"><a href="https://gps.teej.xyz/users/sign_out#" onclick="hide('Framework-Trace-0');hide('Full-Trace-0');show('Application-Trace-0');; return false;" style="color: rgb(204, 0, 0);">Application Trace</a><span> </span>|<span> </span><a href="https://gps.teej.xyz/users/sign_out#" onclick="hide('Application-Trace-0');hide('Full-Trace-0');show('Framework-Trace-0');; return false;" style="color: rgb(204, 0, 0);">Framework Trace</a><span> </span>|<span> </span><a href="https://gps.teej.xyz/users/sign_out#" onclick="hide('Application-Trace-0');hide('Framework-Trace-0');show('Full-Trace-0');; return false;" style="color: rgb(204, 0, 0);">Full Trace</a><div id="Application-Trace-0" style="display: block;"><code class="traces" style="font-size: 11px;"></code></div></div><h2 style="color: rgb(204, 0, 0); line-height: 25px; padding-left: 30px;">Routes</h2><p style="font-family: helvetica, verdana, arial, sans-serif; font-size: 13px; line-height: 18px; padding-left: 30px;">Routes match in priority from top to bottom</p>
Helper (Path / Url) | HTTP Verb | Path | Controller#Action | Source Location
-- | -- | -- | -- | --

  |   | /cable | #, @worker_pool_size=4, @disable_request_forgery_protection=false, @allow_same_origin_as_host=true, @filter_parameters=[:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc, :latitude, :longitude, :lat, :lng], @health_check_application=#, @logger=#, @formatter=nil, @logdev=#>, @binmode=false, @reraise_write_errors=[], @mon_data=#, @mon_data_owner_object_id=6240>, @level_override={}>], @progname="Broadcast", @formatter=nil, @local_level_key=:logger_thread_safe_level_22840>, @cable={"adapter"=>"redis", "url"=>"redis://dawarich_redis:6379/0"}, @mount_path="/cable", @precompile_assets=true, @allowed_request_origins=/https?:\/\/localhost:\d+/>, @mutex=#, @pubsub=nil, @worker_pool=nil, @event_loop=nil, @remote_connections=nil> | /var/app/config/routes.rb:6

</main>Routing Error
No route matches [GET] "/users/sign_out"
Rails.root: /var/app

[Application Trace](https://gps.teej.xyz/users/sign_out#) | [Framework Trace](https://gps.teej.xyz/users/sign_out#) | [Full Trace](https://gps.teej.xyz/users/sign_out#)
Routes
Routes match in priority from top to bottom

Helper ([Path](https://gps.teej.xyz/users/sign_out#) / [Url](https://gps.teej.xyz/users/sign_out#))	HTTP Verb	Path	Controller#Action	Source Location
Search
/cable	
#, @worker_pool_size=4, @disable_request_forgery_protection=false, @allow_same_origin_as_host=true, @filter_parameters=[:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc, :latitude, :longitude, :lat, :lng], @health_check_application=#, @logger=#, @formatter=nil, @logdev=#>, @binmode=false, @reraise_write_errors=[], @mon_data=#, @mon_data_owner_object_id=6240>, @level_override={}>], @progname="Broadcast", @formatter=nil, @local_level_key=:logger_thread_safe_level_22840>, @cable={"adapter"=>"redis", "url"=>"redis://dawarich_redis:6379/0"}, @mount_path="/cable", @precompile_assets=true, @allowed_request_origins=/https?:\/\/localhost:\d+/>, @mutex=#, @pubsub=nil, @worker_pool=nil, @event_loop=nil, @remote_connections=nil>

/var/app/config/routes.rb:6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant