Open rgejman opened 7 years ago
Checked some of the other threads. Perhaps there is also a p2p issue at my institution:
$ p2p-test
Network tested. Thank you for participating.
{ time: '2017-07-04T14:22:50.001Z',
description: '',
holePunchable: false,
pings:
[ { port: 1130, host: '140.163.254.135' },
{ port: 19324, host: '140.163.254.135' } ] }
$
Sorry for the trouble, and thanks so much for taking the time to investigate and report this.
I've not seen this issue before, but I suspect it might be affecting quite a few users where we thought the problem was network issues (see #97). Because no error is thrown the built in auto-reporter will not catch it, and most users would not be able to do this kind of diagnostic detective work!
UNIX Error Exception: 17
refers to exit code 17
, which is EEXISTS
- a File exists
error [source]. However, ScienceFair isn't the program throwing the error, or we'd catch it, see it inside the developer console, or the app would crash.
The combination of error 17
and keychain issues suggests that perhaps there's some sort of corruption in the keychain. Can you try following the suggestion in this thread and look in the keychain for any 'ghosted' or missing keychains?
Good idea to check the connection. The p2p-test
output shows that UTP won't work for you, but TCP is working, so that shouldn't be preventing sync (though it might be a bit slower).
No ghosted/missing keychains as far as I can tell.
@rgejman OK, one of up to infinity possible reasons eliminated!
Can you please search in Keychain Access for Code For Science
and/or ScienceFair
. Do you get a cert? If you inspect that cert is it trusted?
Can you please search in Keychain Access for Code For Science and/or ScienceFair. Do you get a cert? If you inspect that cert is it trusted?
Yeah I did that but forgot to mention. No certs or keychain entries.
OK, 2/Infinity.
Just checking that the app is installed in /Applications
? If not, please try putting it there and running it.
If it's there: are you familiar with the Terminal? If so could you try running:
SCIENCEFAIR_DEVMODE=true DEBUG='*' open /Applications/ScienceFair.app
And copy-paste any output here?
Just checking that the app is installed in /Applications ? If not, please try putting it there and running it.
Yes.
SCIENCEFAIR_DEVMODE open /Applications/ScienceFair.app
Very familiar with terminal. SCIENCEFAIR_DEVMODE is an env variable but I don't have it defined. What's the expansion of that?
@rgejman sorry that was a typo - hit send too soon! Command updated above...
mski1100:~ gejmanr$ SCIENCEFAIR_DEVMODE=true DEBUG='*' open /Applications/ScienceFair.app
mski1100:~ gejmanr$
No output just a returned command prompt...
hmm, did it open ScienceFair? If so, the developer console should be full of messages.
Assuming that is true, could you leave it for a few minutes to try to start syncing, then right-click in the console and 'save as...', name the file something .txt
, then attach it to a reply?
It opens ScienceFair but no messages appear in the terminal. The dev console is now full of messages and I've attached them here. 2070704 Gejman sciencefair dev console.txt
Thanks @rgejman. I've stripped out stuff that's definitely not relevant.
cc @mafintosh - anything in the following DEBUG
logs that seems problematic?
Just a thought @rgejman - could you try searching the console for parts of the error messages you found there for ScienceFair? I'm wondering if any other apps have logged similar keychain errors. In particular could you search console for:
UNIX error exception: 17
Invalid serial number
Don't see those messages in console or doing some grepping in the various log folders... but I don't even see that messages from ScienceFair unless Console is running when I launch ScienceFair. I'm not sure where those messages are getting logged (perhaps they are intercepted only when Console is on? Is this some kind of Obj-C messaging utility that doesn't log to a file?)
Update: actually now that I've left Console running for a while I see a bunch of messages from other processes for "Unix error exception: 17" including trustd, quicklookd, mdmclient. But only ScienceFair is throwing the invalid serial number error.
@rgejman I think the ScienceFair console errors must have come from the installation, based on the line about unmounting?
No, I can repeatedly generate those errors even without dismounting...
FWIW I tried it on my computer at home and it's a really beautiful app :). Would love to get it working on my work computer.
@rgejman thanks so much! We've got a bunch of fixes for network issues and other things landing v soon. I'll let you know when and if you have time, you could try it out again to see if there's any improvement.
I'm getting the same issue with v1.0.6 on Windows but don't have dev knowledge to know if it's related!
@Abbie2020 I suspect this is network related (see #97) - the next release will include workarounds for all known network issues after we diagnosed them all with the help of users yesterday. Sorry for the trouble - hopefully the next release will work for you :)
I'm on 1.0.4 on Ubuntu 16.04, but hitting a similar issue. Gets stuck on "Syncing initial data" although it has already been used (i.e. it has synced initial data before). strace
output is here: https://gist.github.com/pvanheus/f60b50fc3baa2867e7529b6e5347fb24 Problem persists on 1.0.6.
@pvanheus I think this is the issue solved with the closure of #97 - just need to polish a few things tomorrow and I can release all the fixes :)
Hi there, looks like I have the same issue here on the last Linux Fedora. I'm stuck at
@maxlevesque sorry for the trouble - was this inside a university or corporate network?
hi, don't worry ! That's a very promising initiative you have here, and I'm glad I can help. Indeed, you're right: When I wrote here I was inside my university's network. Now, at home, it starts to sync.
@maxlevesque thanks for the kind words.
If the issue only happens at university, then it will almost certainly be fixed by the next release. It should auto-update. Thanks for your patience :)
wanting to try this, but I too am having this issue. Could be my work VPN though, but I'm going to follow this thread anyhow.
Really hoping this works out, I've been searching everywhere for a way around publication costs.⚔️
Upon first opening the app, the initial sync begins but remains at 0%. There appears to be at least one error in the developer console and some keychain errors in the system console. Thoughts?
![screen shot 2017-07-04 at 9 37 17 am](https://user-images.githubusercontent.com/13392/27833288-1a81c2e4-60a0-11e7-8299-5fe0bffe443a.png)