# Getting a 500 response when accessing Categories Index route

**URL:** <https://meta.discourse.org/t/getting-a-500-response-when-accessing-categories-index-route/129363>\
**Category:** Product Support\
**Created:** [September 24, 2019, 6:06am UTC](https://meta.discourse.org/t/getting-a-500-response-when-accessing-categories-index-route/129363 "2019-09-24T06:06:22Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Gopiraj\_Dorairaj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gopiraj_dorairaj/32/157026_2.png) [@Gopiraj\_Dorairaj](https://meta.discourse.org/u/Gopiraj_Dorairaj)\
**Post date:** [September 24, 2019, 6:06am UTC](https://meta.discourse.org/t/getting-a-500-response-when-accessing-categories-index-route/129363/1 "2019-09-24T06:06:22Z")

</div>

This issue happen’s when after i leave my session idle for a min and refresh.

Not sure why the client ip is having a port value. Is there some config i am missing

Below is the log

Processing by CategoriesController#index as HTML  
Redirected to [https://forum.doraig.com/login](https://forum.doraig.com/login)  
Filter chain halted as :redirect\_to\_login\_if\_required rendered or redirected  
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 311)  
Job exception: PG::InvalidTextRepresentation: ERROR: invalid input syntax for type inet: “13.86.104.6:3013”  
LINE 1: UPDATE “users” SET “ip\_address” = ‘13.86.104.6:3013’ WHERE "…

---

_[View the full topic](https://meta.discourse.org/t/getting-a-500-response-when-accessing-categories-index-route/129363)._
