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

User received 405 Not Allowed after submitting form adding barcodes to boxes #85

Open
hackartisan opened this issue Apr 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@hackartisan
Copy link
Member

hackartisan commented Apr 19, 2022

The operation was successful.

Found this in datadog.

128.112.200.163 - - [19/Apr/2022:15:00:37 +0000] "POST /batches/synchronize_all HTTP/2.0" 405 559 "https://abid.princeton.edu/batches?created_batch=229" 128.112.200.198:80, 504, 60.005, 60.005"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" "-"

Found this in abid production logs

I, [2022-04-19T14:59:17.464537 #940]  INFO -- : [d619776a-67c2-45e3-9cac-f4792b7fae7d] Processing by BatchesController#create as HTML
I, [2022-04-19T14:59:17.464628 #940]  INFO -- : [d619776a-67c2-45e3-9cac-f4792b7fae7d]   Parameters: {"authenticity_token"=>"[FILTERED]", "batch"=>{"first_barcode"=>"32101078585385",
 "call_number"=>"C1599", "start_box"=>"1", "end_box"=>"53", "container_profile_uri"=>"/container_profiles/16", "location_uri"=>"/locations/23657", "generate_abid"=>"0"}, "commit"=>"C
reate Batch"}
I, [2022-04-19T14:59:19.779328 #11962]  INFO -- : [62356819-1526-4124-b5b0-c82228a24013] Started GET "/" for 128.112.203.145 at 2022-04-19 14:59:19 +0000
I, [2022-04-19T14:59:23.145531 #11962]  INFO -- : [62356819-1526-4124-b5b0-c82228a24013] Processing by WelcomeController#index as HTML
I, [2022-04-19T14:59:23.147155 #11962]  INFO -- : [62356819-1526-4124-b5b0-c82228a24013]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 
34)
I, [2022-04-19T14:59:19.783117 #12093]  INFO -- : [6fcbd9f4-36ba-4737-8762-ec3673670f04] Started GET "/" for 128.112.203.144 at 2022-04-19 14:59:19 +0000
I, [2022-04-19T14:59:23.148907 #11962]  INFO -- : [62356819-1526-4124-b5b0-c82228a24013]   Rendered layout layouts/application.html.erb (Duration: 1.9ms | Allocations: 567)
I, [2022-04-19T14:59:23.149225 #11962]  INFO -- : [62356819-1526-4124-b5b0-c82228a24013] Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms | Allocations: 928)
I, [2022-04-19T14:59:21.489843 #940]  INFO -- : [d619776a-67c2-45e3-9cac-f4792b7fae7d] Redirected to https://abid.princeton.edu/batches?created_batch=229
I, [2022-04-19T14:59:23.152248 #940]  INFO -- : [d619776a-67c2-45e3-9cac-f4792b7fae7d] Completed 302 Found in 5687ms (ActiveRecord: 25.5ms | Allocations: 41883)
I, [2022-04-19T14:59:23.158243 #12093]  INFO -- : [6fcbd9f4-36ba-4737-8762-ec3673670f04] Processing by WelcomeController#index as HTML
I, [2022-04-19T14:59:23.170077 #940]  INFO -- : [69f6eb30-9c9a-47a6-bca8-c6ea5c668c1f] Started GET "/batches?created_batch=229" for 128.112.200.163 at 2022-04-19 14:59:23 +0000
I, [2022-04-19T14:59:23.171724 #940]  INFO -- : [69f6eb30-9c9a-47a6-bca8-c6ea5c668c1f] Processing by BatchesController#index as HTML
I, [2022-04-19T14:59:23.171815 #940]  INFO -- : [69f6eb30-9c9a-47a6-bca8-c6ea5c668c1f]   Parameters: {"created_batch"=>"229"}
I, [2022-04-19T14:59:23.177571 #12093]  INFO -- : [6fcbd9f4-36ba-4737-8762-ec3673670f04]   Rendered welcome/index.html.erb within layouts/application (Duration: 1.4ms | Allocations: 
231)
I, [2022-04-19T14:59:23.185429 #12093]  INFO -- : [6fcbd9f4-36ba-4737-8762-ec3673670f04]   Rendered layout layouts/application.html.erb (Duration: 9.4ms | Allocations: 1825)
I, [2022-04-19T14:59:23.187765 #12093]  INFO -- : [6fcbd9f4-36ba-4737-8762-ec3673670f04] Completed 200 OK in 29ms (Views: 14.7ms | Allocations: 3251)
I, [2022-04-19T14:59:26.106688 #940]  INFO -- : [69f6eb30-9c9a-47a6-bca8-c6ea5c668c1f]   Rendered batches/index.html.erb within layouts/application (Duration: 171.8ms | Allocations: 
58611)
I, [2022-04-19T14:59:26.108176 #940]  INFO -- : [69f6eb30-9c9a-47a6-bca8-c6ea5c668c1f]   Rendered layout layouts/application.html.erb (Duration: 173.4ms | Allocations: 59102)
I, [2022-04-19T14:59:26.108550 #940]  INFO -- : [69f6eb30-9c9a-47a6-bca8-c6ea5c668c1f] Completed 200 OK in 2937ms (Views: 137.2ms | ActiveRecord: 38.4ms | Allocations: 72484)
I, [2022-04-19T14:59:33.153621 #940]  INFO -- : [5d43950a-0e6d-41dd-b0bc-51815cde0400] Started GET "/" for 128.112.203.145 at 2022-04-19 14:59:33 +0000
I, [2022-04-19T14:59:34.743475 #940]  INFO -- : [5d43950a-0e6d-41dd-b0bc-51815cde0400] Processing by WelcomeController#index as HTML
I, [2022-04-19T14:59:33.192550 #11962]  INFO -- : [f6b37197-55b4-4968-8169-05a0d17bc050] Started GET "/" for 128.112.203.144 at 2022-04-19 14:59:33 +0000
I, [2022-04-19T14:59:34.745081 #940]  INFO -- : [5d43950a-0e6d-41dd-b0bc-51815cde0400]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 34
)
I, [2022-04-19T14:59:34.745658 #11962]  INFO -- : [f6b37197-55b4-4968-8169-05a0d17bc050] Processing by WelcomeController#index as HTML
I, [2022-04-19T14:59:34.746426 #940]  INFO -- : [5d43950a-0e6d-41dd-b0bc-51815cde0400]   Rendered layout layouts/application.html.erb (Duration: 1.5ms | Allocations: 567)
I, [2022-04-19T14:59:34.746752 #940]  INFO -- : [5d43950a-0e6d-41dd-b0bc-51815cde0400] Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms | Allocations: 928)
I, [2022-04-19T14:59:34.747073 #11962]  INFO -- : [f6b37197-55b4-4968-8169-05a0d17bc050]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 
34)
I, [2022-04-19T14:59:34.749350 #11962]  INFO -- : [f6b37197-55b4-4968-8169-05a0d17bc050]   Rendered layout layouts/application.html.erb (Duration: 2.4ms | Allocations: 567)
I, [2022-04-19T14:59:34.749693 #11962]  INFO -- : [f6b37197-55b4-4968-8169-05a0d17bc050] Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms | Allocations: 928)
I, [2022-04-19T14:59:37.180121 #940]  INFO -- : [9c1940b3-792e-4a1b-886a-a278becae9ea] Started POST "/batches/synchronize_all" for 128.112.200.163 at 2022-04-19 14:59:37 +0000
I, [2022-04-19T14:59:37.181350 #940]  INFO -- : [9c1940b3-792e-4a1b-886a-a278becae9ea] Processing by BatchesController#synchronize_all as HTML
I, [2022-04-19T14:59:37.181423 #940]  INFO -- : [9c1940b3-792e-4a1b-886a-a278becae9ea]   Parameters: {"authenticity_token"=>"[FILTERED]"}
I, [2022-04-19T14:59:44.751190 #11962]  INFO -- : [05786160-3ae5-49ff-b690-c6b76d44e772] Started GET "/" for 128.112.203.145 at 2022-04-19 14:59:44 +0000
I, [2022-04-19T14:59:44.752362 #11962]  INFO -- : [05786160-3ae5-49ff-b690-c6b76d44e772] Processing by WelcomeController#index as HTML
I, [2022-04-19T14:59:44.753764 #11962]  INFO -- : [05786160-3ae5-49ff-b690-c6b76d44e772]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 
34)
I, [2022-04-19T14:59:44.755093 #11962]  INFO -- : [05786160-3ae5-49ff-b690-c6b76d44e772]   Rendered layout layouts/application.html.erb (Duration: 1.5ms | Allocations: 567)
I, [2022-04-19T14:59:44.755362 #11962]  INFO -- : [05786160-3ae5-49ff-b690-c6b76d44e772] Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms | Allocations: 928)
I, [2022-04-19T14:59:44.757437 #12093]  INFO -- : [5754527e-3dda-4207-9695-aaab9a80caa2] Started GET "/" for 128.112.203.144 at 2022-04-19 14:59:44 +0000
I, [2022-04-19T14:59:44.758771 #12093]  INFO -- : [5754527e-3dda-4207-9695-aaab9a80caa2] Processing by WelcomeController#index as HTML
I, [2022-04-19T14:59:44.760348 #12093]  INFO -- : [5754527e-3dda-4207-9695-aaab9a80caa2]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 
36)
I, [2022-04-19T14:59:44.761944 #12093]  INFO -- : [5754527e-3dda-4207-9695-aaab9a80caa2]   Rendered layout layouts/application.html.erb (Duration: 1.8ms | Allocations: 576)
I, [2022-04-19T14:59:44.762210 #12093]  INFO -- : [5754527e-3dda-4207-9695-aaab9a80caa2] Completed 200 OK in 3ms (Views: 2.4ms | Allocations: 938)
I, [2022-04-19T14:59:54.766073 #11962]  INFO -- : [f7e20106-8279-4e33-88cd-972e71d86202] Started GET "/" for 128.112.203.145 at 2022-04-19 14:59:54 +0000
I, [2022-04-19T14:59:54.767182 #11962]  INFO -- : [f7e20106-8279-4e33-88cd-972e71d86202] Processing by WelcomeController#index as HTML
I, [2022-04-19T14:59:54.769138 #12093]  INFO -- : [d546f51e-dd98-4c6a-a7d1-dc43071e9b03] Started GET "/" for 128.112.203.144 at 2022-04-19 14:59:54 +0000
I, [2022-04-19T14:59:54.770196 #12093]  INFO -- : [d546f51e-dd98-4c6a-a7d1-dc43071e9b03] Processing by WelcomeController#index as HTML
I, [2022-04-19T14:59:54.771566 #12093]  INFO -- : [d546f51e-dd98-4c6a-a7d1-dc43071e9b03]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 
34)
I, [2022-04-19T14:59:54.772494 #11962]  INFO -- : [f7e20106-8279-4e33-88cd-972e71d86202]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 
34)
I, [2022-04-19T14:59:54.773037 #12093]  INFO -- : [d546f51e-dd98-4c6a-a7d1-dc43071e9b03]   Rendered layout layouts/application.html.erb (Duration: 1.7ms | Allocations: 567)
I, [2022-04-19T14:59:54.773322 #12093]  INFO -- : [d546f51e-dd98-4c6a-a7d1-dc43071e9b03] Completed 200 OK in 3ms (Views: 2.2ms | Allocations: 928)
I, [2022-04-19T14:59:54.773889 #11962]  INFO -- : [f7e20106-8279-4e33-88cd-972e71d86202]   Rendered layout layouts/application.html.erb (Duration: 1.6ms | Allocations: 567)
I, [2022-04-19T14:59:54.774172 #11962]  INFO -- : [f7e20106-8279-4e33-88cd-972e71d86202] Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms | Allocations: 928)
I, [2022-04-19T15:00:04.777327 #11962]  INFO -- : [762c5926-f3a9-4807-aa50-114fd4267a83] Started GET "/" for 128.112.203.145 at 2022-04-19 15:00:04 +0000
I, [2022-04-19T15:00:04.777455 #12093]  INFO -- : [489936d5-8480-4466-aed4-508b970e3cc6] Started GET "/" for 128.112.203.144 at 2022-04-19 15:00:04 +0000
I, [2022-04-19T15:00:04.778455 #11962]  INFO -- : [762c5926-f3a9-4807-aa50-114fd4267a83] Processing by WelcomeController#index as HTML
I, [2022-04-19T15:00:04.778651 #12093]  INFO -- : [489936d5-8480-4466-aed4-508b970e3cc6] Processing by WelcomeController#index as HTML
I, [2022-04-19T15:00:04.779856 #11962]  INFO -- : [762c5926-f3a9-4807-aa50-114fd4267a83]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 
34)
I, [2022-04-19T15:00:04.780046 #12093]  INFO -- : [489936d5-8480-4466-aed4-508b970e3cc6]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 
34)
I, [2022-04-19T15:00:04.781265 #11962]  INFO -- : [762c5926-f3a9-4807-aa50-114fd4267a83]   Rendered layout layouts/application.html.erb (Duration: 1.6ms | Allocations: 567)
I, [2022-04-19T15:00:04.781557 #12093]  INFO -- : [489936d5-8480-4466-aed4-508b970e3cc6]   Rendered layout layouts/application.html.erb (Duration: 1.7ms | Allocations: 567)
I, [2022-04-19T15:00:04.781587 #11962]  INFO -- : [762c5926-f3a9-4807-aa50-114fd4267a83] Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms | Allocations: 928)
I, [2022-04-19T15:00:04.781888 #12093]  INFO -- : [489936d5-8480-4466-aed4-508b970e3cc6] Completed 200 OK in 3ms (Views: 2.3ms | Allocations: 928)
I, [2022-04-19T15:00:14.785485 #11962]  INFO -- : [80d26b5d-c503-450a-9439-712d17a12a6d] Started GET "/" for 128.112.203.145 at 2022-04-19 15:00:14 +0000
I, [2022-04-19T15:00:14.785841 #12093]  INFO -- : [b40bbd4e-86bc-4818-b3ae-7a709eeaf347] Started GET "/" for 128.112.203.144 at 2022-04-19 15:00:14 +0000
I, [2022-04-19T15:00:14.786675 #11962]  INFO -- : [80d26b5d-c503-450a-9439-712d17a12a6d] Processing by WelcomeController#index as HTML
I, [2022-04-19T15:00:14.787036 #12093]  INFO -- : [b40bbd4e-86bc-4818-b3ae-7a709eeaf347] Processing by WelcomeController#index as HTML
I, [2022-04-19T15:00:14.788069 #11962]  INFO -- : [80d26b5d-c503-450a-9439-712d17a12a6d]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 
34)
I, [2022-04-19T15:00:14.788549 #12093]  INFO -- : [b40bbd4e-86bc-4818-b3ae-7a709eeaf347]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 
34)
I, [2022-04-19T15:00:14.789397 #11962]  INFO -- : [80d26b5d-c503-450a-9439-712d17a12a6d]   Rendered layout layouts/application.html.erb (Duration: 1.5ms | Allocations: 567)
I, [2022-04-19T15:00:14.789691 #11962]  INFO -- : [80d26b5d-c503-450a-9439-712d17a12a6d] Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms | Allocations: 928)
I, [2022-04-19T15:00:14.790057 #12093]  INFO -- : [b40bbd4e-86bc-4818-b3ae-7a709eeaf347]   Rendered layout layouts/application.html.erb (Duration: 1.7ms | Allocations: 567)
I, [2022-04-19T15:00:14.790358 #12093]  INFO -- : [b40bbd4e-86bc-4818-b3ae-7a709eeaf347] Completed 200 OK in 3ms (Views: 2.3ms | Allocations: 928)
I, [2022-04-19T15:00:24.793248 #11962]  INFO -- : [f1ded93c-2aac-4414-a515-69d4f8dbbde6] Started GET "/" for 128.112.203.145 at 2022-04-19 15:00:24 +0000
I, [2022-04-19T15:00:24.793402 #12093]  INFO -- : [0f607100-7fea-4ec6-8237-f07125617b49] Started GET "/" for 128.112.203.144 at 2022-04-19 15:00:24 +0000
I, [2022-04-19T15:00:24.794376 #11962]  INFO -- : [f1ded93c-2aac-4414-a515-69d4f8dbbde6] Processing by WelcomeController#index as HTML
I, [2022-04-19T15:00:24.794501 #12093]  INFO -- : [0f607100-7fea-4ec6-8237-f07125617b49] Processing by WelcomeController#index as HTML
I, [2022-04-19T15:00:24.795698 #11962]  INFO -- : [f1ded93c-2aac-4414-a515-69d4f8dbbde6]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 34)
I, [2022-04-19T15:00:24.795896 #12093]  INFO -- : [0f607100-7fea-4ec6-8237-f07125617b49]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 34)
I, [2022-04-19T15:00:24.797008 #11962]  INFO -- : [f1ded93c-2aac-4414-a515-69d4f8dbbde6]   Rendered layout layouts/application.html.erb (Duration: 1.5ms | Allocations: 567)
I, [2022-04-19T15:00:24.797275 #11962]  INFO -- : [f1ded93c-2aac-4414-a515-69d4f8dbbde6] Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms | Allocations: 928)
I, [2022-04-19T15:00:24.797463 #12093]  INFO -- : [0f607100-7fea-4ec6-8237-f07125617b49]   Rendered layout layouts/application.html.erb (Duration: 1.8ms | Allocations: 567)
I, [2022-04-19T15:00:24.797748 #12093]  INFO -- : [0f607100-7fea-4ec6-8237-f07125617b49] Completed 200 OK in 3ms (Views: 2.3ms | Allocations: 928)
I, [2022-04-19T15:00:34.800434 #11962]  INFO -- : [42508620-ea10-4441-b2cf-348a080da5d3] Started GET "/" for 128.112.203.145 at 2022-04-19 15:00:34 +0000
I, [2022-04-19T15:00:34.800786 #12093]  INFO -- : [242258d6-46c3-49f9-86c4-e5f6e4e0419d] Started GET "/" for 128.112.203.144 at 2022-04-19 15:00:34 +0000
I, [2022-04-19T15:00:34.801633 #11962]  INFO -- : [42508620-ea10-4441-b2cf-348a080da5d3] Processing by WelcomeController#index as HTML
I, [2022-04-19T15:00:34.801938 #12093]  INFO -- : [242258d6-46c3-49f9-86c4-e5f6e4e0419d] Processing by WelcomeController#index as HTML
I, [2022-04-19T15:00:34.802980 #11962]  INFO -- : [42508620-ea10-4441-b2cf-348a080da5d3]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 34)
I, [2022-04-19T15:00:34.803267 #12093]  INFO -- : [242258d6-46c3-49f9-86c4-e5f6e4e0419d]   Rendered welcome/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 34)
I, [2022-04-19T15:00:34.804397 #11962]  INFO -- : [42508620-ea10-4441-b2cf-348a080da5d3]   Rendered layout layouts/application.html.erb (Duration: 1.6ms | Allocations: 567)
I, [2022-04-19T15:00:34.804672 #11962]  INFO -- : [42508620-ea10-4441-b2cf-348a080da5d3] Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms | Allocations: 928)
I, [2022-04-19T15:00:34.804729 #12093]  INFO -- : [242258d6-46c3-49f9-86c4-e5f6e4e0419d]   Rendered layout layouts/application.html.erb (Duration: 1.7ms | Allocations: 567)
I, [2022-04-19T15:00:34.804996 #12093]  INFO -- : [242258d6-46c3-49f9-86c4-e5f6e4e0419d] Completed 200 OK in 3ms (Views: 2.2ms | Allocations: 928)
I, [2022-04-19T15:00:44.418391 #940]  INFO -- : [9c1940b3-792e-4a1b-886a-a278becae9ea] Redirected to https://abid.princeton.edu/batches
I, [2022-04-19T15:00:44.418767 #940]  INFO -- : [9c1940b3-792e-4a1b-886a-a278becae9ea] Completed 302 Found in 67237ms (ActiveRecord: 270.8ms | Allocations: 280858)
@hackartisan hackartisan added the bug Something isn't working label Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant