Token mismatch что это

phpmyadmin token mismatch error

Чтобы отправить ответ, вы должны войти или зарегистрироваться

Сообщения 16

1 Тема от mad_max977 2013-06-17 17:29:35 (изменено: mad_max977, 2013-06-17 17:39:35)

Тема: phpmyadmin token mismatch error

Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это

Может кто сталкивался? Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что этоПомогите!)

2 Ответ от Hanut 2013-06-18 09:59:39

Re: phpmyadmin token mismatch error

Попробуйте очистить куки браузера.

3 Ответ от henryh 2013-06-21 14:54:40

Re: phpmyadmin token mismatch error

Такаяже хрень. Скачал новый phpmyadmin, а он постоянно сравнивает этот тукен, приходится обновлять страницу и удалять из url этот дебильный тукен. Спрашивается зачем мне тукен, если я в конфиге прописал имя и пароль, и вобще это всё крутится на локальном сервере.
Подскажите как насовсем отключить проверку и любую работу с тукенами?

4 Ответ от Hanut 2013-06-21 15:48:55

Re: phpmyadmin token mismatch error

Подскажите как насовсем отключить проверку и любую работу с тукенами?

Отключить нельзя. Проверьте работает ли ваш сервер с сессиями. Для работы сессий должен существовать каталог C:/php/tmp и в php.ini должна быть прописана и раскомментирована строка:

5 Ответ от henryh 2013-06-21 15:50:57 (изменено: henryh, 2013-06-21 15:51:39)

Re: phpmyadmin token mismatch error

А обязательно именно этот каталог? У меня ubuntu, тут диска C: точно нет

туплю, сейчас попробую.

6 Ответ от henryh 2013-06-21 15:55:59 (изменено: henryh, 2013-06-21 15:57:27)

Re: phpmyadmin token mismatch error

Блин, а PMA браузерных сессий мало чтоли? Зачем на диске сохранять не понятно.

раскомментировал строку, она у меня вот так выглядела:

А почему вы считаете что это должно помочь? Поделитесь теорией плз.

7 Ответ от Hanut 2013-06-21 16:02:05

Re: phpmyadmin token mismatch error

А почему вы считаете что это должно помочь?

Тоукен хранится в сессии. Если сессия не работает, то и тоукен не будет работать.

8 Ответ от henryh 2013-06-21 16:08:15

Re: phpmyadmin token mismatch error

Подозреваю, что тоукен всётаки работает, так как это происходит после того как истекает время дейтвия сессии, не сразу. Но когда ведёшь разработку и постоянно надо заглядывать в БД, иногда с перерывами в пол часа, сообщение о том что тоукен не соответствует, жутко раздражает. Боюсь что придётся лезть в исходный код PMA и всё ручками убивать, но это как то не нативно.

9 Ответ от mad_max977 2013-06-26 15:37:04

Re: phpmyadmin token mismatch error

В php.ini добавил такую строку:

не помогло Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это

Куки чистил, та же фигня..

Токен постоянно меняется. При каждом обновлении страницы.

10 Ответ от mad_max977 2013-06-26 15:38:40

Re: phpmyadmin token mismatch error

Такаяже хрень. Скачал новый phpmyadmin, а он постоянно сравнивает этот тукен, приходится обновлять страницу и удалять из url этот дебильный тукен. Спрашивается зачем мне тукен, если я в конфиге прописал имя и пароль, и вобще это всё крутится на локальном сервере.
Подскажите как насовсем отключить проверку и любую работу с тукенами?

Тоже хочется очень знать!)

11 Ответ от Hanut 2013-06-26 20:23:31

Re: phpmyadmin token mismatch error

Добавьте в php.ini строку:
session.save_path = «C:/php/tmp»
И создайте каталог C:/php/tmp

12 Ответ от iliavlad 2013-08-22 03:27:18

Re: phpmyadmin token mismatch error

можно ещё попробовать установить в php.ini параметр
session.gc_maxlifetime = 172800

13 Ответ от henryh 2013-08-26 23:59:21 (изменено: henryh, 2013-08-27 00:00:26)

Re: phpmyadmin token mismatch error

не помогло Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это
Куки чистил, та же фигня..

Мне помогло, только нужно точку с запятой вначале убрать Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это, что я собственно и сделал.

Получается, конфиг должен выглядеть так:

14 Ответ от 57ar7up 2017-09-20 11:41:47

Re: phpmyadmin token mismatch error

15 Ответ от Methodman 2018-04-30 16:17:24 (изменено: Methodman, 2018-04-30 16:25:39)

Re: phpmyadmin token mismatch error

Здравствуйте!
у меня такая же проблема, как и у mad_max977 была, на сегодняшний день. При нажатии в phpMyAdmin на любую кнопку, ссылку Ошибка: несоответствие тоукена. Перечитал все что смог, и попробовал все что смог.

В php.ini прописано session.save_path = «C:/php/tmp» каталог C:/php/tmp создал, периодически очищал.
Историю в браузере и куки файлы удалял. Пробовал в разных браузерах.

PHP версия 5.2.17
Apache версия 2.2.14
MySQL версия 5.5
phpMyAdmin версия 4.0.10.20

Может версии ПО старые. Кто что-нибудь знает нового на эту тему?

16 Ответ от Methodman 2018-05-02 10:55:27

Re: phpmyadmin token mismatch error

Обновил PHP и Apache. Apache версия: httpd-2.4.4-win32-ssl_0.9.8, и PHP версия: php-7.2.5-Win32-VC15-x86. phpMyAdmin заработал, ошибки нет.

Сообщения 16

Чтобы отправить ответ, вы должны войти или зарегистрироваться

Источник

Laravel csrf token mismatch for ajax POST Request

I am trying to delete data from database via ajax.

HTML:

My ajax code:

This is my query to fetch data from database.

But when i click on Delete link data not deleted and show csrf_token mismatch.

Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это

Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это

22 Answers 22

The best way to solve this problem «X-CSRF-TOKEN» is to add the following code to your main layout, and continue making your ajax calls normally:

In header

In script

You have to add data in your ajax request. I hope so it will be work.

Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это

I just added headers: in ajax call:

I think is better put the token in the form, and get this token by id

this way, your JS don’t need to be in your blade files.

If you are using template files, than you can put your meta tag in the head section (or whatever you name it) which contain your meta tags.

Next thing, you need to put the headers attribute to your ajax (in my example, I am using datatable with server-side processing:

Here is the full datatable ajax example:

After doing this, you should get 200 status for your ajax request.

Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это

Add an id to the meta element that holds the token

And then you can get it in your Javascript

EDIT: Easier way without changing the meta line.

Thanks to @martin-hartmann

Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это

Know that there is an X-XSRF-TOKEN cookie that is set for convenience. Framework like Angular and others set it by default. Check this in the doc https://laravel.com/docs/5.7/csrf#csrf-x-xsrf-token You may like to use it.

The best way is to use the meta, case the cookies are deactivated.

Here the recommended meta way (you can put the field any way, but meta is quiet nice):

Here the section about the csrf cookie in the doc to check : https://laravel.com/docs/5.7/csrf#csrf-x-csrf-token

Also here how laravel (bootstrap.js) is setting it for axios by default:

And here read cookie function:

Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это

if you are using jQuery to send AJAX Posts, add this code to all views:

Laravel adds a XSRF cookie to all requests, and we automatically append it to all AJAX requests just before submit.

You may replace getCookie function if there is another function or jQuery plugin to do the same thing.

who ever is getting problem with the accepted answer @Deepak saini, try to remove

In case your session expires, you can use this, to login again

you have to include this line in master file

Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это

For Laravel 5.8, setting the csrf meta tag for your layout and setting the request header for csrf in ajax settings won’t work if you are using ajax to submit a form that already includes a _token input field generated by the Laravel blade templating engine.

You must include the already generated csrf token from the form with your ajax request because the server would be expecting it and not the one in your meta tag.

For instance, this is how the _token input field generated by Blade looks like:

You then submit your form with ajax like this:

The csrf token in the meta header is only useful when you are submitting a form without a Blade generated _token input field.

Источник

ERROR CSRF token mismatch #2719

Comments

StormYudi commented Nov 16, 2020 •

Background:

Describe
I’ve installed the latest 1.1.1 version panel in my CentOS 7 server, after the setup, I was trying to login in the panel, and then I’ve got an error with message CSRF token mismatch, http code 419.

The login form with X-CSRF-Token header is empty, I think something is wrong, is that a bug?

Token mismatch что это. Смотреть фото Token mismatch что это. Смотреть картинку Token mismatch что это. Картинка про Token mismatch что это. Фото Token mismatch что это

The text was updated successfully, but these errors were encountered:

DomiiBunn commented Nov 16, 2020

Most likley your php version is out of date. Try asking for help here 1st https://discord.gg/PN6eYsBY if that’s the solution close the issue please ^.^

StormYudi commented Nov 17, 2020

Most likley your php version is out of date. Try asking for help here 1st https://discord.gg/PN6eYsBY if that’s the solution close the issue please ^.^

Thanks for your help, But I am using PHP7.4 with Mysql 5.7 🙁

DomiiBunn commented Nov 17, 2020

StormYudi commented Nov 17, 2020

There is no logs 🙁 the file is empty, I will try to reinstall the panel in ubuntu, thanks

DomiiBunn commented Nov 17, 2020

There has to be a log if you get an error ^.^ try to go to the panel again and than run the log command

StormYudi commented Nov 17, 2020

I checked it again and it was really not there 🙁

mistermodcreator commented Nov 17, 2020 •

I got the same Error and the log is the following:

Probably this can help?

YajTPG commented Nov 18, 2020

Usually clearing Cookies fixes that error. (Atleast for me)

alexevladgabriel commented Nov 18, 2020

Are you using a ssl configuration with http:// connection?
Do you have generated ssl for that domain?

StormYudi commented Nov 20, 2020

@alexevladgabriel I am not using https at that time.

I simply reinstall the OS and reinstall the panel again, it works now, thank you all.

ajarmoszuk commented Dec 15, 2020

This is unfortunately still an issue, running PHP 7.4.13. Not sure what is happening but there is no information to suggest any issues. Nothing is to be found in the logs.

ajarmoszuk commented Dec 15, 2020

Site is running on HTTPS.

Techwolf12 commented Dec 23, 2020

No SSL here. It fails on creating a cookie «XSRF-TOKEN» because it wants to set it as secure and non-https cookies can’t be set as secure.

fabm3n commented Jan 12, 2021

No SSL here. It fails on creating a cookie «XSRF-TOKEN» because it wants to set it as secure and non-https cookies can’t be set as secure.

This would not change anything because the default value is already false: https://github.com/pterodactyl/panel/blob/develop/config/session.php#L163

Dungeonseeker commented Feb 2, 2021

Same issue here on Ubuntu Server 20.10 running Apache & PHP 7.14

#0 /var/www/pterodactyl/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(358): Swift_Transport_AbstractSmtpTransport->assertResponseCode #1 /var/www/pterodactyl/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(147): Swift_Transport_AbstractSmtpTransport->readGreeting #2 /var/www/pterodactyl/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(50): Swift_Transport_AbstractSmtpTransport->start #3 /var/www/pterodactyl/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php(65): Swift_Transport_SendmailTransport->start #4 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php(521): Swift_Mailer->send #5 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php(288): Illuminate\Mail\Mailer->sendSwiftMessage #6 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/Channels/MailChannel.php(65): Illuminate\Mail\Mailer->send #7 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(146): Illuminate\Notifications\Channels\MailChannel->send #8 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(105): Illuminate\Notifications\NotificationSender->sendToNotifiable #9 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Support/Traits/Localizable.php(19): Illuminate\Notifications\NotificationSender->Illuminate\Notifications\ #10 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(107): Illuminate\Notifications\NotificationSender->withLocale #11 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/ChannelManager.php(54): Illuminate\Notifications\NotificationSender->sendNow #12 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/SendQueuedNotifications.php(94): Illuminate\Notifications\ChannelManager->sendNow #13 (0): Illuminate\Notifications\SendQueuedNotifications->handle #14 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(33): call_user_func_array #15 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\ #16 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(91): Illuminate\Container\Util::unwrapIfClosure #17 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod #18 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/Container.php(592): Illuminate\Container\BoundMethod::call #19 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\Container\Container->call #20 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\ #21 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\ #22 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then #23 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(83): Illuminate\Bus\Dispatcher->dispatchNow #24 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\ #25 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\ #26 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(85): Illuminate\Pipeline\Pipeline->then #27 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(59): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware #28 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call #29 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(356): Illuminate\Queue\Jobs\Job->fire #30 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(306): Illuminate\Queue\Worker->process #31 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(132): Illuminate\Queue\Worker->runJob #32 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(112): Illuminate\Queue\Worker->daemon #33 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(96): Illuminate\Queue\Console\WorkCommand->runWorker #34 (0): Illuminate\Queue\Console\WorkCommand->handle #35 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(33): call_user_func_array #36 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\ #37 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(91): Illuminate\Container\Util::unwrapIfClosure #38 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod #39 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/Container.php(592): Illuminate\Container\BoundMethod::call #40 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\Container\Container->call #41 /var/www/pterodactyl/vendor/symfony/console/Command/Command.php(258): Illuminate\Console\Command->execute #42 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run #43 /var/www/pterodactyl/vendor/symfony/console/Application.php(911): Illuminate\Console\Command->run #44 /var/www/pterodactyl/vendor/symfony/console/Application.php(264): Symfony\Component\Console\Application->doRunCommand #45 /var/www/pterodactyl/vendor/symfony/console/Application.php(140): Symfony\Component\Console\Application->doRun #46 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\Component\Console\Application->run #47 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Console\Application->run #48 /var/www/pterodactyl/artisan(37): Illuminate\Foundation\Console\Kernel->handle [2021-02-02 19:43:10] production.ERROR: Swift_TransportException: Expected response code 220 but got an empty response in /var/www/pterodactyl/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:445 Stack trace: #0 /var/www/pterodactyl/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(358): Swift_Transport_AbstractSmtpTransport->assertResponseCode #1 /var/www/pterodactyl/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(147): Swift_Transport_AbstractSmtpTransport->readGreeting #2 /var/www/pterodactyl/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(50): Swift_Transport_AbstractSmtpTransport->start #3 /var/www/pterodactyl/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php(65): Swift_Transport_SendmailTransport->start #4 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php(521): Swift_Mailer->send #5 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php(288): Illuminate\Mail\Mailer->sendSwiftMessage #6 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/Channels/MailChannel.php(65): Illuminate\Mail\Mailer->send #7 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(146): Illuminate\Notifications\Channels\MailChannel->send #8 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(105): Illuminate\Notifications\NotificationSender->sendToNotifiable #9 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Support/Traits/Localizable.php(19): Illuminate\Notifications\NotificationSender->Illuminate\Notifications\ #10 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(107): Illuminate\Notifications\NotificationSender->withLocale #11 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/ChannelManager.php(54): Illuminate\Notifications\NotificationSender->sendNow #12 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Notifications/SendQueuedNotifications.php(94): Illuminate\Notifications\ChannelManager->sendNow #13 (0): Illuminate\Notifications\SendQueuedNotifications->handle #14 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(33): call_user_func_array #15 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\ #16 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(91): Illuminate\Container\Util::unwrapIfClosure #17 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod #18 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/Container.php(592): Illuminate\Container\BoundMethod::call #19 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\Container\Container->call #20 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\ #21 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\ #22 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then #23 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(83): Illuminate\Bus\Dispatcher->dispatchNow #24 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\ #25 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\ #26 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(85): Illuminate\Pipeline\Pipeline->then #27 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(59): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware #28 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call #29 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(356): Illuminate\Queue\Jobs\Job->fire #30 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(306): Illuminate\Queue\Worker->process #31 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(132): Illuminate\Queue\Worker->runJob #32 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(112): Illuminate\Queue\Worker->daemon #33 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(96): Illuminate\Queue\Console\WorkCommand->runWorker #34 (0): Illuminate\Queue\Console\WorkCommand->handle #35 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(33): call_user_func_array #36 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\ #37 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(91): Illuminate\Container\Util::unwrapIfClosure #38 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod #39 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Container/Container.php(592): Illuminate\Container\BoundMethod::call #40 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\Container\Container->call #41 /var/www/pterodactyl/vendor/symfony/console/Command/Command.php(258): Illuminate\Console\Command->execute #42 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run #43 /var/www/pterodactyl/vendor/symfony/console/Application.php(911): Illuminate\Console\Command->run #44 /var/www/pterodactyl/vendor/symfony/console/Application.php(264): Symfony\Component\Console\Application->doRunCommand #45 /var/www/pterodactyl/vendor/symfony/console/Application.php(140): Symfony\Component\Console\Application->doRun #46 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\Component\Console\Application->run #47 /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Console\Application->run #48 /var/www/pterodactyl/artisan(37): Illuminate\Foundation\Console\Kernel->handle

eupedroosouza commented Sep 19, 2021

Sem SSL aqui. Ele falha ao criar um cookie «XSRF-TOKEN» porque deseja definir como seguro e os cookies não https não podem ser definidos como seguros.
Consertar isso:

This worked for me, thanks!

SovernT13 commented Nov 21, 2021

No SSL here. It fails on creating a cookie «XSRF-TOKEN» because it wants to set it as secure and non-https cookies can’t be set as secure.

This also worked for me. I was using a custom installer script though.

jordi00113 commented Nov 21, 2021 •

No SSL here. It fails on creating a cookie «XSRF-TOKEN» because it wants to set it as secure and non-https cookies can’t be set as secure.

Worked for me. I used https first instead of http.
This setting was not changed back when going through the installer

Software-Noob commented Nov 21, 2021

We don’t offer any installers. If you have an issue with such, contact the author of it directly. The fix is above should someone stumble upon this in the future.

The value depends on what protocol scheme you choose during installation, and also, our support bot in Discord can respond to this issue.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *