-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
Remote Host configured but logs are not loaded nor shown #398
Comments
@kantmn maybe you should re-look the config. |
@bhagat-abhishek well this is a fresh install already, and as far is see i followed the config guide. i made it simpled, disable the authentication and only added the remote host to the config and added the package to the target host. if you see the error please tell me |
Ohh, well let me also try I will let you know if I find any error.
Regards
Abishek Bhagat
…On Mon, Oct 21, 2024 at 10:03 PM Kantmn ***@***.***> wrote:
@bhagat-abhishek <https://github.com/bhagat-abhishek> well this is a
fresh install already, and as far is see i followed the config guide.
that is why opened this support thread, to receive help.
i made it simpled, disable the authentication and only added the remote
host to the config and added the package to the target host.
if you see the error please tell me
—
Reply to this email directly, view it on GitHub
<#398 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUMBOKW5D2PE2JOXCWBBPGLZ4UUEPAVCNFSM6AAAAABPXDDTRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRXGE3DOMBWGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Project A config has a host that points to ProjectA as well. Shouldn't it point to Project B instead? |
Seems like she’s
Regards
Abishek Bhagat
…On Tue, Oct 22, 2024 at 12:20 AM Arunas Skirius ***@***.***> wrote:
Project A config has a host that points to ProjectA as well. Shouldn't it
point to Project B instead?
—
Reply to this email directly, view it on GitHub
<#398 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUMBOKUFGL3SNXDOGPH5JB3Z4VEIZAVCNFSM6AAAAABPXDDTRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRXGQ3TEOJSHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi i have setup your log-viewer package inside my development environment.
two projects have the package installed and if i have understood it correctly
Project A (mainly the log-viewer) can access a remote host Project B (https://log-viewer.opcodes.io/docs/3.x/configuration/multiple-hosts)
config in Project A
'hosts' => [ 'local' => [ 'name' => ucfirst(env('APP_ENV', 'local')), ], 'toolero.ddev.site' => [ 'name' => 'projectA.ddev.site', 'host' => 'http://projectA.ddev.site/log-viewer', ], ],
config in Project B the remote host
`
'enabled' => env('LOG_VIEWER_ENABLED', true),
......
],
`
no other var was changed
i have cleared the application cache
i can call the log-viewer url/api in my browser correctly when the api_only is set to false
if api_only is set to true the same url result in 404 not found, i would have expected an denied ?
also i can call the api via curl in console run curl projectb.ddev.site/log-viewer/api/folders etc it responds
when opening in project A inside my browser and switching via dropdown to the project b host, it looks it is loading something, but the ui remains the same, folders are unchanged and no files from project b are visible.
therefore i have checked the browser network analysis tab
after switch to host B, i can see there is a json response with an object which download_url seems to be the project b, but it responds with the local (project a) files.
i have configured project b with http: as it seems to have trouble with self signed testing cert, but in the download url it is using https:
am i doing something wrong here?
i do not see any error inside the laravel.log
any help is appreciated, and thanks for the good work
PS: for anyone also having issues using the custom log types, the docs seems not to be complete, take a look at the laravelLogLevel class and copy what is needed
The text was updated successfully, but these errors were encountered: