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

Server Error: 500 (Internal Server Error) Request Asset #2044

Closed
secrectvn opened this issue May 17, 2016 · 3 comments
Closed

Server Error: 500 (Internal Server Error) Request Asset #2044

secrectvn opened this issue May 17, 2016 · 3 comments

Comments

@secrectvn
Copy link

Server Error: 500 (Internal Server Error) Request Asset

@snipe
Copy link
Owner

snipe commented May 17, 2016

Please provide us with the information requested at the Getting Help documentation: http://docs.snipeitapp.com/getting-help.html

@elzax
Copy link

elzax commented Jun 15, 2016

I have the same issue when checkin or checkout asset to the user. There is also error when user is requesting any asset. Usually this is 500 Internal Server Error, but sometimes it cracks to something like in attachement. However after those errors the changes are done.
Attachement: asset_error.txt

We are running on ver. 2.1.1. If you need any more info, let me know.

Below is debug info from error 500:

GuzzleHttp\Exception\ServerException thrown with message "Server error response [url] https://hooks.slack.com/services/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 [status code] 500 [reason phrase] Server Error"

Stacktrace:
#31 GuzzleHttp\Exception\ServerException in /var/vhosts/assets.wawstaging.com/htdocs/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:89
#30 GuzzleHttp\Exception\RequestException:create in /var/vhosts/assets.wawsta

ging.com/htdocs/vendor/guzzlehttp/guzzle/src/Subscriber/HttpError.php:33
#29 GuzzleHttp\Subscriber\HttpError:onComplete in /var/vhosts/assets.wawstaging.com/htdocs/vendor/guzzlehttp/guzzle/src/Event/Emitter.php:109
#28 GuzzleHttp\Event\Emitter:emit in /var/vhosts/assets.wawstaging.com/htdocs/vendor/guzzlehttp/guzzle/src/RequestFsm.php:91
#27 GuzzleHttp\RequestFsm:__invoke in /var/vhosts/assets.wawstaging.com/htdocs/vendor/guzzlehttp/guzzle/src/RequestFsm.php:132
#26 GuzzleHttp\RequestFsm:GuzzleHttp{closure} in /var/vhosts/assets.wawstaging.com/htdocs/vendor/react/promise/src/FulfilledPromise.php:25
#25 React\Promise\FulfilledPromise:then in /var/vhosts/assets.wawstaging.com/htdocs/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php:55
#24 GuzzleHttp\Ring\Future\CompletedFutureValue:then in /var/vhosts/assets.wawstaging.com/htdocs/vendor/guzzlehttp/guzzle/src/Message/FutureResponse.php:43
#23 GuzzleHttp\Message\FutureResponse:proxy in /var/vhosts/assets.wawstaging.com/htdocs/vendor/guzzlehttp/guzzle/src/RequestFsm.php:135
#22 GuzzleHttp\RequestFsm:__invoke in /var/vhosts/assets.wawstaging.com/htdocs/vendor/guzzlehttp/guzzle/src/Client.php:165
#21 GuzzleHttp\Client:send in /var/vhosts/assets.wawstaging.com/htdocs/vendor/guzzlehttp/guzzle/src/Client.php:150
#20 GuzzleHttp\Client:post in /var/vhosts/assets.wawstaging.com/htdocs/vendor/maknz/slack/src/Client.php:357
#19 Maknz\Slack\Client:sendMessage in /var/vhosts/assets.wawstaging.com/htdocs/vendor/maknz/slack/src/Message.php:410
#18 Maknz\Slack\Message:send in /var/vhosts/assets.wawstaging.com/htdocs/app/controllers/admin/AssetsController.php:640
#17 Controllers\Admin\AssetsController:postCheckin in <#unknown>:0
#16 call_user_func_array in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:231
#15 Illuminate\Routing\Controller:callAction in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:93
#14 Illuminate\Routing\ControllerDispatcher:call in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:62
#13 Illuminate\Routing\ControllerDispatcher:dispatch in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:967
#12 Illuminate\Routing\Router:Illuminate\Routing{closure} in <#unknown>:0
#11 call_user_func_array in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php:109
#10 Illuminate\Routing\Route:run in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1033
#9 Illuminate\Routing\Router:dispatchToRoute in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1001
#8 Illuminate\Routing\Router:dispatch in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:775
#7 Illuminate\Foundation\Application:dispatch in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:745
#6 Illuminate\Foundation\Application:handle in /var/vhosts/assets.wawstaging.com/htdocs/vendor/barryvdh/laravel-debugbar/src/Middleware/Stack.php:34
#5 Barryvdh\Debugbar\Middleware\Stack:handle in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72
#4 Illuminate\Session\Middleware:handle in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47
#3 Illuminate\Cookie\Queue:handle in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51
#2 Illuminate\Cookie\Guard:handle in /var/vhosts/assets.wawstaging.com/htdocs/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23
#1 Stack\StackedHttpKernel:handle in /var/vhosts/assets.wawstaging.com/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:641
#0 Illuminate\Foundation\Application:run in /var/vhosts/assets.wawstaging.com/htdocs/public/index.php:49

@snipe
Copy link
Owner

snipe commented Aug 18, 2016

This looks like an error with your configuration - perhaps curl isn't enabled? Slack uses curl to send that web hook request. In the meantime, if you can't get that sorted out, you can just disable slack integration.

@snipe snipe closed this as completed Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants