ERROR: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)

635 views
Skip to first unread message

Kenny Kong

unread,
Mar 18, 2024, 4:43:04 PM3/18/24
to GAM for Google Workspace
I am running gam batch on a txt file with 9 commands that look like:

gam all users print filelist fullquery "fullText contains 'Keyword'" allfields todrive tdtitle "Keyword" filepath

and am getting: 
ERROR: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)

I have done 'set GAM_THREADS=10' to ensure the number of processes is <=10 and gam batch is running 9 processes. Any help is appreciated, thank you!

Kenny Kong

unread,
Mar 18, 2024, 5:58:44 PM3/18/24
to GAM for Google Workspace
Update: Running one line at a time also gives the same error

Right before I started encountering this error, I had run the following two commands:

gam redirect csv ./TeamDrives.csv print teamdrives fields id
gam redirect stdout ./AddAdminOrganizer.txt multiprocess redirect stderr stdout csv ./TeamDrives.csv gam create drivefileacl "~id" user ad...@domain.com role reader

Not sure if there is any relation... thanks again!!!

Jay Lee

unread,
Mar 18, 2024, 5:59:57 PM3/18/24
to google-ap...@googlegroups.com
The error implies connectivity errors or that software/hardware on your network is interfering with GAM's connection to Google.

Jay

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/9dcf645c-034b-4596-b96c-37dea200dadcn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages