Thanks for your reply. There is only one new line in the log after navigating to Jmix studio. When pressing the button there is no additional line
2024-04-03 12:26:31,775 [11271560] INFO - #com.haulmont.jmixstudio.intellij.marketplace.descriptor.provider.HTTPDescriptorsProvider - Using cached /home/trainee/.cache/JetBrains/IdeaIC2023.3/jmix-studio/marketplace/available_app_components.json (updated at 02.04.24, 09:31)
Can you please enable debug logging for Jmix Studio and JCEF?
Add -Dide.browser.jcef.log.level=verbose to the Custom VM options. This should create jcef_.log file in the system disc root (not sure for Windows) after JCEF browser first usage.
Add the following lines to the Custom Debug Log Configuration (Help → Diagnostic Tools → Debug Log Settings…) #com.haulmont.jmixstudio #com.intellij.ui.jcef
After this setup please open Jmix project, open login form and attach jcef_.log file and the whole IDEA log folder.
In logs I saw following line: #c.i.u.j.JBCefApp - JCEF sandbox was disabled because of unsupported OS: debian gnu/linux. To skip this check run IDE with VM-option -Dide.browser.jcef.sandbox.disable_linux_os_check=true
May be it is the main cause of problems with JCEF and login form.
Can you try check Registry for key ide.browser.jcef.sandbox.enable?
Will enabling this option have an effect?
Select Help | Find Action from the main menu, type Registry..., select it and in the opened list, find the ide.browser.jcef.sandbox.enable options here.
I checked the Registry and the option ide.browser.jcef.sandbox.enable was enabled by default.
I disabled it but the behavior is still the same. I added the VM option mentioned in the log but this doesn’t help either.
Hi
Can you find jcef_xxx.log file(s) on your computer?
I see the following line in the idea.log: 2024-04-04 14:27:23,682 [ 48008] INFO - STDOUT - JCEF(27:23:681): initialized file logger, severity=LOGSEVERITY_VERBOSE, path='/home/buchholz/jcef_80915.log'
Hi, yes there is a jcef log.
We found an error there. It seams there is a default port appended at the end of the url. But as there is a path behind the server, this doesn’t work.
[0404/142732.054983:VERBOSE1:network_delegate.cc(35)] NetworkDelegate::NotifyBeforeURLRequest: http://proxy.example.com/proxy:80
[0404/142732.057673:VERBOSE1:pac_file_fetcher_impl.cc(286)] Fetched PAC script had (bad) status line: HTTP/1.1 404 Not Found
Sorry for the confusion. Yes, we have Automatic proxy configuration URL set to http://proxy.example.com/proxy
To this URL JCEF seams to append the port 80.
I changed the IDEA settings to http://proxy.example.com:80/proxy but the result and logs didn’t change. Please find the log attached.