-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Restful server started failed #4083
Comments
i get the same erro;my nni version is 2.4;i guess the version problem; so i reinstall the nni to 2.3. the problem has been sovled. |
also getting a similar error on windows ERROR: Restful server start failed!
|
Hi @Munyasya, can you help me to do some test? Since I still can not reproduce it. Add this two lines on c:\users\chmunyas\anaconda3\lib\site-packages\nni_node\common\log.js at line 53: Anything on "Stdout" or "Stderr"? |
Sure, happy to work on it Monday. What time works for you?
Kind regards,
Chris
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Ni Hao ***@***.***>
Sent: Friday, August 20, 2021 7:45:07 AM
To: microsoft/nni ***@***.***>
Cc: Chris Munyasya ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/nni] Restful server started failed (#4083)
Hi @Munyasya<https://github.com/Munyasya>, can you help me to do some test? Since I still can not reproduce it.
Add this two lines on c:\users\chmunyas\anaconda3\lib\site-packages\nni_node\common\log.js at line 53:
console.log(new Date().toLocaleString());
console.log(new Date(new Date().toLocaleString() + ' UTC'));
and launch an experiment.
Anything on "Stdout" or "Stderr"?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#4083 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACOHVE6O3QQCIG3FYQJKFBLT5X2XHANCNFSM5CLL5IXA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>.
|
how to do 555 |
I find 2 points:
|
There is a fix about this issue, #4108. |
I encountered this issue on win10 but not running the mnist. I run a different experiment. nni 2.4 does not work, but when I use nni 2.3 it worked. |
I got 2.4 working so far using the following changes. Change
to
Just remove the Can be found at:
This is on windows 10 and python 3.9. |
Fixed in v2.5. |
Describe the issue:
Restful server started failed when i tried to run the mnist example
Environment:
NNI version:2.4
Training service (local|remote|pai|aml|etc):local
Client OS:ubuntu
Python version:3.8
Is conda/virtualenv/venv used?:?
Is running in Docker?: no
Configuration:
INFO: Starting restful server...
ERROR: Restful server start failed!
INFO: Stdout:
INFO: Stderr:
Failed to create log dir: RangeError: Invalid time value
at Date.toISOString ()
at Logger.log (xx/.local/lib/python3.8/site-packages/nni_node/common/log.js:54:72)
at Logger.error (xx/.local/lib/python3.8/site-packages/nni_node/common/log.js:41:14)
at xx/.local/lib/python3.8/site-packages/nni_node/main.js:109:33
Log message:
Could anyone help me look at this issue? stuck on this for a week
The text was updated successfully, but these errors were encountered: