-
Notifications
You must be signed in to change notification settings - Fork 14
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
dockerfile updated #15
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Johan Isaksson <[email protected]>
new dockerized version hangs on macbook with m2 chip, need to investigate |
@bmblb I have an M2. How can I help? I'll be glad to share my laptop with you for a few hours over several days on Teams if helpful? |
@knobel-dk Thank you for a generous offer. Remote debugging could help determining if it is an export server code which hangs the system, if it is smth related to OS/puppeteer internals it would be up to you to figure this out because I simply don't have means to. Do you wish to spend your time on it? If so, we can probably arrange smth in coming weeks |
@bmblb Let us do it. Write me on jk@datapult about details. I could, as an example, start by reproducing without you and do some initial troubleshooting. Just tell me where to start and when you want to chat. |
@knobel-dk you can start by testing the image:
|
When cloning the repo and checking out the branch, I do When I use it in my repo I get a info (just info): I then proceed to press the Export in my scheduler (see the setup here: https://forum.bryntum.com/viewtopic.php?t=25692) It sends a request to the pdf export server but it remains pending, see these two screenshots showing that this request remains pending (even if the preflight request returns a OK): |
@bmblb Let me know what I can do from here. |
@bmblb I am currently not doing more on this issue but would be glad to. Also, I have a Mac M2 that you can get remote access to for the next two weeks. |
@knobel-dk Try running server in verbose mode and attaching log here. Log would contain detailed description and we could probably learn smth from it. |
Here is the output and I waited 3 minutes (with no further output) and the request still being pending like in the screenshot above:
If I then submit new requests, it looks like this:
The scheduler components that I am sending over is a small 30 resources by 7 days with no more than 5 events in all. |
@knobel-dk This log does not look complete and verbose. Verbose should contain info about incoming request too:
|
@bmblb Just tell me how to configure. This is the second time you ask for verbose logging without describing how you want. it done Here the current |
Changing log level in app.config.js should've been enough: pdf-export-server/app.config.js Line 24 in fa35180
--verbose to start script. When log is verbose you should see a note about receiving a request in the log file. If you do not see that line but see queue running, it means your server is not running in verbose mode. Make sure you rebuilt your docker image.
|
@bmblb I did rebuild the image, and indeed you will notice that this output is "fuller" than the image I originally posted:
|
Logs you paste here suggest mode is not verbose. Verbose message should've appeared right below info message about an incoming request: pdf-export-server/src/server/WebServer.js Line 94 in fa35180
Is there a chance you're looking into wrong log file? Each time you start the server new log file is created. Please check entire contents of the |
@bmblb I see now. It does not log to stdout despite me setting The log
|
If this log is complete, it means From this point you are on your own. Problem has to be in |
@bmblb Okay, guess it won't be possible for OSX users to work with this locally. Could you then merge it into main so we can start working on staging where we also run ARM? |
@knobel-dk I would prefer to look into M2 issue. Can you not use this branch for your purposes? |
I am confused: In the previous message:
And now:
You want to borrow my M2 or not? |
I meant to say that you took a shot and couldn't find a problem is reasonable time. Means we will have to, eventually. I am overloaded at the moment so I will ask our team to look into that, some people have M2 machines, but not me. |
Inspired by this PR: #11 which we cannot accept for several reasons: