eveseat / seat

🌀✳️ SeAT: A Simple, EVE Online API Tool and Corporation Manager
https://eveseat.github.io/docs/
GNU General Public License v2.0
434 stars 142 forks source link

Testin SeAT 3.0 - No CorpName Resolution without Corp-Scopes #249

Closed herpaderpaldent closed 6 years ago

herpaderpaldent commented 6 years ago

image

herpaderpaldent commented 6 years ago

image

same goes to CharacterIDs

leonjza commented 6 years ago

Please pop open your browsers inspector -> network tab -> check the response for the "resolve" endpoint.

herpaderpaldent commented 6 years ago
Request URL: http://test.irs-eve.online:8080/support/names/resolve
Request Method: POST
Status Code: 500 Internal Server Error
Remote Address: 167.99.34.173:8080
Referrer Policy: no-referrer-when-downgrade
leonjza commented 6 years ago

Right so open that in a new tab and paste the error or check the entry that gets added to the laravel.log and paste that please.

herpaderpaldent commented 6 years ago

Looks like a method is missing or typo? (Log is empty btw)

image

Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException thrown with message ""

Stacktrace:
#26 Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php:255
#25 Illuminate\Routing\RouteCollection:methodNotAllowed in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php:242
#24 Illuminate\Routing\RouteCollection:getRouteForMethods in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php:176
#23 Illuminate\Routing\RouteCollection:match in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/Router.php:612
#22 Illuminate\Routing\Router:findRoute in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/Router.php:601
#21 Illuminate\Routing\Router:dispatchToRoute in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/Router.php:590
#20 Illuminate\Routing\Router:dispatch in /var/www/seat/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176
#19 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30
#18 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/seat/vendor/fideloper/proxy/src/TrustProxies.php:56
#17 Fideloper\Proxy\TrustProxies:handle in /var/www/seat/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#15 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30
#14 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/seat/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#12 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30
#11 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/seat/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#9 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27
#8 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /var/www/seat/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#6 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46
#5 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /var/www/seat/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149
#4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#3 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/seat/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102
#2 Illuminate\Pipeline\Pipeline:then in /var/www/seat/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151
#1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/seat/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116
#0 Illuminate\Foundation\Http\Kernel:handle in /var/www/seat/public/index.php:54
leonjza commented 6 years ago

I can not reproduce this this. Name resolution is not affected by any form of permission either.

herpaderpaldent commented 6 years ago

this is done on the Dev-Docker runnin latest

herpaderpaldent commented 6 years ago

updated all packages and restarted docker. Error persists.

Docker running on Ubuntu 16.04

herpaderpaldent commented 6 years ago

Error still persist image

Running latest docker-dev setup.

leonjza commented 6 years ago

I need help to debug this case. I have two docker instances running now that do not have this problem.

warlof commented 6 years ago

could be related to a non live ID that's why I've surrounded the thing by try/catch by past

herpaderpaldent commented 6 years ago

Anything you need. Running it on ubuntu 16.04

This is all i got in Laravel:

[2018-04-02 12:01:13] local.ERROR: The stream or file "/var/www/seat/storage/logs/eseye.log" could not be opened: failed to open stream: Permission denied {"userId":2112572972,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/seat/storage/logs/eseye.log\" could not be opened: failed to open stream: Permission denied at /var/www/seat/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)

@warlof : Dunno but Corp is ShekelSquad and Alliance IRS. so both live?

leonjza commented 6 years ago

Fix the permissions and it should work then?

herpaderpaldent commented 6 years ago

i haven't touched the docker-compose yet (except .env for EVE_Client & EVE_CLIENT_SECRET) so this indicates me to smth missing in the docker-compose?

Who would need permission?

leonjza commented 6 years ago

Solved as permissions issue where Eseye couldn't write to the logfile.